From 6885a4c8abc437e1494c1238fed9797a61247c2c Mon Sep 17 00:00:00 2001 From: pizzaboxer <41478239+pizzaboxer@users.noreply.github.com> Date: Thu, 20 Jan 2022 12:30:37 +0000 Subject: [PATCH] Initial Code --- .gitignore | 4 + .../PolygonClientUtilities.vcxproj | 169 ++++++++++++++++++ .../PolygonClientUtilities.vcxproj.filters | 33 ++++ .../PolygonClientUtilities.vcxproj.user | 4 + PolygonClientUtilities/dllmain.cpp | 19 ++ PolygonClientUtilities/framework.h | 5 + PolygonClientUtilities/pch.cpp | 5 + PolygonClientUtilities/pch.h | 13 ++ PolygonDLLUtilities.sln | 31 ++++ 9 files changed, 283 insertions(+) create mode 100644 PolygonClientUtilities/PolygonClientUtilities.vcxproj create mode 100644 PolygonClientUtilities/PolygonClientUtilities.vcxproj.filters create mode 100644 PolygonClientUtilities/PolygonClientUtilities.vcxproj.user create mode 100644 PolygonClientUtilities/dllmain.cpp create mode 100644 PolygonClientUtilities/framework.h create mode 100644 PolygonClientUtilities/pch.cpp create mode 100644 PolygonClientUtilities/pch.h create mode 100644 PolygonDLLUtilities.sln diff --git a/.gitignore b/.gitignore index 259148f..3feb274 100644 --- a/.gitignore +++ b/.gitignore @@ -30,3 +30,7 @@ *.exe *.out *.app + +.vs/* +Debug/* +Release/* \ No newline at end of file diff --git a/PolygonClientUtilities/PolygonClientUtilities.vcxproj b/PolygonClientUtilities/PolygonClientUtilities.vcxproj new file mode 100644 index 0000000..1a72029 --- /dev/null +++ b/PolygonClientUtilities/PolygonClientUtilities.vcxproj @@ -0,0 +1,169 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + 16.0 + Win32Proj + {9d232642-fb2f-43dc-b0ac-c56e3b691233} + PolygonClientUtilities + 10.0 + + + + DynamicLibrary + true + v143 + Unicode + + + DynamicLibrary + false + v143 + true + Unicode + + + DynamicLibrary + true + v143 + Unicode + + + DynamicLibrary + false + v143 + true + Unicode + + + + + + + + + + + + + + + + + + + + + true + + + false + + + true + + + false + + + + Level3 + true + WIN32;_DEBUG;POLYGONCLIENTUTILITIES_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) + true + Use + pch.h + + + Windows + true + false + + + + + Level3 + true + true + true + WIN32;NDEBUG;POLYGONCLIENTUTILITIES_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) + true + Use + pch.h + + + Windows + true + true + true + false + + + + + Level3 + true + _DEBUG;POLYGONCLIENTUTILITIES_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) + true + Use + pch.h + + + Windows + true + false + + + + + Level3 + true + true + true + NDEBUG;POLYGONCLIENTUTILITIES_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) + true + Use + pch.h + + + Windows + true + true + true + false + + + + + + + + + + Create + Create + Create + Create + + + + + + \ No newline at end of file diff --git a/PolygonClientUtilities/PolygonClientUtilities.vcxproj.filters b/PolygonClientUtilities/PolygonClientUtilities.vcxproj.filters new file mode 100644 index 0000000..1e57c7b --- /dev/null +++ b/PolygonClientUtilities/PolygonClientUtilities.vcxproj.filters @@ -0,0 +1,33 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + + + Header Files + + + Header Files + + + + + Source Files + + + Source Files + + + \ No newline at end of file diff --git a/PolygonClientUtilities/PolygonClientUtilities.vcxproj.user b/PolygonClientUtilities/PolygonClientUtilities.vcxproj.user new file mode 100644 index 0000000..88a5509 --- /dev/null +++ b/PolygonClientUtilities/PolygonClientUtilities.vcxproj.user @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/PolygonClientUtilities/dllmain.cpp b/PolygonClientUtilities/dllmain.cpp new file mode 100644 index 0000000..f266597 --- /dev/null +++ b/PolygonClientUtilities/dllmain.cpp @@ -0,0 +1,19 @@ +// dllmain.cpp : Defines the entry point for the DLL application. +#include "pch.h" + +BOOL APIENTRY DllMain( HMODULE hModule, + DWORD ul_reason_for_call, + LPVOID lpReserved + ) +{ + switch (ul_reason_for_call) + { + case DLL_PROCESS_ATTACH: + case DLL_THREAD_ATTACH: + case DLL_THREAD_DETACH: + case DLL_PROCESS_DETACH: + break; + } + return TRUE; +} + diff --git a/PolygonClientUtilities/framework.h b/PolygonClientUtilities/framework.h new file mode 100644 index 0000000..54b83e9 --- /dev/null +++ b/PolygonClientUtilities/framework.h @@ -0,0 +1,5 @@ +#pragma once + +#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers +// Windows Header Files +#include diff --git a/PolygonClientUtilities/pch.cpp b/PolygonClientUtilities/pch.cpp new file mode 100644 index 0000000..64b7eef --- /dev/null +++ b/PolygonClientUtilities/pch.cpp @@ -0,0 +1,5 @@ +// pch.cpp: source file corresponding to the pre-compiled header + +#include "pch.h" + +// When you are using pre-compiled headers, this source file is necessary for compilation to succeed. diff --git a/PolygonClientUtilities/pch.h b/PolygonClientUtilities/pch.h new file mode 100644 index 0000000..885d5d6 --- /dev/null +++ b/PolygonClientUtilities/pch.h @@ -0,0 +1,13 @@ +// pch.h: This is a precompiled header file. +// Files listed below are compiled only once, improving build performance for future builds. +// This also affects IntelliSense performance, including code completion and many code browsing features. +// However, files listed here are ALL re-compiled if any one of them is updated between builds. +// Do not add files here that you will be updating frequently as this negates the performance advantage. + +#ifndef PCH_H +#define PCH_H + +// add headers that you want to pre-compile here +#include "framework.h" + +#endif //PCH_H diff --git a/PolygonDLLUtilities.sln b/PolygonDLLUtilities.sln new file mode 100644 index 0000000..6cd67d6 --- /dev/null +++ b/PolygonDLLUtilities.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32014.148 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PolygonClientUtilities", "PolygonClientUtilities\PolygonClientUtilities.vcxproj", "{9D232642-FB2F-43DC-B0AC-C56E3B691233}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {9D232642-FB2F-43DC-B0AC-C56E3B691233}.Debug|x64.ActiveCfg = Debug|x64 + {9D232642-FB2F-43DC-B0AC-C56E3B691233}.Debug|x64.Build.0 = Debug|x64 + {9D232642-FB2F-43DC-B0AC-C56E3B691233}.Debug|x86.ActiveCfg = Debug|Win32 + {9D232642-FB2F-43DC-B0AC-C56E3B691233}.Debug|x86.Build.0 = Debug|Win32 + {9D232642-FB2F-43DC-B0AC-C56E3B691233}.Release|x64.ActiveCfg = Release|x64 + {9D232642-FB2F-43DC-B0AC-C56E3B691233}.Release|x64.Build.0 = Release|x64 + {9D232642-FB2F-43DC-B0AC-C56E3B691233}.Release|x86.ActiveCfg = Release|Win32 + {9D232642-FB2F-43DC-B0AC-C56E3B691233}.Release|x86.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {01A4798F-B42A-4C9B-BFE7-A6D1BD35C7B3} + EndGlobalSection +EndGlobal