diff --git a/examples/directx11_example/directx11_example.vcxproj b/examples/directx11_example/directx11_example.vcxproj
index e037bb276..33b910a21 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 6224c020b..79e1361e4 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 a6bea6b8b..52ed03e9b 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 9311d9a38..74c7d2bf1 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 a5c110473..d977395f1 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 d453e2f51..eabdbc348 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