start implementing hostinterop

This commit is contained in:
Akash Mozumdar 2018-07-21 01:08:55 -07:00
parent 224af91806
commit af19b4e481
3 changed files with 2 additions and 1 deletions

View File

@ -14,6 +14,7 @@ namespace GUI
[STAThread] [STAThread]
static void Main() static void Main()
{ {
if (!HostInterop.Host.Start()) return;
Application.EnableVisualStyles(); Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false); Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1()); Application.Run(new Form1());

Binary file not shown.

View File

@ -95,7 +95,7 @@
<PrecompiledHeader>Use</PrecompiledHeader> <PrecompiledHeader>Use</PrecompiledHeader>
</ClCompile> </ClCompile>
<Link> <Link>
<AdditionalDependencies /> <AdditionalDependencies>..\Builds\Debug\texthook\vnrhost.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link> </Link>
</ItemDefinitionGroup> </ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">