lotus



previous page: 7.1: Serial.vxd Source Won't Compile
  
page up: Programming VCOMM FAQ
  
next page: 7.4: No Logical Resources

7.2: Port.inf file




Description

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

7.2: Port.inf file


The Vcomm document mentions a commented sample port INF file in the \DDK\Comm
directory, but no such file exists.

There is a reasonable example file called \Windows95\Inf\msports.inf. Other
examples can be found in the VCOMM mailing list archives.

7.2.1: InfEdit.exe


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

Beware when editing a port INF file with the SDK tool InfEdit.exe. It will
remove double-quote marks that are needed to do things such as:
HKR,,EnumPropPages,0,"serialui.dll,EnumPropPages".


7.3: Non-Standard Ports


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

Port drivers with non-standard logical resources will be assigned to port COM5
or above. These are typically referred to as "non-standard ports."
Nonetheless, they are supported just fine by any decent Win16 or Win32
application.

On non-standard ports, the port.inf file should not specify a "Contention"
resource. By default, VCOMM will perform contention management between Win16
and Win32 applications. (I have found that you can actually use *VCD when
using Windows 3.11 style contention management (although I doubt it actually
does contention management), but that it will not work when using with Windows
95 style.)


 

Continue to:















TOP
previous page: 7.1: Serial.vxd Source Won't Compile
  
page up: Programming VCOMM FAQ
  
next page: 7.4: No Logical Resources