Re: [Help me!!] Why isn't ActiveX's destructor in PIE, WM2003?
From: SangChul Kang (vpfmak_at_hotmail.com)
Date: 05/06/04
- Next message: The Fat Controller: "Re: Create/Read/Write a file in Javascript in an html file"
- Previous message: sebanwrt: "Create/Read/Write a file in Javascript in an html file"
- In reply to: David Gonzales [MS]: "Re: [Help me!!] Why isn't ActiveX's destructor in PIE, WM2003?"
- Messages sorted by: [ date ] [ thread ]
Date: 6 May 2004 02:49:18 -0700
"David Gonzales [MS]" <dgonzal@online.microsoft.com> wrote in message news:<#DR27EuLEHA.140@TK2MSFTNGP09.phx.gbl>...
> This seems to be a problem with Pocket IE on Pocket PC 2003. Suggestion:
> explicitly call Release on the interface. You may have to handle the
> onUnload event for the webpage and in the event handler call Release thru
> script or call an additional method on the interface which just calls
> Release. You can use User Agent string for identifying the browser version
> and so only do this on Pocket PC 2003.
>
> David
> ------
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> "SangChul Kang" <vpfmak@hotmail.com> wrote in message
> news:d1652842.0404270642.2ddc5df3@posting.google.com...
> > I made simple ActiveX using eVC 4.0 and implement IObjectSafetyImpl.
> > It works fine. It displays picture on PIE(Pocket Internet Explorer).
> > Good.
> >
> > But the problem was happend when I pressed backward button of PIE. The
> > destructor of my ActiveX control was not called. Why?? I tried to find
> > out the reason, after all the reason why the destructor was not called
> > is that m_dwRef of CComObjectRootEx class is not set to 0.
> >
> > Why does this problem occur? I really need destructor, how can I make
> > PIE call the destructor?
Thanks. David.
Your suggestion was really helpful to me.
- Next message: The Fat Controller: "Re: Create/Read/Write a file in Javascript in an html file"
- Previous message: sebanwrt: "Create/Read/Write a file in Javascript in an html file"
- In reply to: David Gonzales [MS]: "Re: [Help me!!] Why isn't ActiveX's destructor in PIE, WM2003?"
- Messages sorted by: [ date ] [ thread ]