On Sun, 23 Nov 2003 16:43:17 -0500, Byron A Jeff wrote: > >To reiterate the question: When I load a DLL, the DLL's symbols are visible >to "the main EXE windows App" as you call it. However the reverse is not true: >symbols in the main EXE windows App are not visible to the DLL. How can I make >that happen? > IIRC, typically the address of the function to be 'called back' is passed as a "pointer to function" parameter. The subroutine being called can then use that address whenever it needs to invoke some function in the calling code's scope. I've seen this mechanism implemented on several multi-threaded systems that I've worked with but I can't say for certain that this is allowed with a Windows DLL. Regards, Bob -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads