Click here to Skip to main content
15,918,193 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Accessing IE IWebbrowser2 object with toolbar Pin
Martin Koorts17-Jan-05 23:15
Martin Koorts17-Jan-05 23:15 
GeneralRe: Accessing IE IWebbrowser2 object with toolbar Pin
tnguyen44418-Jan-05 5:29
tnguyen44418-Jan-05 5:29 
GeneralRe: Accessing IE IWebbrowser2 object with toolbar Pin
Alex BitRise19-Jan-05 10:27
sussAlex BitRise19-Jan-05 10:27 
GeneralRe: Accessing IE IWebbrowser2 object with toolbar Pin
tnguyen44419-Jan-05 11:33
tnguyen44419-Jan-05 11:33 
Generalinstallers for components Pin
oxygen_fiend17-Jan-05 10:44
oxygen_fiend17-Jan-05 10:44 
GeneralRe: installers for components Pin
Tholkiem17-Jan-05 11:48
Tholkiem17-Jan-05 11:48 
GeneralATL service crashes when being stopped by the system Pin
Cruelty17-Jan-05 5:45
Cruelty17-Jan-05 5:45 
GeneralRe: ATL service crashes when being stopped by the system Pin
Martin Koorts17-Jan-05 6:32
Martin Koorts17-Jan-05 6:32 
Hi
It's a bit weird since m_hServiceStatus is a member of the statically allocated CMyServiceModule class.

Anyway, what I'll try to do is;
see if the m_hServiceStatus is non-NULL when the PostMessageLoop function is entered. If so, RevokeClassObjects or CoUnitialize (or another thread) will be fiddling with the module object.

If you can't find whatever code is setting the m_hServiceStatus to NULL, you may find it's address (say after the service is started) and set a breakpoint that monitors an address (ie. set a Condition to 'when (*(int*) 0x12345678) changes' and 0x12345678 is the address of the m_hServiceStatus data member).

Are you sure it's not CoUnitialize causing the exception? - typically things will go bonkers if you still have outstanding COM references and call CoUninitialize. Could it be another app still has COM references to objects allocated by the ATL service?

Martin


QuestionHow to open webbrowser window Pin
devom16-Jan-05 20:58
devom16-Jan-05 20:58 
AnswerRe: How to open webbrowser window Pin
Tholkiem17-Jan-05 8:28
Tholkiem17-Jan-05 8:28 
AnswerRe: How to open webbrowser window Pin
Alex BitRise19-Jan-05 10:33
sussAlex BitRise19-Jan-05 10:33 
Generalbstr, wchar_t, and code pages Pin
Samsung15-Jan-05 7:05
Samsung15-Jan-05 7:05 
GeneralSTL error Pin
mansour_ahmadian15-Jan-05 1:30
mansour_ahmadian15-Jan-05 1:30 
GeneralRe: STL error Pin
Michael Dunn15-Jan-05 10:29
sitebuilderMichael Dunn15-Jan-05 10:29 
GeneralCustomising Connection Tab in data link dialog Box Pin
Member 1266497613-Jan-05 20:44
Member 1266497613-Jan-05 20:44 
GeneralOnSize : Positioning Static Controls Pin
tnguyen44412-Jan-05 12:40
tnguyen44412-Jan-05 12:40 
GeneralRe: OnSize : Positioning Static Controls Pin
SteveKing14-Jan-05 1:04
SteveKing14-Jan-05 1:04 
GeneralAccessing IwebBrowser2 outside toolbar class Pin
tnguyen44412-Jan-05 12:11
tnguyen44412-Jan-05 12:11 
GeneralSorry! ATL : get_, put_, CString and BSTR Pin
Malcolm Smart11-Jan-05 9:34
Malcolm Smart11-Jan-05 9:34 
GeneralRe: Sorry! ATL : get_, put_, CString and BSTR Pin
Martin Koorts12-Jan-05 1:19
Martin Koorts12-Jan-05 1:19 
GeneralRe: Sorry! ATL : get_, put_, CString and BSTR Pin
Malcolm Smart12-Jan-05 3:14
Malcolm Smart12-Jan-05 3:14 
GeneralRe: Sorry! ATL : get_, put_, CString and BSTR Pin
Martin Koorts12-Jan-05 4:36
Martin Koorts12-Jan-05 4:36 
GeneralRe: Sorry! ATL : get_, put_, CString and BSTR Pin
Malcolm Smart12-Jan-05 5:10
Malcolm Smart12-Jan-05 5:10 
GeneralRe: Sorry! ATL : get_, put_, CString and BSTR Pin
Martin Koorts12-Jan-05 5:17
Martin Koorts12-Jan-05 5:17 
GeneralAdd Event for ATL based ActiveX Control Pin
greekgoddj10-Jan-05 21:43
greekgoddj10-Jan-05 21:43 

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.