I already answered this once, but here is another way.... A DLL can see a symbol in the main app. It just can't dynamically link to it. If you the Windows API GetProcAddress( HANDLE hModule, "NameOfFunction") you can retrieve the address of the function in the main program. The main program can supply its 'hInstance' as the value for the DLL to use for hModue in calls to GetProcAddress. Bob Ammerman RAm Systems -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics