Skip to content

Commit

Permalink
Remove call to AfxEnableControlContainer
Browse files Browse the repository at this point in the history
Calling this function brings in oledlg.dll which is absent from "Core"
editions of Windows server. And it isn't needed.
  • Loading branch information
randomascii committed Oct 15, 2015
1 parent 311717f commit 916192f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions UIforETW/UIforETW.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,6 @@ BOOL CUIforETWApp::InitInstance()

CWinApp::InitInstance();


AfxEnableControlContainer();

// Create the shell manager, in case the dialog contains
// any shell tree view or shell list view controls.
// Code mysteriously inserted by MFC.
Expand Down

0 comments on commit 916192f

Please sign in to comment.