-
DLL problem
i have a DLL, which has a method/function senddata...in this method it raise a event datafound( data)...
now what i want to do: i have 2 exe..application
one is sending some data to the DLL by function senddata
second exe is using that datafound(data) event....and displaying that data.
but the problem is when i send the data from first exe...DLL didnt raise event on second exe....why?
anand
-
each exe has a seperate instance of the dll in its address space
you cant pass data across processes address space liek this
there are some ways to pass data between program instances
these include DDE, ports programming, mailslots, pipes, and sendmessage+subclassing code, or by simply sharing a public resource like files or registry settings
do a search for "interprocess communication"