Hi.
i want to know how can i execute written pascal source by writing program with C++
i mean i need source code of program in C++ that can execute external pascal programs
if you have any information about it please inform me...or Send me an E-mail to imipod2@yahoo.com
im waiting for your answers!!!
How can i execute Pascal source code by Visual C++?
you can create a dll file in pascal and then load and execute it from C/C++.
or you could write a COM object in pascal/delphi and load it.
or you could create an EXE file in pascal and spawn it from your C++ program.
but to mix the source is not possible.
Reply:Get yourself a copy of Borland Turbo Pascal for Windows and save yourself some grief.
Reply:You cant. If you can take different source codes and compile it in different languages, then life would be much easier. Everyone would then take all their old programs, decompile it, compile it into java and no one would need to learn new languages anymore.
Especially, C++ is object oriented, and you could basically come up with your own language using Class.
Besides, an external pascal program...wouldnt that be self sufficient?
Reply:C programming uses different structure and command set from pascal, to run pascal source code you will need a pascal compiler.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment