Click here to Skip to main content
15,895,011 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Application getting stuck because of load ? Pin
Amarelia12-Oct-05 22:17
Amarelia12-Oct-05 22:17 
QuestionRe: Application getting stuck because of load ? Pin
David Crow13-Oct-05 3:05
David Crow13-Oct-05 3:05 
AnswerRe: Application getting stuck because of load ? Pin
Amarelia13-Oct-05 3:09
Amarelia13-Oct-05 3:09 
GeneralRe: Application getting stuck because of load ? Pin
David Crow13-Oct-05 3:38
David Crow13-Oct-05 3:38 
QuestionApplication getting stuck because of load ? Pin
Amarelia12-Oct-05 3:21
Amarelia12-Oct-05 3:21 
QuestionApplication getting stuck because of load ? Pin
Amarelia12-Oct-05 3:21
Amarelia12-Oct-05 3:21 
QuestionCBitmapButton Transparency Pin
NewVCbie12-Oct-05 3:18
sussNewVCbie12-Oct-05 3:18 
QuestionWebBrowser Problem, Please. Pin
GhostEx12-Oct-05 2:47
GhostEx12-Oct-05 2:47 
hi, everybody,

I create a WebBrowser control in a dialog, then i get a pointer to CWebBrowser2 which is named m_pBrowser, after that i use the "navigate2" to open some site. As the pages of the site contains many pictures, so the m_pBrowser alloc memory itself to get and display the HTML page.

but , after i use "m_pBrowser->DestroyWindow()" and "delete m_pBrowser" to destroy the control, m_pBrowser disappeared but the memory which was alloced by itself could not be freed. And the sizeof these memories is large, always larger than 20M.

How could i free these memories manual?Confused | :confused:

Thank all of you very much!!!

PS: i used the codes blow to create a WebBrowser control :
m_pBrowser=new CWebBrowser2;
m_pBrowser->Create("",WS_CHILD|WS_VISIBLE,rt,this,9000);
m_pBrowser->SetRegisterAsBrowser(FALSE);
m_pBrowser->SetSilent(TRUE);
m_pBrowser->ShowWindow(SW_SHOW);

QuestionTerminate sqlservr.exe process Pin
sirtimid12-Oct-05 2:23
sirtimid12-Oct-05 2:23 
QuestionRe: Terminate sqlservr.exe process Pin
David Crow12-Oct-05 3:12
David Crow12-Oct-05 3:12 
AnswerRe: Terminate sqlservr.exe process Pin
sirtimid12-Oct-05 22:02
sirtimid12-Oct-05 22:02 
QuestionRe: Terminate sqlservr.exe process Pin
David Crow13-Oct-05 3:02
David Crow13-Oct-05 3:02 
AnswerRe: Terminate sqlservr.exe process Pin
Tim Smith12-Oct-05 3:54
Tim Smith12-Oct-05 3:54 
QuestionIncrease Text speed in CBanner class ? Pin
Amarelia12-Oct-05 2:13
Amarelia12-Oct-05 2:13 
AnswerRe: Increase Text speed in CBanner class ? Pin
Cedric Moonen12-Oct-05 2:16
Cedric Moonen12-Oct-05 2:16 
GeneralRe: Increase Text speed in CBanner class ? Pin
Amarelia12-Oct-05 2:17
Amarelia12-Oct-05 2:17 
AnswerRe: Increase Text speed in CBanner class ? Pin
toxcct12-Oct-05 2:20
toxcct12-Oct-05 2:20 
QuestionConvert CString to LPCTSTR Pin
karmendra_js12-Oct-05 1:47
karmendra_js12-Oct-05 1:47 
Answer[Msg Deleted] Pin
toxcct12-Oct-05 1:53
toxcct12-Oct-05 1:53 
GeneralRe: Convert CString to LPCTSTR Pin
David Crow12-Oct-05 3:17
David Crow12-Oct-05 3:17 
GeneralRe: [Msg Deleted] Pin
karmendra_js12-Oct-05 4:49
karmendra_js12-Oct-05 4:49 
GeneralRe: [Msg Deleted] Pin
toxcct12-Oct-05 5:06
toxcct12-Oct-05 5:06 
AnswerRe: Convert CString to LPCTSTR Pin
Maximilien12-Oct-05 1:58
Maximilien12-Oct-05 1:58 
GeneralRe: Convert CString to LPCTSTR Pin
toxcct12-Oct-05 2:12
toxcct12-Oct-05 2:12 
GeneralRe: Convert CString to LPCTSTR Pin
Roger Stoltz12-Oct-05 2:26
Roger Stoltz12-Oct-05 2:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.