468,253 Members | 1,306 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,253 developers. It's quick & easy.

inpout32.dll



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
Nov 17 '05 #1
1 2058
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
Nov 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Nurchi BECHED | last post: by
2 posts views Thread by =?Utf-8?B?Z29sZGVuX2F1?= | last post: by
6 posts views Thread by orked | last post: by
reply views Thread by kermitthefrogpy | last post: by
reply views Thread by zattat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.