source and header for Hwinterface32 1 Year, 3 Months ago
Karma: 0  
hi, could you post source and header for Hwinterface32? i found it very useful for obtaining the parallel port address. but it took a while to figure out that i needed to make a header for it including the line:
long __stdcall ReadMemShort(unsigned long addr);
do you know how i should know to use __stdcall rather than __cdecl?
thanks! how come there's no info on your site about who you are? -erik
Re:source and header for Hwinterface32 1 Year, 3 Months ago
Karma: 0  
actually, i spoke too soon. i was hoping to read the addresses for add-on (pci or pcmcia) parallel ports using this method, but the memory at the usual LPT locations (408,40A,40C) shows '0' for add-on cards that i have installed and i know work (i can access them using their addresses listed in the device manager). any idea how to determine their addresses programmatically?