inpout32.dll

V

vertigo

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
Results

(when i give incorrect file name i receive error that non exsting file -
so linker finds library inpout32.dll but something wrong is with that
library).

Does anybody tried that ?
What can i do to get it working ?

Thanx
Michal
 
N

Nikolaos D. Bougalis

vertigo said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top