Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have an scenario where i have an com server which acts as an interface between two applications.
Client is in perl and other application is an .exe which is in C language.
Here the values are sent from client to server and then to the .exe.
Please suggest how to get values from COM server to the .exe.
Here the .exe will be started via COM server
Posted
Updated 1-Jun-11 19:29pm
v2

1 solution

why do you need to pass values to the exe?

Can't you just do what the exe is trying to do in the COM server?
 
Share this answer
 
Comments
explorerC 1-Jun-11 0:33am    
Hi barney,
the requirement is like that ......the exe will be test driver so it shud nt be coupled(i mean independent) from COM server.
barneyman 1-Jun-11 4:43am    
you have an InterProcess Communication problem - if you search on here for IPC you will find some suggestions

(I assume you can't simply pass items on the command line for the exe, or that the COM server is not invoking the exe)
explorerC 1-Jun-11 23:21pm    
Hi barney,
Thanks for ur reply
Here COM server will start the exe through one of its interface
barneyman 2-Jun-11 1:41am    
then you could pass the parameters in the command line, when you CreateProcess or ShellExecute the exe?
explorerC 2-Jun-11 2:12am    
Not only passing the parameters ......i also need to recieve values when the .exe is running and send it to my client. Im creating the COM server using ATL(C++) and client will be in Perl and testdriver.exe will be C code(this contains existing code which we need to test)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900