vertigo wrote:
Hello
I want to write something to paraller port. I use windows XP and .NET,
but my program is Win32 Application. First of all i could not find any
sources of inpout32 library, i only found inpout32.dll, but when in
Project/Properties/Linker/Input/AdditionalDependencies i add
inpout32.dll durring linking i receive:
Linking...
inpout32.dll : fatal error LNK1136: invalid or corrupt file
Yes, since a DLL is not a LIB file.
If you only have a DLL you will have to end up using LoadLibrary to
load the DLL, and then GetProcAddress to retrieve a pointer to the
function that you want to call.
-n