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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Question on Dll please help

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I have been looking and looking for an example code that would guide or help me create a short program that would anable me to send data to parallel port ( just to turn Data pins high and low on the value that i supply in a dialog box) but just kind find anything, there are few eaxmples but for Lynex, not for VC++ 5.0.

The thing is that i have a program from an early version of C++ that is used with Dos, now the question is that IS IT POSSIABLE TO CREATE A .DLL FROM MY C++ PROGRAM, AND CREATE A GUI IN MY VC++ AND PASS THE VALUE FROM THE DIALOG BOX TO MY .DLL ( ALREADY EXECUTED) TO DO ITS WORK?

PLEASE HELP
 
To use GUI, You should create an GUI - application. From this application (You can make it with class wizard), You can load Your DLL and use it's functions. Another ways are more difficult.
 
thanks for replying,

Because i have a working C program, can i create a DLL in an older version of C-compiler, and be able to pass value to it using GUI program created using VC++5.0
This is possible C to VC++ ??

I have to do this, because VC++ does not support #nclude<dos.h> required for communicating to Serial / Parallel port.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top