Click here to Skip to main content
15,894,138 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionClosing a invisible web browser Pin
KongHL1-Jun-06 19:47
KongHL1-Jun-06 19:47 
AnswerRe: Closing a invisible web browser Pin
Benoy Bose1-Jun-06 20:33
Benoy Bose1-Jun-06 20:33 
GeneralRe: Closing a invisible web browser Pin
KongHL1-Jun-06 21:15
KongHL1-Jun-06 21:15 
AnswerRe: Closing a invisible web browser Pin
ThatsAlok1-Jun-06 21:59
ThatsAlok1-Jun-06 21:59 
GeneralRe: Closing a invisible web browser Pin
KongHL1-Jun-06 22:09
KongHL1-Jun-06 22:09 
GeneralRe: Closing a invisible web browser Pin
ThatsAlok1-Jun-06 22:13
ThatsAlok1-Jun-06 22:13 
GeneralRe: Closing a invisible web browser Pin
KongHL1-Jun-06 22:18
KongHL1-Jun-06 22:18 
GeneralRe: Closing a invisible web browser Pin
ThatsAlok1-Jun-06 23:42
ThatsAlok1-Jun-06 23:42 
KongHL wrote:
The problem is i created the browser in a dll (in a thread).. when i tried to terminate the thread, the browser is not closed via the quit() function.
Hence I am trying to close in in the main program.. but this way, i dun have the instance of it.. I need to find it and close it right?

 Why Not have that Variable of Webbrowser as Class member  and pass the current instance of class object to thread, and using that Variable so that you can manipulate the browser from teh Main program..
 don't forget to add CoInitialize(NULL)


"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow


cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
QuestionSDL screen in MFC applcation Pin
Manjunath S1-Jun-06 19:43
Manjunath S1-Jun-06 19:43 
QuestionRe: SDL screen in MFC applcation Pin
Hamid_RT1-Jun-06 20:11
Hamid_RT1-Jun-06 20:11 
AnswerRe: SDL screen in MFC applcation Pin
Maxwell Chen1-Jun-06 20:20
Maxwell Chen1-Jun-06 20:20 
AnswerRe: SDL screen in MFC applcation [modified] Pin
toxcct1-Jun-06 21:45
toxcct1-Jun-06 21:45 
GeneralRe: SDL screen in MFC applcation Pin
ThatsAlok1-Jun-06 21:56
ThatsAlok1-Jun-06 21:56 
GeneralRe: SDL screen in MFC applcation Pin
toxcct1-Jun-06 22:11
toxcct1-Jun-06 22:11 
GeneralRe: SDL screen in MFC applcation Pin
<color>Aljechin 1-Jun-06 22:16
<color>Aljechin 1-Jun-06 22:16 
GeneralRe: SDL screen in MFC applcation Pin
ThatsAlok1-Jun-06 23:45
ThatsAlok1-Jun-06 23:45 
GeneralRe: SDL screen in MFC applcation Pin
ThatsAlok1-Jun-06 23:45
ThatsAlok1-Jun-06 23:45 
GeneralRe: SDL screen in MFC applcation Pin
Maxwell Chen1-Jun-06 23:53
Maxwell Chen1-Jun-06 23:53 
QuestionHTML Encoding Pin
atimpoo1-Jun-06 19:40
atimpoo1-Jun-06 19:40 
QuestionMultiple Inheritance Pin
Scorpio1-Jun-06 19:22
Scorpio1-Jun-06 19:22 
AnswerRe: Multiple Inheritance Pin
Hamid_RT1-Jun-06 19:41
Hamid_RT1-Jun-06 19:41 
QuestionHow to user fopen function? Pin
huutribk20011-Jun-06 19:19
huutribk20011-Jun-06 19:19 
AnswerRe: How to user fopen function? [modified] Pin
kakan1-Jun-06 19:30
professionalkakan1-Jun-06 19:30 
GeneralRe: How to user fopen function? [modified] Pin
huutribk20011-Jun-06 20:09
huutribk20011-Jun-06 20:09 
GeneralRe: How to user fopen function? [modified] Pin
kakan1-Jun-06 20:25
professionalkakan1-Jun-06 20:25 

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.