mirror of
https://github.com/pocoproject/poco.git
synced 2025-11-07 14:37:32 +01:00
Added to the x64 Project
This commit is contained in:
@@ -332,7 +332,7 @@ void WinService::setFailureActions(FailureActionVector failureActions, const std
|
|||||||
WinService::FailureActionTypeVector WinService::getFailureAction() const {
|
WinService::FailureActionTypeVector WinService::getFailureAction() const {
|
||||||
open();
|
open();
|
||||||
int size = 4096;
|
int size = 4096;
|
||||||
DWORD_PTR bytesNeeded;
|
DWORD bytesNeeded;
|
||||||
POCO_LPSERVICE_FAILURE_ACTION pSvcFailureAction = (POCO_LPSERVICE_FAILURE_ACTION)LocalAlloc(LPTR, size);
|
POCO_LPSERVICE_FAILURE_ACTION pSvcFailureAction = (POCO_LPSERVICE_FAILURE_ACTION)LocalAlloc(LPTR, size);
|
||||||
if (!pSvcFailureAction) throw OutOfMemoryException("cannot allocate service failure action buffer");
|
if (!pSvcFailureAction) throw OutOfMemoryException("cannot allocate service failure action buffer");
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<ItemGroup Label="ProjectConfigurations">
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
<ProjectConfiguration Include="debug_shared|x64">
|
<ProjectConfiguration Include="debug_shared|x64">
|
||||||
@@ -328,6 +328,7 @@
|
|||||||
<ClInclude Include="src\WinConfigurationTest.h" />
|
<ClInclude Include="src\WinConfigurationTest.h" />
|
||||||
<ClInclude Include="src\WindowsTestSuite.h" />
|
<ClInclude Include="src\WindowsTestSuite.h" />
|
||||||
<ClInclude Include="src\WinRegistryTest.h" />
|
<ClInclude Include="src\WinRegistryTest.h" />
|
||||||
|
<ClInclude Include="src\WinServiceTest.h" />
|
||||||
<ClInclude Include="src\XMLConfigurationTest.h" />
|
<ClInclude Include="src\XMLConfigurationTest.h" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
@@ -356,6 +357,7 @@
|
|||||||
<ClCompile Include="src\WinConfigurationTest.cpp" />
|
<ClCompile Include="src\WinConfigurationTest.cpp" />
|
||||||
<ClCompile Include="src\WindowsTestSuite.cpp" />
|
<ClCompile Include="src\WindowsTestSuite.cpp" />
|
||||||
<ClCompile Include="src\WinRegistryTest.cpp" />
|
<ClCompile Include="src\WinRegistryTest.cpp" />
|
||||||
|
<ClCompile Include="src\WinServiceTest.cpp" />
|
||||||
<ClCompile Include="src\XMLConfigurationTest.cpp" />
|
<ClCompile Include="src\XMLConfigurationTest.cpp" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
|||||||
@@ -138,6 +138,9 @@
|
|||||||
<ClInclude Include="src\TimerTestSuite.h">
|
<ClInclude Include="src\TimerTestSuite.h">
|
||||||
<Filter>Timer\Header Files</Filter>
|
<Filter>Timer\Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\WinServiceTest.h">
|
||||||
|
<Filter>Windows\Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="src\UtilTestSuite.cpp">
|
<ClCompile Include="src\UtilTestSuite.cpp">
|
||||||
@@ -218,5 +221,8 @@
|
|||||||
<ClCompile Include="src\TimerTestSuite.cpp">
|
<ClCompile Include="src\TimerTestSuite.cpp">
|
||||||
<Filter>Timer\Source Files</Filter>
|
<Filter>Timer\Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\WinServiceTest.cpp">
|
||||||
|
<Filter>Windows\Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
Reference in New Issue
Block a user