Click here to Skip to main content
15,921,203 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralAccessing IE IWebbrowser2 object with toolbar Pin
tnguyen44417-Jan-05 12:54
tnguyen44417-Jan-05 12:54 
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 
My ATL service crashes when it is being stopped by the system (its startup mode is "automatic"). This happens only if the service is running on Windows XP and is being stopped automatically (not manually).

The source code:

HRESULT CMyServiceModule::PostMessageLoop()<br />
{<br />
    RevokeClassObjects();<br />
    LogEvent(_T("Service stopped"));<br />
    CoUninitialize();<br />
<br />
    SetServiceStatus(SERVICE_STOPPED);   // <--- this line causes the crash<br />
<br />
    return CAtlServiceModuleT<CLegnLicenceServiceModule, IDS_SERVICENAME>::PostMessageLoop();<br />
}


The debugger shows that m_hServiceStatus is NULL.

Thank you in advance for any ideas.
GeneralRe: ATL service crashes when being stopped by the system Pin
Martin Koorts17-Jan-05 6:32
Martin Koorts17-Jan-05 6:32 
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 

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.