From b98866fa6363fd9956b881a1759f187173cd9c42 Mon Sep 17 00:00:00 2001 From: Joseph Henry Date: Tue, 31 Jul 2018 15:57:10 -0700 Subject: [PATCH] Updated Windows C++ Library usage example project --- .../ExampleWindowsCppApp.sln | 31 ++ .../ExampleWindowsCppApp.cpp | Bin 0 -> 6782 bytes .../ExampleWindowsCppApp.vcxproj} | 338 +++++++++--------- .../ExampleWindowsCppApp.vcxproj.filters} | 76 ++-- .../ExampleWindowsCppApp/stdafx.cpp | Bin 0 -> 616 bytes .../ExampleWindowsCppApp/stdafx.h | Bin 0 -> 642 bytes .../ExampleWindowsCppApp/targetver.h | Bin 0 -> 630 bytes examples/cpp/cxproj_dll/README.md | 11 - examples/cpp/cxproj_dll/libztHelloWorld.sln | 28 -- .../cpp/cxproj_dll/libztHelloWorld/ReadMe.txt | 40 --- .../libztHelloWorld/libztHelloWorld.cpp | 22 -- .../cpp/cxproj_dll/libztHelloWorld/stdafx.cpp | 8 - .../cpp/cxproj_dll/libztHelloWorld/stdafx.h | 15 - .../cxproj_dll/libztHelloWorld/targetver.h | 8 - 14 files changed, 236 insertions(+), 341 deletions(-) create mode 100644 examples/cpp/ExampleWindowsCppApp/ExampleWindowsCppApp.sln create mode 100644 examples/cpp/ExampleWindowsCppApp/ExampleWindowsCppApp/ExampleWindowsCppApp.cpp rename examples/cpp/{cxproj_dll/libztHelloWorld/libztHelloWorld.vcxproj => ExampleWindowsCppApp/ExampleWindowsCppApp/ExampleWindowsCppApp.vcxproj} (69%) rename examples/cpp/{cxproj_dll/libztHelloWorld/libztHelloWorld.vcxproj.filters => ExampleWindowsCppApp/ExampleWindowsCppApp/ExampleWindowsCppApp.vcxproj.filters} (73%) create mode 100644 examples/cpp/ExampleWindowsCppApp/ExampleWindowsCppApp/stdafx.cpp create mode 100644 examples/cpp/ExampleWindowsCppApp/ExampleWindowsCppApp/stdafx.h create mode 100644 examples/cpp/ExampleWindowsCppApp/ExampleWindowsCppApp/targetver.h delete mode 100644 examples/cpp/cxproj_dll/README.md delete mode 100644 examples/cpp/cxproj_dll/libztHelloWorld.sln delete mode 100644 examples/cpp/cxproj_dll/libztHelloWorld/ReadMe.txt delete mode 100644 examples/cpp/cxproj_dll/libztHelloWorld/libztHelloWorld.cpp delete mode 100644 examples/cpp/cxproj_dll/libztHelloWorld/stdafx.cpp delete mode 100644 examples/cpp/cxproj_dll/libztHelloWorld/stdafx.h delete mode 100644 examples/cpp/cxproj_dll/libztHelloWorld/targetver.h diff --git a/examples/cpp/ExampleWindowsCppApp/ExampleWindowsCppApp.sln b/examples/cpp/ExampleWindowsCppApp/ExampleWindowsCppApp.sln new file mode 100644 index 0000000..429a747 --- /dev/null +++ b/examples/cpp/ExampleWindowsCppApp/ExampleWindowsCppApp.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.27130.2027 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ExampleWindowsCppApp", "ExampleWindowsCppApp\ExampleWindowsCppApp.vcxproj", "{D6BC8888-0498-4BDB-AFAF-21090A39082A}" +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 + {D6BC8888-0498-4BDB-AFAF-21090A39082A}.Debug|x64.ActiveCfg = Debug|x64 + {D6BC8888-0498-4BDB-AFAF-21090A39082A}.Debug|x64.Build.0 = Debug|x64 + {D6BC8888-0498-4BDB-AFAF-21090A39082A}.Debug|x86.ActiveCfg = Debug|Win32 + {D6BC8888-0498-4BDB-AFAF-21090A39082A}.Debug|x86.Build.0 = Debug|Win32 + {D6BC8888-0498-4BDB-AFAF-21090A39082A}.Release|x64.ActiveCfg = Release|x64 + {D6BC8888-0498-4BDB-AFAF-21090A39082A}.Release|x64.Build.0 = Release|x64 + {D6BC8888-0498-4BDB-AFAF-21090A39082A}.Release|x86.ActiveCfg = Release|Win32 + {D6BC8888-0498-4BDB-AFAF-21090A39082A}.Release|x86.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {68E97C56-8BB2-44E4-8536-069924BC9707} + EndGlobalSection +EndGlobal diff --git a/examples/cpp/ExampleWindowsCppApp/ExampleWindowsCppApp/ExampleWindowsCppApp.cpp b/examples/cpp/ExampleWindowsCppApp/ExampleWindowsCppApp/ExampleWindowsCppApp.cpp new file mode 100644 index 0000000000000000000000000000000000000000..dcd37ba26d38187d0d5c682bca9f2612d366a926 GIT binary patch literal 6782 zcmbuEeQy&-5XSf4RO)xQrUE&r32zmZc&P+w2vNg}uxUyuvK-rS+&V9f&xC;Z>TRFj z&W-oZJ|_WWk-OWSot=5+*_pZHzkjcXYvJ4Qjs9lgkI)Y%;V87iFy3XM8GZ@BYGzgc zo@p!(rbF|l{iLyZ%YM+&?XVL)z1O4qtE-Oa&^xW4klgv@r(_W{VXY8)V&NMdBwW~3FXS^3z z=DHt-UCrik^-$L=O7&y|NM_pQC`#{1kK1E%6KU&d9a4Ejkt@#!(N-);Gno2yL*Df=T`}8!kTe8P@f2_R?hvp0pS$G^#z~aOM z;?&oUwjMu>6=RJVPi||h>POW=G=P&M(}>y~b2P#w=N$|p24}jCqNJf$-F59VqhA+G z5E{m4J2v~#5-?>143OaOsjj0Ki`|I%M40y#yNSkrn0jU`$-<79-3m{_b49bI)ejZd z*ShZL?xlV_w={CE(9CY|kDdAvUpVMi4aJpX?F0X@*?0@P4e2!V}_Vn(OkBA-5IJ{h`+7;tyUJlJ~XN@?bR!4y1n~48UffyaO9j z4j60X=Q)H{m4WLq^DJjv2JMmlkw=VS`=ewQum#(6_+RrbI`=HcILl`$+mr%?B>=Q#dlw67I@I`QRD z6?!~HiTnlfT}h4#F9z}ixv|FP>ua3_&Q8xYmKEI#i%W`m)gSBy6-UT2zM*D0{8YAp z?y-IrjZ{Va^jg(M$M?~8_MSw&S-2lP!KNc|d0&h^PmZb#k1j8{SRa}=b!W1iI3%5J z0aY6B_u{Ucl16C9JpU}*R-d!7(AJ%}qA8!cis-G9?(-19o@7OxWK#%@Vl6n<4rN(b z3n$%nxK>7)&Vp)d*X!}Fyq=lrim{L($G`}@VEy?kOm|Nm$oX<~V8`N&S#hym`YEz% zt_YMhlaFAI)xmntmy2~BNxhG&mm@~?(#A$-nQ^CHa#`roA$}-ONm`9p^oMp*8xd&v|XI%B8dLMwXL7ITHh&2CmeRc8n-h@U1L-BMI_O zuXx(kJ+VTH447+terN2Yk~Z`%ku3UDSZ49RtInM}j}di-j6?MW8%Oeu-bLO{y;`)^ ztu&3Z8g7*|cvR;-@m0Az8&0G3P8i(Q`s9aeI4vx_5qSUuu-l$Mx;o;gZ%^pKn~w1B z3iaO9x5T6q@o}O#b}rja1>?`z8j%M)kPRUZAaemqSnl#v5Vuay9Cj`I7vUDD6w~4dCK4m?7k>jwDdJm=#)#0|) z(bDm@B)!-M_runiZXat)FK;Hc+R)%#mA7ktbSN8odt)EopMTfBPt`MT>poLA{ao+j z8`GRKf4+94AJ(%g-K6)#d75ti*}5ebKQJ2#-o=m zdL*=c-e!2?ZWmE+h{dpl_tb6uxW6gQDH^jG$aOskSEBa!#c5|{Lpu^*@(1?QrKeun z?^dSvq+Q6h|f{rK6KW`R1p-I}DS4jt=swxT_-$9EgVbJNx?CIO@A1d_H{ z@3*wtzCwJB_sJgL$+$=%amgW(=sd#^B#Oe64*!?L-*T1sx4FZO3D0`40H{}b~*xL_0{v1zz2Re?! zBCpZ4@|A>aN3OPtWD=h1QhiGZxMYfIstrheMDzDKO@yJ2i(*HQ}`c!s6Y__ literal 0 HcmV?d00001 diff --git a/examples/cpp/cxproj_dll/libztHelloWorld/libztHelloWorld.vcxproj b/examples/cpp/ExampleWindowsCppApp/ExampleWindowsCppApp/ExampleWindowsCppApp.vcxproj similarity index 69% rename from examples/cpp/cxproj_dll/libztHelloWorld/libztHelloWorld.vcxproj rename to examples/cpp/ExampleWindowsCppApp/ExampleWindowsCppApp/ExampleWindowsCppApp.vcxproj index 0c007b1..5581f98 100644 --- a/examples/cpp/cxproj_dll/libztHelloWorld/libztHelloWorld.vcxproj +++ b/examples/cpp/ExampleWindowsCppApp/ExampleWindowsCppApp/ExampleWindowsCppApp.vcxproj @@ -1,166 +1,174 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - Debug - x64 - - - Release - x64 - - - - {31A73533-81AA-4885-AF93-796A96540C91} - Win32Proj - libztHelloWorld - 8.1 - - - - Application - true - v140 - Unicode - - - Application - false - v140 - true - Unicode - - - Application - true - v140 - Unicode - - - Application - false - v140 - true - Unicode - - - - - - - - - - - - - - - - - - - - - true - - - true - - - false - - - false - - - - - - Level3 - Disabled - WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) - - - Console - true - - - - - - - Level3 - Disabled - _DEBUG;_CONSOLE;%(PreprocessorDefinitions) - - - Console - true - C:\msys\home\ZeroTier\libzt;%(AdditionalLibraryDirectories) - - - - - Level3 - - - MaxSpeed - true - true - WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) - - - Console - true - true - true - - - - - Level3 - - - MaxSpeed - true - true - NDEBUG;_CONSOLE;%(PreprocessorDefinitions) - - - Console - true - true - true - - - - - - - - - - - - - - - - - - - - - - - + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + 15.0 + {D6BC8888-0498-4BDB-AFAF-21090A39082A} + Win32Proj + ExampleWindowsCppApp + 10.0.16299.0 + + + + Application + true + v141 + Unicode + + + Application + false + v141 + true + Unicode + + + Application + true + v141 + Unicode + + + Application + false + v141 + true + Unicode + + + + + + + + + + + + + + + + + + + + + true + + + true + + + false + + + false + + + + Use + Level3 + Disabled + true + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + C:\libzt\include;%(AdditionalIncludeDirectories) + + + Console + true + C:\libzt\bin\lib\Debug;%(AdditionalLibraryDirectories) + ws2_32.lib;iphlpapi.lib;Shlwapi.lib;zt-static.lib;%(AdditionalDependencies) + + + + + Use + Level3 + Disabled + true + _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Use + Level3 + MaxSpeed + true + true + true + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + C:\libzt\include;%(AdditionalIncludeDirectories) + + + Console + true + true + true + C:\libzt\bin\lib\Release;%(AdditionalLibraryDirectories) + zt-static.lib;ws2_32.lib;shlwapi.lib;iphlpapi.lib;%(AdditionalDependencies) + + + + + Use + Level3 + MaxSpeed + true + true + true + NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + C:\libzt\include;%(AdditionalIncludeDirectories) + + + Console + true + true + true + zt-static.lib;ws2_32.lib;iphlpapi.lib;Shlwapi.lib;%(AdditionalDependencies) + C:\libzt\examples\cpp\ExampleWindowsCppApp\ExampleWindowsCppApp\Debug;%(AdditionalLibraryDirectories) + + + + + + + + + + Create + Create + Create + Create + + + + + \ No newline at end of file diff --git a/examples/cpp/cxproj_dll/libztHelloWorld/libztHelloWorld.vcxproj.filters b/examples/cpp/ExampleWindowsCppApp/ExampleWindowsCppApp/ExampleWindowsCppApp.vcxproj.filters similarity index 73% rename from examples/cpp/cxproj_dll/libztHelloWorld/libztHelloWorld.vcxproj.filters rename to examples/cpp/ExampleWindowsCppApp/ExampleWindowsCppApp/ExampleWindowsCppApp.vcxproj.filters index f3328b4..64d4196 100644 --- a/examples/cpp/cxproj_dll/libztHelloWorld/libztHelloWorld.vcxproj.filters +++ b/examples/cpp/ExampleWindowsCppApp/ExampleWindowsCppApp/ExampleWindowsCppApp.vcxproj.filters @@ -1,45 +1,33 @@ - - - - - {4FC737F1-C7A5-4376-A066-2A32D752A2FF} - cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx - - - {93995380-89BD-4b04-88EB-625FBE52EBFB} - h;hh;hpp;hxx;hm;inl;inc;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 - - - Header Files - - - - - Source Files - - - Source Files - - - - - - - - + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;hm;inl;inc;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/examples/cpp/ExampleWindowsCppApp/ExampleWindowsCppApp/stdafx.cpp b/examples/cpp/ExampleWindowsCppApp/ExampleWindowsCppApp/stdafx.cpp new file mode 100644 index 0000000000000000000000000000000000000000..d090f4677a40d5cbb340dc28006bc0b61edb71a8 GIT binary patch literal 616 zcmZ`%L2kk@5S%ko|6swnaPJL4D{dT$M6WJM6r&KM5LEK{wliyy096&O?Ra-*W_SJb zJ;MwRC$z}mQQ(3pb~y5Lcrj1J84d4p{uKzQ?9`%Ue9OCln%;_089gW7?0FWVqm>q| zKhHREG+h5?Jz+#8((+0T9tSEA)7J1aM0^o*Van#VPPy)g@92@Lil@(Bo75i3mE)OF z(eRRXu}hUVy$uHD`z}PH?eEZqQ(Gmfd8qDxo)#TdNQ*KG<~LNLz6HY)w`^kmp^FaV zhnbYTxkjfxZLr3YrYWh;f~H;55Tp9t*`Be|&~tk0)NKbevyOVs+-v6M{e&Feu_4PG cZ}{NLSlx6h%~KhX*r~$QlVGpl`c|a+7nyfzLI3~& literal 0 HcmV?d00001 diff --git a/examples/cpp/ExampleWindowsCppApp/ExampleWindowsCppApp/stdafx.h b/examples/cpp/ExampleWindowsCppApp/ExampleWindowsCppApp/stdafx.h new file mode 100644 index 0000000000000000000000000000000000000000..94d4ed877dbfd8cd2c783931c444cad664143b10 GIT binary patch literal 642 zcmaJ<%Z`FT5UjJw{sYnLM(@V#$-9^R0UQRwu#ECB^7Cp{4I>V}Q z8vEtLe;CsQ`f9DHxFP?Ev!}!l=AXA(tbaPXB)?e2)ZxZ=WBxB^dUob-#=8i1_Gje& z#NH7xP7*QWxk;u;fEfw0WxN;+co0fK2Vs4B9U*sm0{`t1wOo&Foy0~*EXI^K{ z&F{}p2USW{Xp2p>*G`#oJ!s%(q!H-M(Ty4fmG}kNtEQTB%)V1m=}BwwfWPvrT#@e@ zH0NG}74Ao{glS)#QXA|NYdIfY7hrMp+Ji@H`t9kzWx_SD6;~Ri;cvXH)6CO{-I1p_IJPQ#X=r zigZeSqQguJz35q;zt9^Q_C^^>*mmuXUCp&pw^fPoGX+dho4RCrySs7j@9_UipWkA5 OQDt4mH~x-^Z~X_?9czaG literal 0 HcmV?d00001 diff --git a/examples/cpp/cxproj_dll/README.md b/examples/cpp/cxproj_dll/README.md deleted file mode 100644 index 4ea215d..0000000 --- a/examples/cpp/cxproj_dll/README.md +++ /dev/null @@ -1,11 +0,0 @@ -## libzt in C++ via DLL import -*** - - - Add [libzt.dll]() and [libzt.lib]() to solution as existing items. - - Place [libzt.dll](libzt.dll) in the same directory as the executable. - - Include `libzt.h` in application source. - - Access functions grlobally like so: `zts_socket(...)` - -*** - -The Windows `.dll` and `.lib` files are provided pre-built at the above links, but if you'd like build instructions you can check out [BUILDING.md](../../BUILDING.md) \ No newline at end of file diff --git a/examples/cpp/cxproj_dll/libztHelloWorld.sln b/examples/cpp/cxproj_dll/libztHelloWorld.sln deleted file mode 100644 index 25ef287..0000000 --- a/examples/cpp/cxproj_dll/libztHelloWorld.sln +++ /dev/null @@ -1,28 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.25420.1 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libztHelloWorld", "libztHelloWorld\libztHelloWorld.vcxproj", "{31A73533-81AA-4885-AF93-796A96540C91}" -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 - {31A73533-81AA-4885-AF93-796A96540C91}.Debug|x64.ActiveCfg = Debug|x64 - {31A73533-81AA-4885-AF93-796A96540C91}.Debug|x64.Build.0 = Debug|x64 - {31A73533-81AA-4885-AF93-796A96540C91}.Debug|x86.ActiveCfg = Debug|Win32 - {31A73533-81AA-4885-AF93-796A96540C91}.Debug|x86.Build.0 = Debug|Win32 - {31A73533-81AA-4885-AF93-796A96540C91}.Release|x64.ActiveCfg = Release|x64 - {31A73533-81AA-4885-AF93-796A96540C91}.Release|x64.Build.0 = Release|x64 - {31A73533-81AA-4885-AF93-796A96540C91}.Release|x86.ActiveCfg = Release|Win32 - {31A73533-81AA-4885-AF93-796A96540C91}.Release|x86.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/examples/cpp/cxproj_dll/libztHelloWorld/ReadMe.txt b/examples/cpp/cxproj_dll/libztHelloWorld/ReadMe.txt deleted file mode 100644 index 4e999e1..0000000 --- a/examples/cpp/cxproj_dll/libztHelloWorld/ReadMe.txt +++ /dev/null @@ -1,40 +0,0 @@ -======================================================================== - CONSOLE APPLICATION : libztHelloWorld Project Overview -======================================================================== - -AppWizard has created this libztHelloWorld application for you. - -This file contains a summary of what you will find in each of the files that -make up your libztHelloWorld application. - - -libztHelloWorld.vcxproj - This is the main project file for VC++ projects generated using an Application Wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - Application Wizard. - -libztHelloWorld.vcxproj.filters - This is the filters file for VC++ projects generated using an Application Wizard. - It contains information about the association between the files in your project - and the filters. This association is used in the IDE to show grouping of files with - similar extensions under a specific node (for e.g. ".cpp" files are associated with the - "Source Files" filter). - -libztHelloWorld.cpp - This is the main application source file. - -///////////////////////////////////////////////////////////////////////////// -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named libztHelloWorld.pch and a precompiled types file named StdAfx.obj. - -///////////////////////////////////////////////////////////////////////////// -Other notes: - -AppWizard uses "TODO:" comments to indicate parts of the source code you -should add to or customize. - -///////////////////////////////////////////////////////////////////////////// diff --git a/examples/cpp/cxproj_dll/libztHelloWorld/libztHelloWorld.cpp b/examples/cpp/cxproj_dll/libztHelloWorld/libztHelloWorld.cpp deleted file mode 100644 index 82563da..0000000 --- a/examples/cpp/cxproj_dll/libztHelloWorld/libztHelloWorld.cpp +++ /dev/null @@ -1,22 +0,0 @@ -// libztHelloWorld - Simple demo with libzt.lib and libzt.dll - -#include "stdafx.h" -#include -#include -#include -#include - -#include "..\..\..\..\include\libzt.h" - -int main() -{ - printf("waiting for libzt to come online...\n"); - zts_startjoin("config_path", "17d709436c2c5367"); - printf("started. now performing a socket call\n"); - int fd = zts_socket(AF_INET, SOCK_STREAM, 0); - printf("fd=%d\n", fd); - // zts_connect(), zts_bind(), etc... - zts_stop(); - return 0; -} - diff --git a/examples/cpp/cxproj_dll/libztHelloWorld/stdafx.cpp b/examples/cpp/cxproj_dll/libztHelloWorld/stdafx.cpp deleted file mode 100644 index b2aa363..0000000 --- a/examples/cpp/cxproj_dll/libztHelloWorld/stdafx.cpp +++ /dev/null @@ -1,8 +0,0 @@ -// stdafx.cpp : source file that includes just the standard includes -// libztHelloWorld.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - -// TODO: reference any additional headers you need in STDAFX.H -// and not in this file diff --git a/examples/cpp/cxproj_dll/libztHelloWorld/stdafx.h b/examples/cpp/cxproj_dll/libztHelloWorld/stdafx.h deleted file mode 100644 index b005a83..0000000 --- a/examples/cpp/cxproj_dll/libztHelloWorld/stdafx.h +++ /dev/null @@ -1,15 +0,0 @@ -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, but -// are changed infrequently -// - -#pragma once - -#include "targetver.h" - -#include -#include - - - -// TODO: reference additional headers your program requires here diff --git a/examples/cpp/cxproj_dll/libztHelloWorld/targetver.h b/examples/cpp/cxproj_dll/libztHelloWorld/targetver.h deleted file mode 100644 index 87c0086..0000000 --- a/examples/cpp/cxproj_dll/libztHelloWorld/targetver.h +++ /dev/null @@ -1,8 +0,0 @@ -#pragma once - -// Including SDKDDKVer.h defines the highest available Windows platform. - -// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and -// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h. - -#include