View Single Post
  #43 (permalink)  
Old 07-30-2007, 07:39 AM
Karpagarajan Karpagarajan is offline
D-Web Analyst
 
Join Date: Mar 2007
Posts: 299
Karpagarajan is on a distinguished road
Post Re: VC++ Tips & Tricks

WM_MESSAGE => KILL_FOCUS

Hi Buddies,

here I am giving the solution for ActiveX control illegal closing of Internet explorer.

I had found this problem in my activex which was used in web development.
The IE was closed with the Illegal error closing message. When I try to find out the problem in debug mode, I had found that there was stack point in my variable assignment statement in VC++.

The error happens because of the memory variable not been destroyed after the control was destroyed. The memory was not flushed after the activex control unloaded. I just check the flag in activex WM_MESSAGE => KILL_FOCUS.

Hope it may help you in activex coding part.

...........
bye
thanks
__________________
Karpagarajan. R
Necessity is the mother of invention
Reply With Quote