472,958 Members | 1,468 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,958 software developers and data experts.

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 2316
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Nurchi BECHED | last post by:
Hello, my dearest respected brother, All! I am writing an application which uses printer port to play with LEDs for now and something else later... I created a button which makes LEDs...
3
by: JRB | last post by:
I need to read from and write to USB and RS-232 ports in a new project I'm working on. I was thinking about using C#, but I'm not sure if there's a way to do this in that language. If not, any...
6
by: Bradley1234 | last post by:
What is the way to send/read bits to the printer port at the hex 3F8-3FF or any other legacy io space?? Does C# include the methods to drive the printer or other ports? tia
4
by: rockford333 | last post by:
I have written a programm for fetching data from parallel port but data is not coming.
2
by: adeebraza | last post by:
Dear Friends, Following is the program for I/O controlling with Visual Basic 6 and Operating Software any one of the Windows 95,98,2K, NT & XP with Driver npout32.dll File. It is very useful for...
4
by: gobblegob | last post by:
Hi guys, Iam after some information/code examples on how to access parallel port from VB6 after a lot of digging i found i need to use inpout32.dll but no luck on anything written in vb6, If...
2
by: =?Utf-8?B?Z29sZGVuX2F1?= | last post by:
Hi, I need to have 2 processes, one is monitorring the parallel port status in every 30 sec at the background and then send the status to the listbox of another window, I am new to vb.net, many...
6
by: orked | last post by:
hi, i make project control by parallel port, to make that i added file called inpout32.dll to system folder in windows folder but when i went to my project and make add reference error message...
1
by: jayvala | last post by:
i am doing write nw my b.e project and in my project i have to work with parallel port so i want to use inout32.dll file but it is not working in c sharp so suggest me to appropriate code for that...
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
2
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.