HR = pwebbrowser-> get_document (& phtmldoc);
Forget Release PHTMLDOC
Actually cause theloop.run (); directly withdrawn, leading to the release of resources
INT Run (LPTSTR / * LPSTRCMDLINE * / = null, int ncmdshow = sw_showdefault) {cmessageloop theloop; _Module.addMessageloop (& theloop);
CMSGLOOP CMSGLOOP;
INT nret = theloop.run ();
_Module.RemoveMessageloop ();
Return nret;