From 314c17b4351c7676b92ec627f729fa0bc4157748 Mon Sep 17 00:00:00 2001 From: Akash Mozumdar Date: Fri, 20 Jul 2018 22:10:03 -0400 Subject: [PATCH] fix? hostinterop --- GUI.sln | 4 +-- GUI/GUI.csproj | 26 ++++++++++++++++++++ GUI/HostInterop/HostInterop.cpp | 3 +++ GUI/HostInterop/HostInterop.h | Bin 2098 -> 2234 bytes GUI/HostInterop/HostInterop.vcxproj | 3 ++- GUI/HostInterop/HostInterop.vcxproj.filters | 3 +++ GUI/Program.cs | 2 ++ 7 files changed, 38 insertions(+), 3 deletions(-) create mode 100644 GUI/HostInterop/HostInterop.cpp diff --git a/GUI.sln b/GUI.sln index 8f9287d..b1492e2 100644 --- a/GUI.sln +++ b/GUI.sln @@ -21,8 +21,8 @@ Global {D847D0DC-78F5-4722-8E06-1A124B957353}.Debug|Any CPU.Build.0 = Debug|Any CPU {D847D0DC-78F5-4722-8E06-1A124B957353}.Debug|x64.ActiveCfg = Debug|Any CPU {D847D0DC-78F5-4722-8E06-1A124B957353}.Debug|x64.Build.0 = Debug|Any CPU - {D847D0DC-78F5-4722-8E06-1A124B957353}.Debug|x86.ActiveCfg = Debug|Any CPU - {D847D0DC-78F5-4722-8E06-1A124B957353}.Debug|x86.Build.0 = Debug|Any CPU + {D847D0DC-78F5-4722-8E06-1A124B957353}.Debug|x86.ActiveCfg = Debug|x86 + {D847D0DC-78F5-4722-8E06-1A124B957353}.Debug|x86.Build.0 = Debug|x86 {D847D0DC-78F5-4722-8E06-1A124B957353}.Release|Any CPU.ActiveCfg = Release|Any CPU {D847D0DC-78F5-4722-8E06-1A124B957353}.Release|Any CPU.Build.0 = Release|Any CPU {D847D0DC-78F5-4722-8E06-1A124B957353}.Release|x64.ActiveCfg = Release|Any CPU diff --git a/GUI/GUI.csproj b/GUI/GUI.csproj index 2acd95c..fdc7587 100644 --- a/GUI/GUI.csproj +++ b/GUI/GUI.csproj @@ -31,6 +31,26 @@ prompt 4 + + true + bin\x86\Debug\ + DEBUG;TRACE + full + x86 + prompt + MinimumRecommendedRules.ruleset + true + + + bin\x86\Release\ + TRACE + true + pdbonly + x86 + prompt + MinimumRecommendedRules.ruleset + true + @@ -75,5 +95,11 @@ + + + {c3534056-72b3-4651-b69c-6e428f675861} + HostInterop + + \ No newline at end of file diff --git a/GUI/HostInterop/HostInterop.cpp b/GUI/HostInterop/HostInterop.cpp new file mode 100644 index 0000000..e582dec --- /dev/null +++ b/GUI/HostInterop/HostInterop.cpp @@ -0,0 +1,3 @@ +#include "stdafx.h" + +#include "HostInterop.h" \ No newline at end of file diff --git a/GUI/HostInterop/HostInterop.h b/GUI/HostInterop/HostInterop.h index 617c60f162c2ba46a86fc6549acbfabf96fa4dfa..f244d87865daf8bafd5607454428dc462cdc66ee 100644 GIT binary patch delta 263 zcmdlauuE{m2}a&xh7yKEAkJh+W>A=XoY5Xlgq0}}O(c}bSx}!rp8-|pbf#49Jg7-! z45^dZnQhVZIWtd16S>Yj6^lvPEVt3rxw3v_2HH5el3jgr44V*&JqOusCvRg@0n6WH jGe?uNo;-n(WpWg|0#sg_9prK=2CK;nSwttVVQ&KfF~vX1 delta 133 zcmdlbxJh8c3C79S80{u2F$GL+U~-y#g(-zQlOd0xgdvroh#_yXGqdgFKISQt4Opgd zCNbm#VGe`BUse - + ..\..\CMakeBuilds\build\x86-Debug\texthook\vnrhost.lib;%(AdditionalDependencies) @@ -138,6 +138,7 @@ + Create Create diff --git a/GUI/HostInterop/HostInterop.vcxproj.filters b/GUI/HostInterop/HostInterop.vcxproj.filters index 3e0ae9a..de404d0 100644 --- a/GUI/HostInterop/HostInterop.vcxproj.filters +++ b/GUI/HostInterop/HostInterop.vcxproj.filters @@ -25,5 +25,8 @@ Source Files + + Source Files + \ No newline at end of file diff --git a/GUI/Program.cs b/GUI/Program.cs index 17aaf57..7179701 100644 --- a/GUI/Program.cs +++ b/GUI/Program.cs @@ -3,6 +3,7 @@ using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; +using HostInterop; namespace GUI { @@ -14,6 +15,7 @@ namespace GUI [STAThread] static void Main() { + if (!Host.Start()) return; Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Form1());