git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14604
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
#include "WebFrame.h"
#include <commctrl.h>
+#include <objbase.h>
#define MAX_LOADSTRING 100
#define URLBAR_HEIGHT 24
if (!InitInstance (hInstance, nCmdShow))
return FALSE;
+ // Init COM
+ CoInitialize(NULL);
+
hURLBarWnd = CreateWindow(L"EDIT", 0,
WS_CHILD | WS_VISIBLE | WS_BORDER | ES_LEFT | ES_AUTOVSCROLL,
0, 0, 0, 0,
_CrtDumpMemoryLeaks();
#endif
+ // Shut down COM.
+ CoUninitialize();
+
return (int) msg.wParam;
}