lotus



previous page: 6.5: Other
  
page up: Programming VCOMM FAQ
  
next page: 7.2: Port.inf file

7.1: Serial.vxd Source Won't Compile




Description

This article is from the Programming VCOMM FAQ, by nelson@desktop.nsc.com (Taed Nelson) with numerous contributions by others.

7.1: Serial.vxd Source Won't Compile


[Contributed by Taed Nelson (nelson@lan.nsc.com).]

The "-coff -DBLD_COFF" must be removed from AFLAGS to get it to compile
successfully. It can be gotten to compile in other ways, but then it won't
link or run correctly.

The new linker must also be used, but it will give a few warnings. The size
is also considerable smaller than the actual Serial.vxd (11K versus 18K). The
resulting VxD seems to run correctly, though.

7.1.1: Yes, it will


[Contributed by Bill Stuart (billstu@microsoft.com).]

I can build the serial sample without editing the makefile. I build on Win95
in a DOS box and set my environment by running:

d:\masm611\binr\new-vars.bat
d:\mstools\setenv d:\mstools d:\msvc20\bin
d:\ddk\ddkenv 32 comm

I also place the linker I want to use in d:\ddk\bin.

7.1.2: You need MASM Version 6.11c


The problem seems to be that it won't work with MASM version 6.11. The update
to 6.11c is allegedly on the Microsoft web site somewhere.

7.1.3: Minor typographical error


[Contributed by Michael Grabelkovsky (michael@slink.co.il).]

A coding error that seems to compile correctly anyway is in serutil.asm. In
the function KickTx, the reference to [esi.pData.QOutMod] should just be
[esi.QOutMod].


 

Continue to:















TOP
previous page: 6.5: Other
  
page up: Programming VCOMM FAQ
  
next page: 7.2: Port.inf file