Volleynerd Knowledge Base |
Volleynerd's Things to Remember
Hot TopicsFirefox Extensions
DVD issues (latest)
Site Feed (Atom) Archives here
|
Tuesday, March 09, 2004
Bug in ATL 7 COM Server CodeThe code in the ATL base class for AtlModule has a bug in the startup sequence.As posted by this MS dude, PreMessageLoop fails to call CoResumeClassObjects( ) when running as a service. There is a missing section of code in the if/else around the m_bDelayShutdown var. Fix, as shown in the posts, override the PreMessageLoop, call the base class, then if m_bDelayShutdown is set, call CoResumeClassObjects( ) yourself. Google Groups: View Thread "Problem with ATL 7.0 service (HELP!)" Google Groups: View Thread "But in ATL CAtlExeModuleT?" Posted 7:23 PM | 0 comments | Permalink ![]()
Comments:
Post a Comment
|