This article is from the Programming VCOMM FAQ, by firstname.lastname@example.org (Taed Nelson) with numerous contributions by others.
[Contributed by Taed Nelson (email@example.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 (firstname.lastname@example.org).]
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:\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 (email@example.com).]
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