Well the answer that came in the NG was so obvious I didn't even think of it. ON SHUTDOWN * in the Init() and life is wonderful.
>I'm setting up a VFP Automation Server derived from Custom compiled to a .DLL. And instantiating the server from a VC++5 .exe (code below). At the very end of the InitInstance() code below when the oDataServer variable goes out of scope VFP throws up a Cannot Quit FoxPro dialog. After clicking the OK button the server gets a Destroy() message.