Click to See Complete Forum and Search --> : send text from dll to .exe using pipe


dave2k
September 13th, 2005, 04:53 AM
how can this be done?

the dll i am using will be injected into another app as it's used in a hook, and in the getmsgproc function, i would like to send the calling .exe a string everytime it loops.

i think the best way to do this would be using pipes, as the calling app may not be an .exe, but could be a dll.

cheers

NoHero
September 13th, 2005, 05:07 AM
CreateNamedPipe() (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ipc/base/createnamedpipe.asp)
Creating a named pipe server. (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ipc/base/multithreaded_pipe_server.asp)