Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP8 and COM+. It's sad...
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00807913
Message ID:
00808473
Views:
11
Hi Alexander,

Now in VFP8 when a object is free of reference he is destroyed ( that was not true every situation in VFP6 or VFP7. )

Don't add a small delay in object destructor, but simply avoid usage of code like loObject.Release() with RELEASE THIS as code in the method . Remove all reference to the object you want to destroy and he will gone without crash.

The changes I do in my project are
- Using native collection class
- Using BINDEVENT if possible
- Avoid programmatic release code


Marcel

>Hi Marcel,
>
>If possible, could you provide any info regarding the changes in your project? It might be helpful for us. I heard about a couple of shaman spells (like adding small delay in object destructor), but may be you know any real solution.
>
>>The move to VFP8 was also a C0000005 festival. Just recompile in VFP8 a project running ok in VFP6.
>>It's take me one week the to stabilize my project mostly by rewritting my object collections.
>>The way VFP8 handles object creation/destruction seem's different.
>>
>>Marcel
>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform