|
|
#1 |
|
Coder
Join Date: Jan 2009
Posts: 3
|
IE Control Handle is not destroyed correctly
With the changes in TCustomEmbeddedWB.CreateWnd/DestroyWnd (that keep the content of the webbrowser after a recreate) it is possible to incorrectly destroy the webbrowser.
Code:
type TWinControlCracker = class(TWinControl); begin TWinControlCracker(EmbeddedWb1).DestroyHandle; // Handle=0 // ... EmbeddedWb1.Free; // Because Handle=0 => WM_DESTROY is not handled correctly end; |
|
|
|
|
|
#2 |
|
Main Developer
Join Date: May 2006
Posts: 911
|
Thanks, I applied the patch
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|