Results 1 to 2 of 2

Thread: DLL problem

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2001
    Location
    india
    Posts
    108

    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
    Anand Thakur

  2. #2
    Addicted Member
    Join Date
    Feb 2003
    Posts
    237
    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"
    Free Code, papers, tools, and more

    http://sandsprite.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width