|
-
April 7th, 1999, 06:11 AM
#1
calling other EXE's function from one EXE
Hi,
In my program i am trying to call a function that has been defined in another EXE. Is this possible? If yes, could you please explain the procedure.
Can anybody please help me out.
Thank you
Dini
-
April 7th, 1999, 09:16 AM
#2
Re: calling other EXE's function from one EXE
If other exe has automation support e.g. winword.exe, excel.exe you can use #import directive to use functions in that exe.
Please see more information on Automation docs.
-
April 7th, 1999, 10:00 AM
#3
Re: calling other EXE's function from one EXE
In addition to the automation approach described above, you can also simply export functions, classes, etc from an .exe using dllexport!! When you recompile the the project you will get an exp file and a lib file. You can then link with that lib file and use the exported function (strange but useful!)
-
April 14th, 1999, 09:53 AM
#4
Re: calling other EXE's function from one EXE
for example within the code if you write
system("c:\\windows\\file_name.exe");
that file_name.exe can be run
zafer
[email protected]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|