diff --git a/examples/directx11_example/directx11_example.vcxproj b/examples/directx11_example/directx11_example.vcxproj
index e037bb27..33b910a2 100644
--- a/examples/directx11_example/directx11_example.vcxproj
+++ b/examples/directx11_example/directx11_example.vcxproj
@@ -47,6 +47,7 @@
true
d3d11.lib;d3dcompiler.lib;dxgi.lib;imm32.lib;%(AdditionalDependencies)
$(DXSDK_DIR)/Lib/x86;%(AdditionalLibraryDirectories)
+ Console
@@ -63,6 +64,7 @@
true
d3d11.lib;d3dcompiler.lib;dxgi.lib;imm32.lib;%(AdditionalDependencies)
$(DXSDK_DIR)/Lib/x86;%(AdditionalLibraryDirectories)
+ Console
diff --git a/examples/directx11_example/main.cpp b/examples/directx11_example/main.cpp
index 6224c020..79e1361e 100644
--- a/examples/directx11_example/main.cpp
+++ b/examples/directx11_example/main.cpp
@@ -514,7 +514,7 @@ void UpdateImGui()
ImGui::NewFrame();
}
-int WINAPI wWinMain(HINSTANCE hInst, HINSTANCE, LPWSTR, int)
+int main(int argc, char** argv)
{
// Register the window class
WNDCLASSEX wc = { sizeof(WNDCLASSEX), CS_CLASSDC, WndProc, 0L, 0L, GetModuleHandle(NULL), NULL, LoadCursor(NULL, IDC_ARROW), NULL, NULL, L"ImGui Example", NULL };
diff --git a/examples/directx9_example/directx9_example.vcxproj b/examples/directx9_example/directx9_example.vcxproj
index a6bea6b8..52ed03e9 100644
--- a/examples/directx9_example/directx9_example.vcxproj
+++ b/examples/directx9_example/directx9_example.vcxproj
@@ -47,8 +47,7 @@
true
$(DXSDK_DIR)Lib\x86;%(AdditionalLibraryDirectories)
d3d9.lib;d3dx9d.lib;dxerr.lib;dxguid.lib;imm32.lib;%(AdditionalDependencies)
-
-
+ Console
@@ -65,8 +64,7 @@
true
$(DXSDK_DIR)Lib\x86;%(AdditionalLibraryDirectories)
d3d9.lib;d3dx9d.lib;dxerr.lib;dxguid.lib;imm32.lib;%(AdditionalDependencies)
-
-
+ Console
diff --git a/examples/directx9_example/main.cpp b/examples/directx9_example/main.cpp
index 9311d9a3..74c7d2bf 100644
--- a/examples/directx9_example/main.cpp
+++ b/examples/directx9_example/main.cpp
@@ -280,7 +280,7 @@ void UpdateImGui()
ImGui::NewFrame();
}
-int WINAPI wWinMain(HINSTANCE hInst, HINSTANCE, LPWSTR, int)
+int main(int argc, char** argv)
{
// Register the window class
WNDCLASSEX wc = { sizeof(WNDCLASSEX), CS_CLASSDC, WndProc, 0L, 0L, GetModuleHandle(NULL), NULL, LoadCursor(NULL, IDC_ARROW), NULL, NULL, L"ImGui Example", NULL };
diff --git a/examples/opengl3_example/opengl3_example.vcxproj b/examples/opengl3_example/opengl3_example.vcxproj
index a5c11047..d977395f 100644
--- a/examples/opengl3_example/opengl3_example.vcxproj
+++ b/examples/opengl3_example/opengl3_example.vcxproj
@@ -47,7 +47,7 @@
true
$(ProjectDir)..\opengl_example\glfw\lib-msvc100;$(ProjectDir)..\opengl_example\glew\lib\Release\Win32;%(AdditionalLibraryDirectories)
opengl32.lib;imm32.lib;glfw3.lib;glew32s.lib;%(AdditionalDependencies)
- NotSet
+ Console
@@ -64,7 +64,7 @@
true
$(ProjectDir)..\opengl_example\glfw\lib-msvc100;$(ProjectDir)..\opengl_example\glew\lib\Release\Win32;%(AdditionalLibraryDirectories)
opengl32.lib;imm32.lib;glfw3.lib;glew32s.lib;%(AdditionalDependencies)
- NotSet
+ Console
diff --git a/examples/opengl_example/opengl_example.vcxproj b/examples/opengl_example/opengl_example.vcxproj
index d453e2f5..eabdbc34 100644
--- a/examples/opengl_example/opengl_example.vcxproj
+++ b/examples/opengl_example/opengl_example.vcxproj
@@ -47,7 +47,7 @@
true
$(ProjectDir)\glfw\lib-msvc100;$(ProjectDir)\glew\lib\Release\Win32;%(AdditionalLibraryDirectories)
opengl32.lib;imm32.lib;glfw3.lib;glew32s.lib;%(AdditionalDependencies)
- NotSet
+ Console
@@ -64,7 +64,7 @@
true
$(ProjectDir)\glfw\lib-msvc100;$(ProjectDir)\glew\lib\Release\Win32;%(AdditionalLibraryDirectories)
opengl32.lib;imm32.lib;glfw3.lib;glew32s.lib;%(AdditionalDependencies)
- NotSet
+ Console