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

Running exe files within a Delphi program

Status
Not open for further replies.

Cenkovic

Technical User
Jan 6, 2004
3
CZ
Dear programmers,
does anybody have an utility which will be able to write a program having an exe file within a Delphi program? The reason why is as follows. We are developing a software which will pick up the measurement data through the AD convertor. We have the utility for this AD convertor written in Borland Pascal 7. We are helpless to transform it to the Delphi code, because it is not easy (I don't know, maybe impossible) to acces the ports (COM1, COM2). The Pascal program in accesing the ports is using Assembler. So we are trying to run the compiled file with Borland Pascal 7 under the Delphi 7. Thank you in advance for your help.
 
If by COM1 and COM2 you mean the serial com ports, there are several Delphi components that will allow you to do this, I use one called CPortLib.

Also you should be able to emmbed the same assembler commands into the delphi code, what you cannot easily do is simulate the 'Outport' command. as would be required to access say an A/D Card in the PC.









Steve:
A Delphi Programmer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top