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

what's the best to send values from DLL to EXE ?

Status
Not open for further replies.

xjazz

Programmer
Jan 11, 2005
21
US
actually, i am trying to this:
my client will send some info to my server using SOAP.
there is a DLL in my server which receive and handle the infos sent by the client.

however, i need this DLL be able to send those infos(or values) to a running EXE program, so that this EXE program can base on the infos to execute different tasks.
because the program need to communicate with end user. so can't just let DLL do the operations. have to send to EXE and let EXE and user decide what to do next.

so what is the best way to do that?
I appreciate any input.

thanks in advance
jazz

 
I'm lost. How many programs are involved here?

YourClient.exe
YourServer.exe
YourDLL.dll (running in-process with YourServer.exe)
UserInterface.exe <-- needs data from YourClient.exe

Is that right?
 
I'm not sure whether you have written the exe program or not. If you haven't, the way to send values to the exe is defined by the exe, and you'll have to look there. If you have, you might consider writing the program as an ActiveX EXE. In that way, you can define properties to it. Then, you write a client program that instantiates both your dll and your exe. To pass data from the dll to the exe, simply set a property in the exe object to whatever data value you're trying to pass.

HTH

Bob
 
Sheco:
you are right.
there are four programs.
Client.exe, (send SOAP request)
Server.exe(actually is IIS or other web server)
Server.dll(to listen SOAP request)
User.exe(communicate with user base on the info received)

BobRodes
could you give me more hints?
thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top