Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi all, I'm programming an inter

Status
Not open for further replies.

Bertv100

Programmer
Apr 27, 2000
204
BE
Hi all,

I'm programming an interface board, connected with the PC using the parallell (printer, LPT1) connection. I have to choose between using a DLL or toggle the ports directly (I know which port adresses are used). Which way is best (provided that I want to keep my application platform independent)?
How can I include a DLL in a C++ program?
OR
How do I toggle ports in C++? Is it OS dependent? Do you need certain privileges to do this under Linux?


Regards,
Bert Vingerhoets
vingerhoetsbert@hotmail.com
Don't worry what people think about you. They're too busy wondering what you think about them.
 
If it was only the ports, I would certainly use Pascal (on an old DOS PC, that is, because I can't get access to ports on a winxp running machine). However, I also need multithreading and a GUI (I was thinking of wxWindows).


Regards,
Bert Vingerhoets
vingerhoetsbert@hotmail.com
Don't worry what people think about you. They're too busy wondering what you think about them.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top