Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP7 crashes on shutdown w/certain activex dlls
Message
 
To
29/09/2002 21:44:51
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00705395
Message ID:
00705754
Views:
8
>Yes. Everything is explicitly released before the QUIT is executed.
>
>Any other thoughts?

You might want to make sure you're releasing them in the opposite order that you instanciated them. For example:
This.oSample = CreateObject("MyObject")
This.oTest = CreateObject("AnotherObject")
This.oOneMore = CreateObject("ThirdObject")

* In the Destroy method(), or someplace similar

This.oOneMore = .NULL.
This.oTest = .NULL.
This.oSample = .NULL.
You will also want to make sure you do this for Crystal Reports (eg. release the CR page reference, then the App reference).
-Paul

RCS Solutions, Inc.
Blog
Twitter
Previous
Reply
Map
View

Click here to load this message in the networking platform