Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Generals/Code/Main/WinMain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -841,7 +841,7 @@ Int APIENTRY WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,


// BGC - initialize COM
// OleInitialize(NULL);
OleInitialize(NULL);



Expand Down Expand Up @@ -887,7 +887,7 @@ Int APIENTRY WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,
shutdownMemoryManager();

// BGC - shut down COM
// OleUninitialize();
OleUninitialize();
}
catch (...)
{
Expand Down
4 changes: 2 additions & 2 deletions GeneralsMD/Code/Main/WinMain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,7 @@ Int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,


// BGC - initialize COM
// OleInitialize(NULL);
OleInitialize(NULL);



Expand Down Expand Up @@ -989,7 +989,7 @@ Int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
shutdownMemoryManager();

// BGC - shut down COM
// OleUninitialize();
OleUninitialize();
}
catch (...)
{
Expand Down
Loading