Skip to content

Enable COM initialization and shutdown in WinMain - #207

Open
seer-by-sentry[bot] wants to merge 1 commit into
mainfrom
seer/enable-com-init
Open

Enable COM initialization and shutdown in WinMain#207
seer-by-sentry[bot] wants to merge 1 commit into
mainfrom
seer/enable-com-init

Conversation

@seer-by-sentry

@seer-by-sentry seer-by-sentry Bot commented Jan 3, 2026

Copy link
Copy Markdown

Fixes CLIENT-1H2. The issue was that: ATL module initialization was attempted without prior thread-level COM initialization via OleInitialize, causing a fatal division by zero in CComProcess::InitClsidServices.

  • Explicitly enable COM initialization (OleInitialize) and shutdown (OleUninitialize) in WinMain.cpp for both Generals and GeneralsMD.

This fix was generated by Seer in Sentry, triggered automatically. 👁️ Run ID: 8130261

Not quite right? Click here to continue debugging with Seer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants