Skip to content

Commit

Permalink
测试
Browse files Browse the repository at this point in the history
  • Loading branch information
kouzhudong committed Jan 17, 2024
1 parent 20baa1d commit 9f27e89
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 21 deletions.
27 changes: 11 additions & 16 deletions libnet.sln
Original file line number Diff line number Diff line change
@@ -1,34 +1,23 @@
Microsoft Visual Studio Solution File, Format Version 12.00

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30907.101
MinimumVisualStudioVersion = 10.0.40219.1

Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test", "test\test.vcxproj", "{FD2965E9-B722-48C3-BA2D-2869F4439E96}"
ProjectSection(ProjectDependencies) = postProject
{77427D08-54F8-46F4-80E4-A147B852E1BF} = {77427D08-54F8-46F4-80E4-A147B852E1BF}
EndProjectSection
EndProject

Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libnet", "libnet\libnet.vcxproj", "{77427D08-54F8-46F4-80E4-A147B852E1BF}"
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
{77427D08-54F8-46F4-80E4-A147B852E1BF}.Debug|x64.ActiveCfg = Debug|x64
{77427D08-54F8-46F4-80E4-A147B852E1BF}.Debug|x64.Build.0 = Debug|x64
{77427D08-54F8-46F4-80E4-A147B852E1BF}.Debug|x86.ActiveCfg = Debug|Win32
{77427D08-54F8-46F4-80E4-A147B852E1BF}.Debug|x86.Build.0 = Debug|Win32
{77427D08-54F8-46F4-80E4-A147B852E1BF}.Release|x64.ActiveCfg = Release|x64
{77427D08-54F8-46F4-80E4-A147B852E1BF}.Release|x64.Build.0 = Release|x64
{77427D08-54F8-46F4-80E4-A147B852E1BF}.Release|x86.ActiveCfg = Release|Win32
{77427D08-54F8-46F4-80E4-A147B852E1BF}.Release|x86.Build.0 = Release|Win32
{FD2965E9-B722-48C3-BA2D-2869F4439E96}.Debug|x64.ActiveCfg = Debug|x64
{FD2965E9-B722-48C3-BA2D-2869F4439E96}.Debug|x64.Build.0 = Debug|x64
{FD2965E9-B722-48C3-BA2D-2869F4439E96}.Debug|x86.ActiveCfg = Debug|Win32
Expand All @@ -37,13 +26,19 @@ Global
{FD2965E9-B722-48C3-BA2D-2869F4439E96}.Release|x64.Build.0 = Release|x64
{FD2965E9-B722-48C3-BA2D-2869F4439E96}.Release|x86.ActiveCfg = Release|Win32
{FD2965E9-B722-48C3-BA2D-2869F4439E96}.Release|x86.Build.0 = Release|Win32
{77427D08-54F8-46F4-80E4-A147B852E1BF}.Debug|x64.ActiveCfg = Debug|x64
{77427D08-54F8-46F4-80E4-A147B852E1BF}.Debug|x64.Build.0 = Debug|x64
{77427D08-54F8-46F4-80E4-A147B852E1BF}.Debug|x86.ActiveCfg = Debug|Win32
{77427D08-54F8-46F4-80E4-A147B852E1BF}.Debug|x86.Build.0 = Debug|Win32
{77427D08-54F8-46F4-80E4-A147B852E1BF}.Release|x64.ActiveCfg = Release|x64
{77427D08-54F8-46F4-80E4-A147B852E1BF}.Release|x64.Build.0 = Release|x64
{77427D08-54F8-46F4-80E4-A147B852E1BF}.Release|x86.ActiveCfg = Release|Win32
{77427D08-54F8-46F4-80E4-A147B852E1BF}.Release|x86.Build.0 = Release|Win32
EndGlobalSection

GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection

GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {53FE10D3-A4ED-4408-9F52-EBDDC375D457}
EndGlobalSection
EndGlobal
EndGlobal
Binary file modified libnet/Winhttp.cpp
Binary file not shown.
2 changes: 1 addition & 1 deletion libnet/libnet.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<PlatformToolset>v142</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
Expand Down
Binary file modified libnet/wfp.cpp
Binary file not shown.
4 changes: 2 additions & 2 deletions test/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

int _cdecl main(_In_ int argc, _In_reads_(argc) CHAR * argv[])
{
__debugbreak();
//__debugbreak();

setlocale(LC_CTYPE, ".936");

Expand All @@ -39,7 +39,7 @@ int _cdecl main(_In_ int argc, _In_reads_(argc) CHAR * argv[])

init();

Exclusiveaddruse(Args, Arglist);//宽字符函数入口示例。
EnumWfpInfo(Args, Arglist);//宽字符函数入口示例。

//tracert(argc, argv);//单字符函数入口示例。

Expand Down
2 changes: 1 addition & 1 deletion test/test.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<PlatformToolset>v142</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
Expand Down
2 changes: 1 addition & 1 deletion test/test.vcxproj.user
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LocalDebuggerCommandArguments>2 1 6 5150</LocalDebuggerCommandArguments>
<LocalDebuggerCommandArguments>NetEvent</LocalDebuggerCommandArguments>
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
</PropertyGroup>
</Project>

0 comments on commit 9f27e89

Please sign in to comment.