atl object not unloading 
Author Message
 atl object not unloading

My atl control is loading in IE ok. When I then browse
over to a new website, the control still redraws itself.
I'm wondering if anyone has ever seen this before.

InPlaceDeactivate is being called but FinalRelease is not.
On the new page my OnDraw function is still being called.

any help?
thanks,
Bill



Mon, 29 Mar 2004 00:03:13 GMT  
 atl object not unloading
Make a call to the parent at the end of your
InPlaceDeactivate():

IOleInPlaceObjectWindowlessImpl< type >::InPlaceDeactivate
();

Quote:
>-----Original Message-----
>My atl control is loading in IE ok. When I then browse
>over to a new website, the control still redraws itself.
>I'm wondering if anyone has ever seen this before.

>InPlaceDeactivate is being called but FinalRelease is
not.
>On the new page my OnDraw function is still being called.

>any help?
>thanks,
>Bill
>.



Mon, 29 Mar 2004 02:14:35 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Exception fired during DLL unload in ATL com object

2. HOWTO set the property type of an ATL object to be another ATL object

3. Using a ATL Object in another ATL Object

4. Using a ATL Object in another ATL Object

5. Interface Not supported - "Custom" ATL Object

6. ATL objects not registering

7. FinalRelease not called on my ATL generated object !

8. ATL Objects Are Not Thread-safe?

9. ATL Object Wizard not available

10. Can not see public variable of ATL object from another class

11. atl object with variant array [out] parameter do not work for vbscript

12. Testing My ATL COM Objects Not Working

 

 
Powered by phpBB® Forum Software