From 4543a86e486240a00c4395f99606ee14f9d06cf9 Mon Sep 17 00:00:00 2001 From: Akash Mozumdar Date: Sat, 21 Jul 2018 15:11:28 -0700 Subject: [PATCH] give up on c# interop (callbacks too difficult). trying qt instead --- .gitignore | 109 ------------------ GUI.sln | 34 ------ GUI/App.config | 6 - GUI/Form1.Designer.cs | 40 ------- GUI/Form1.cs | 20 ---- GUI/GUI.csproj | 103 ----------------- GUI/Program.cs | 23 ---- GUI/Properties/AssemblyInfo.cs | 36 ------ GUI/Properties/Resources.Designer.cs | 71 ------------ GUI/Properties/Resources.resx | 117 ------------------- GUI/Properties/Settings.Designer.cs | 30 ----- GUI/Properties/Settings.settings | 7 -- HostInterop/AssemblyInfo.cpp | Bin 1476 -> 0 bytes HostInterop/HostInterop.cpp | Bin 4858 -> 0 bytes HostInterop/HostInterop.h | 66 ----------- HostInterop/HostInterop.vcxproj | 147 ------------------------ HostInterop/HostInterop.vcxproj.filters | 26 ----- 17 files changed, 835 deletions(-) delete mode 100644 GUI.sln delete mode 100644 GUI/App.config delete mode 100644 GUI/Form1.Designer.cs delete mode 100644 GUI/Form1.cs delete mode 100644 GUI/GUI.csproj delete mode 100644 GUI/Program.cs delete mode 100644 GUI/Properties/AssemblyInfo.cs delete mode 100644 GUI/Properties/Resources.Designer.cs delete mode 100644 GUI/Properties/Resources.resx delete mode 100644 GUI/Properties/Settings.Designer.cs delete mode 100644 GUI/Properties/Settings.settings delete mode 100644 HostInterop/AssemblyInfo.cpp delete mode 100644 HostInterop/HostInterop.cpp delete mode 100644 HostInterop/HostInterop.h delete mode 100644 HostInterop/HostInterop.vcxproj delete mode 100644 HostInterop/HostInterop.vcxproj.filters diff --git a/.gitignore b/.gitignore index 44eddfa..92576db 100644 --- a/.gitignore +++ b/.gitignore @@ -1,111 +1,2 @@ -# Build Folders (you can keep bin if you'd like, to store dlls and pdbs) Builds/ -[Bb]in/ -[Oo]bj/ - -# mstest test results -TestResults - -## Ignore Visual Studio temporary files, build results, and -## files generated by popular Visual Studio add-ons. - -# User-specific files -*.suo -*.user -*.sln.docstates *.vs/ - -# Build results -[Dd]ebug/ -[Rr]elease/ -x64/ -*_i.c -*_p.c -*.ilk -*.meta -*.obj -*.pch -*.pdb -*.pgc -*.pgd -*.rsp -*.sbr -*.tlb -*.tli -*.tlh -*.tmp -*.log -*.vspscc -*.vssscc -.builds - -# Visual C++ cache files -ipch/ -*.aps -*.ncb -*.opensdf -*.sdf - -# Visual Studio profiler -*.psess -*.vsp -*.vspx - -# Guidance Automation Toolkit -*.gpState - -# ReSharper is a .NET coding add-in -_ReSharper* - -# NCrunch -*.ncrunch* -.*crunch*.local.xml - -# Installshield output folder -[Ee]xpress - -# DocProject is a documentation generator add-in -DocProject/buildhelp/ -DocProject/Help/*.HxT -DocProject/Help/*.HxC -DocProject/Help/*.hhc -DocProject/Help/*.hhk -DocProject/Help/*.hhp -DocProject/Help/Html2 -DocProject/Help/html - -# Click-Once directory -publish - -# Publish Web Output -*.Publish.xml - -# NuGet Packages Directory -packages - -# Windows Azure Build Output -csx -*.build.csdef - -# Windows Store app package directory -AppPackages/ - -# Others -[Bb]in -[Oo]bj -sql -TestResults -[Tt]est[Rr]esult* -*.Cache -ClientBin -[Ss]tyle[Cc]op.* -~$* -*.dbmdl -Generated_Code #added for RIA/Silverlight projects - -# Backup & report files from converting an old project file to a newer -# Visual Studio version. Backup files are not needed, because we have git ;-) -_UpgradeReport_Files/ -Backup*/ -UpgradeLog*.XML -WinForms/AdamsLair.WinForms.xml diff --git a/GUI.sln b/GUI.sln deleted file mode 100644 index 22cde48..0000000 --- a/GUI.sln +++ /dev/null @@ -1,34 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.27703.2042 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GUI", "GUI\GUI.csproj", "{D847D0DC-78F5-4722-8E06-1A124B957353}" - ProjectSection(ProjectDependencies) = postProject - {0DF42D0B-0F87-475E-9E2C-9E32776B2AD5} = {0DF42D0B-0F87-475E-9E2C-9E32776B2AD5} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "HostInterop", "HostInterop\HostInterop.vcxproj", "{0DF42D0B-0F87-475E-9E2C-9E32776B2AD5}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x86 = Debug|x86 - Release|x86 = Release|x86 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {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|x86.ActiveCfg = Release|x86 - {D847D0DC-78F5-4722-8E06-1A124B957353}.Release|x86.Build.0 = Release|x86 - {0DF42D0B-0F87-475E-9E2C-9E32776B2AD5}.Debug|x86.ActiveCfg = Debug|Win32 - {0DF42D0B-0F87-475E-9E2C-9E32776B2AD5}.Debug|x86.Build.0 = Debug|Win32 - {0DF42D0B-0F87-475E-9E2C-9E32776B2AD5}.Release|x86.ActiveCfg = Release|Win32 - {0DF42D0B-0F87-475E-9E2C-9E32776B2AD5}.Release|x86.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {F2661015-ED1B-45F8-8277-D2E3E26A75DA} - EndGlobalSection -EndGlobal diff --git a/GUI/App.config b/GUI/App.config deleted file mode 100644 index 8324aa6..0000000 --- a/GUI/App.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/GUI/Form1.Designer.cs b/GUI/Form1.Designer.cs deleted file mode 100644 index 1442a4c..0000000 --- a/GUI/Form1.Designer.cs +++ /dev/null @@ -1,40 +0,0 @@ -namespace GUI -{ - partial class Form1 - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - this.components = new System.ComponentModel.Container(); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(800, 450); - this.Text = "Form1"; - } - - #endregion - } -} - diff --git a/GUI/Form1.cs b/GUI/Form1.cs deleted file mode 100644 index 39c7c76..0000000 --- a/GUI/Form1.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Drawing; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows.Forms; - -namespace GUI -{ - public partial class Form1 : Form - { - public Form1() - { - InitializeComponent(); - } - } -} diff --git a/GUI/GUI.csproj b/GUI/GUI.csproj deleted file mode 100644 index 16eeb66..0000000 --- a/GUI/GUI.csproj +++ /dev/null @@ -1,103 +0,0 @@ - - - - - Debug - AnyCPU - {D847D0DC-78F5-4722-8E06-1A124B957353} - WinExe - GUI - GUI - v4.6 - 512 - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - true - ..\Builds\Debug\Debug\ - DEBUG;TRACE - full - x86 - prompt - MinimumRecommendedRules.ruleset - true - - - ..\Builds\Release\Release\ - TRACE - true - pdbonly - x86 - prompt - MinimumRecommendedRules.ruleset - true - - - - False - ..\Builds\Debug\Debug\HostInterop.dll - - - - - - - - - - - - - - - - Form - - - Form1.cs - - - - - ResXFileCodeGenerator - Resources.Designer.cs - Designer - - - True - Resources.resx - - - SettingsSingleFileGenerator - Settings.Designer.cs - - - True - Settings.settings - True - - - - - - - \ No newline at end of file diff --git a/GUI/Program.cs b/GUI/Program.cs deleted file mode 100644 index c955516..0000000 --- a/GUI/Program.cs +++ /dev/null @@ -1,23 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -using System.Windows.Forms; - -namespace GUI -{ - static class Program - { - /// - /// The main entry point for the application. - /// - [STAThread] - static void Main() - { - if (!HostInterop.Host.Start()) return; - Application.EnableVisualStyles(); - Application.SetCompatibleTextRenderingDefault(false); - Application.Run(new Form1()); - } - } -} diff --git a/GUI/Properties/AssemblyInfo.cs b/GUI/Properties/AssemblyInfo.cs deleted file mode 100644 index 8c56606..0000000 --- a/GUI/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("GUI")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("GUI")] -[assembly: AssemblyCopyright("Copyright © 2018")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("d847d0dc-78f5-4722-8e06-1a124b957353")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/GUI/Properties/Resources.Designer.cs b/GUI/Properties/Resources.Designer.cs deleted file mode 100644 index e53846d..0000000 --- a/GUI/Properties/Resources.Designer.cs +++ /dev/null @@ -1,71 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace GUI.Properties -{ - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources - { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() - { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager - { - get - { - if ((resourceMan == null)) - { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("GUI.Properties.Resources", typeof(Resources).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture - { - get - { - return resourceCulture; - } - set - { - resourceCulture = value; - } - } - } -} diff --git a/GUI/Properties/Resources.resx b/GUI/Properties/Resources.resx deleted file mode 100644 index af7dbeb..0000000 --- a/GUI/Properties/Resources.resx +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/GUI/Properties/Settings.Designer.cs b/GUI/Properties/Settings.Designer.cs deleted file mode 100644 index 578d709..0000000 --- a/GUI/Properties/Settings.Designer.cs +++ /dev/null @@ -1,30 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace GUI.Properties -{ - - - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] - internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase - { - - private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); - - public static Settings Default - { - get - { - return defaultInstance; - } - } - } -} diff --git a/GUI/Properties/Settings.settings b/GUI/Properties/Settings.settings deleted file mode 100644 index 3964565..0000000 --- a/GUI/Properties/Settings.settings +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/HostInterop/AssemblyInfo.cpp b/HostInterop/AssemblyInfo.cpp deleted file mode 100644 index 58c692ea021eb3efc86bd57283c4df1d12172ace..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1476 zcmcJPPfNo<6vXE&_#Hw|>Y=D7si#s83Oy7py@-c2{bMj`LedKT^6Kwx6dH9)BauMZ zZ1QI2&6~~p+eW2gt+Z6YJyfbWJ2|U}RiFoLd0w+lb**C^sYyjoJ>65gP{KU|Csqc} zUy(M{8iuJf>;Y&gYGa3Apmwf8uRNRjvNfJN$7|RbZ0)cZN`#vQYS*}I{fwOcl%0~R z^6IM#^Zt>!*c+S1l%B1s|7~aN@XYT%xNC<$g~w)iqMZaKF+4-HrW-qiAkn;6#ff?WhaDZ>-DOs?h#ru&CqOV_qox|1k9rx?KXj> zp7-$m{4yX55fcx%E_JR8U6G7t2^hP%%v>5n)-T?En<5YJFQFfsyg$dgsE3}833vs$ z^{2Ii7hN3b>a6C7kD>YpO+YkMJC%0M7UU{nXTIa9A7RKprNYUnid`muPmi7FO%3$} DK>!Gs diff --git a/HostInterop/HostInterop.cpp b/HostInterop/HostInterop.cpp deleted file mode 100644 index 5667ebec5bbf01deff6c09cf4398b403c55d3e1c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4858 zcmb_g+fExX5S`al>OZVNm6l%MovM{k=uK(?kw|@Ol_s#HXeoxnl|RyWf`G*jTKKmB=s-scLq$Rg%=?pt>)nlHb?Vjx8??%5*N*!(3IKt@}R<5BdhlUv}8yi0~ z1AHoEN44GQXQM_VBQ?Xhclh@eQQunNXu!%GJ7cVOU}3V58LPEI-pG3)nkJ&n{R5Th zz@HqpjV}#3hXhYD8(m1|p4L9riQDSm!8eQMmE!4_dd&J9`;<3N#>RaaHRglWbfS0| z>r4@b@k(cnv5wEbfClSt7|#&To!l>wIy9+lr)@LiHc!{E*GKL%MZ-EEvSU=t89ZlX zGstG;iq&Xho&g87HRPAZVo=e;T4Anco~F4smGF@C}#=Zd+ z<5l4NL|Dc41ik-+)mfRHP}W5x^rJwvjd1Q}p)0nMdwLn?G#2V-HLr>+Ip8fyI>rAP^2qGk2!)vGYn>i@b~TzqjhN}U$DpaxlR~oxCQnx${bF^n z_H3k6k$LUq%kSe0M2>sRlwn4Gv%KfHwLY>j0^jr(4=; zXvtQE@r+f@{%2*@d*nEcb$kN9$nc?0w!;kLhg{)%<6DirSZ2v;4?PIkJ)I5mI_LQW zv!4^0$mqA@V!t{V$+{D+S{vvZfBL1Zw_uI-$+T7baYfi#s3NMke2#7c3eQe8xb_p8IP<*M$AQPuTW6-kPpL$6ziuAO7+_W3$Eii-wN~v`H(E`Plu**3@6SRdcK3Y9f0e3zqy2NU-E-a zUb0bDE`#)WS;t*Zqj~q?uHR1&N9RxGs@2WVkx}g};wjMa-V;Y;b8JT6Cdk6u=mAji zjf8K8apXeThh~;lVs$FPSKkIsplitDelay = splitDelay; } - }; - - public ref class TextThread - { - internal: - TextThread(::TextThread* native); - ::TextThread* native; - }; - - public ref class HookParam - { - internal: - HookParam(::HookParam native); - }; - - public ref class ThreadParam - { - - }; -} \ No newline at end of file diff --git a/HostInterop/HostInterop.vcxproj b/HostInterop/HostInterop.vcxproj deleted file mode 100644 index 9bf83ac..0000000 --- a/HostInterop/HostInterop.vcxproj +++ /dev/null @@ -1,147 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - Debug - x64 - - - Release - x64 - - - - 15.0 - {0DF42D0B-0F87-475E-9E2C-9E32776B2AD5} - v4.6 - ManagedCProj - HostInterop - 10.0.17134.0 - - - - DynamicLibrary - true - v141 - true - Unicode - - - DynamicLibrary - false - v141 - true - Unicode - - - DynamicLibrary - true - v141 - true - Unicode - - - DynamicLibrary - false - v141 - true - Unicode - - - - - - - - - - - - - - - - - - - - - true - $(SolutionDir)\Builds\$(Configuration)\$(Configuration)\ - - - true - - - false - $(SolutionDir)\Builds\$(Configuration)\$(Configuration)\ - - - false - - - - Level3 - Disabled - WIN32;_DEBUG;%(PreprocessorDefinitions) - NotUsing - - - ..\Builds\Debug\texthook\vnrhost.lib;%(AdditionalDependencies) - - - - - Level3 - Disabled - _DEBUG;%(PreprocessorDefinitions) - Use - - - - - - - - Level3 - WIN32;NDEBUG;%(PreprocessorDefinitions) - Use - - - - - - - - Level3 - NDEBUG;%(PreprocessorDefinitions) - Use - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/HostInterop/HostInterop.vcxproj.filters b/HostInterop/HostInterop.vcxproj.filters deleted file mode 100644 index 68e44a6..0000000 --- a/HostInterop/HostInterop.vcxproj.filters +++ /dev/null @@ -1,26 +0,0 @@ - - - - - {4FC737F1-C7A5-4376-A066-2A32D752A2FF} - cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx - - - {344ee2d7-eda2-4003-8c18-092ff651deb3} - h;hh;hpp;hxx;hm;inl;inc;ipp;xsd - - - - - Source Files - - - Source Files - - - - - Header Files - - - \ No newline at end of file