Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE Server and Cannot Quit FoxPro
Message
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00104956
Message ID:
00104982
Views:
22
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.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform