Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ExtractIcon or ExtractAssociatedIcon...
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00653833
Message ID:
00657339
Views:
48
>>>Of course, in VFP6 no way to call Release() directly. So we need to find a function for releasing of object. I wanted to play with ReleaseStgMedium() and *pUnkForRelease member in STGMEDIUM structure. I found also a function (forgot it's name), which requires another interface, but calls Release() in all cases, even when a passed interface of wrong type. But I haven't tryed it so far.
>>
>>Please keep me up-to-date on this.
>
>I have got two new ideas. First is UlRelease() function in mapi32.dll. The second is VariantClear() in oleaut32.dll with VT_DISPATCH variant type. Last way seems to be the most appropriate.

I thought of this. Allocate heap space for the picture, then destroy the heap. How about that?
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform