Skip to content

Commit

Permalink
Merge pull request #11 from technosoftware/master
Browse files Browse the repository at this point in the history
Updated DLL examples to VS 2022 Version 17.4.1
  • Loading branch information
technosoftware committed Nov 27, 2022
2 parents e773369 + 21a27fb commit 4c08ca5
Show file tree
Hide file tree
Showing 17 changed files with 42 additions and 37 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
This is the changelog file for the OPC DA/AE Server Solution.

## OPC DA/AE Server Solution - 3.0.0 (Work in Progress)
- Updated C++ examples to VS 2022 Version 17.4.1
- Updated DLL examples to VS 2022 Version 17.4.1

## OPC DA/AE Server Solution - 2.0.0
- Refactored several parts of the server and removed a lot of warnings

Expand Down
Binary file modified examples/c++/DaAeSampleServer/OpcDaAeServer.rc
Binary file not shown.
4 changes: 2 additions & 2 deletions examples/c++/DaSampleServer/OpcDaServer.rc
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ VS_VERSION_INFO$(_OPC_WIN32) VERSIONINFO
#else
VS_VERSION_INFO VERSIONINFO
#endif
FILEVERSION 2,0,0,0
PRODUCTVERSION 2,0,0,0
FILEVERSION 3,0,0,0
PRODUCTVERSION 3,0,0,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
Expand Down
17 changes: 9 additions & 8 deletions examples/dll/DaAeSampleServer/ClassicNodeManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,7 @@ unsigned __stdcall RefreshThread(LPVOID pAttr)

for (;;) { // Thread Loop

CoFileTimeNow(&time_stamp);
if (gDeviceItem_NumberItems != NULL) {
V_I4(&value) = gNumberItems;
V_VT(&value) = VT_I4;
Expand Down Expand Up @@ -1262,13 +1263,13 @@ DLLEXP ClassicServerDefinition* DLLCALL OnGetDaServerDefinition(void)
// Version independent Prog.Id.
L"OpcDllDaAe.DaSample",
// Prog.Id. of current Server
L"OpcDllDaAe.DaSample.90",
L"OpcDllDaAe.DaSample.30",
// Friendly name of server
L"OPC Server SDK DLL DA Sample Server",
// Friendly name of current server version
L"OPC Server SDK DLL DA Sample Server V9.0",
// Companmy Name
L"Technosoftware GmbH"
L"OPC Server SDK DLL DA Sample Server V3.0",
// Company Name
L"SampleCompany"
};

return &DaServerDefinition;
Expand Down Expand Up @@ -1310,13 +1311,13 @@ DLLEXP ClassicServerDefinition* DLLCALL OnGetAeServerDefinition(void)
// Version independent Prog.Id. (must be same as DA)
L"OpcDllDaAe.AeSample",
// Prog.Id. of current Server
L"OpcDllDaAe.AeSample.90",
L"OpcDllDaAe.AeSample.30",
// Friendly name of server
L"OPC Server SDK DLL AE Sample Server",
// Friendly name of current server version
L"OPC Server SDK DLL AE Sample Server V9.0",
// Companmy Name
L"Technosoftware GmbH"
L"OPC Server SDK DLL AE Sample Server V3.0",
// Company Name
L"SampleCompany"
};

return &AeServerDefinition;
Expand Down
Binary file modified examples/dll/DaAeSampleServer/ServerPlugin.rc
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.28803.452
# Visual Studio Version 17
VisualStudioVersion = 17.1.32228.430
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ServerPlugin", "ServerPlugin.vs2019.vcxproj", "{C77D9ECA-4FF9-43A6-8D2E-CA1A1EB14CC9}"
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ServerPlugin", "ServerPlugin.vcxproj", "{C77D9ECA-4FF9-43A6-8D2E-CA1A1EB14CC9}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,25 +27,25 @@
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<PlatformToolset>v142</PlatformToolset>
<PlatformToolset>v143</PlatformToolset>
<UseOfMfc>false</UseOfMfc>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<PlatformToolset>v142</PlatformToolset>
<PlatformToolset>v143</PlatformToolset>
<UseOfMfc>false</UseOfMfc>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<PlatformToolset>v142</PlatformToolset>
<PlatformToolset>v143</PlatformToolset>
<UseOfMfc>false</UseOfMfc>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<PlatformToolset>v142</PlatformToolset>
<PlatformToolset>v143</PlatformToolset>
<UseOfMfc>false</UseOfMfc>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
Expand Down
8 changes: 4 additions & 4 deletions examples/dll/DaSampleServer/ClassicNodeManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -919,13 +919,13 @@ DLLEXP ClassicServerDefinition* DLLCALL OnGetDaServerDefinition( void )
// Version independent Prog.Id.
L"OpcDllDaAe.DaSimpleSample",
// Prog.Id. of current Server
L"OpcDllDaAe.DaSimpleSample.90",
L"OpcDllDaAe.DaSimpleSample.30",
// Friendly name of server
L"OPC Server SDK DLL DA Simple Sample Server",
// Friendly name of current server version
L"OPC Server SDK DLL DA Simple Sample Server V9.0",
// Companmy Name
L"Technosoftware GmbH"
L"OPC Server SDK DLL DA Simple Sample Server V3.0",
// Company Name
L"SampleCompany"
};

return &DaServerDefinition;
Expand Down
Binary file modified examples/dll/DaSampleServer/ServerPlugin.rc
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.28803.452
# Visual Studio Version 17
VisualStudioVersion = 17.1.32228.430
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ServerPlugin", "ServerPlugin.vs2019.vcxproj", "{C77D9ECA-4FF9-43A6-8D2E-CA1A1EB14CC9}"
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ServerPlugin", "ServerPlugin.vcxproj", "{C77D9ECA-4FF9-43A6-8D2E-CA1A1EB14CC9}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,25 +27,25 @@
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<PlatformToolset>v142</PlatformToolset>
<PlatformToolset>v143</PlatformToolset>
<UseOfMfc>false</UseOfMfc>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<PlatformToolset>v142</PlatformToolset>
<PlatformToolset>v143</PlatformToolset>
<UseOfMfc>false</UseOfMfc>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<PlatformToolset>v142</PlatformToolset>
<PlatformToolset>v143</PlatformToolset>
<UseOfMfc>false</UseOfMfc>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<PlatformToolset>v142</PlatformToolset>
<PlatformToolset>v143</PlatformToolset>
<UseOfMfc>false</UseOfMfc>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29102.190
# Visual Studio Version 17
VisualStudioVersion = 17.1.32228.430
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "OpcDllDaAeServer", "OpcDllDaAeServer.vs2019.vcxproj", "{A25CED39-DBFD-47C1-AC29-D3D07D70BF9B}"
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "OpcDllDaAeServer", "OpcDllDaAeServer.vcxproj", "{A25CED39-DBFD-47C1-AC29-D3D07D70BF9B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,37 +35,37 @@
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DAOnly|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<PlatformToolset>v142</PlatformToolset>
<PlatformToolset>v143</PlatformToolset>
<UseOfMfc>false</UseOfMfc>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<PlatformToolset>v142</PlatformToolset>
<PlatformToolset>v143</PlatformToolset>
<UseOfMfc>false</UseOfMfc>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<PlatformToolset>v142</PlatformToolset>
<PlatformToolset>v143</PlatformToolset>
<UseOfMfc>false</UseOfMfc>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DAOnly|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<PlatformToolset>v142</PlatformToolset>
<PlatformToolset>v143</PlatformToolset>
<UseOfMfc>false</UseOfMfc>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<PlatformToolset>v142</PlatformToolset>
<PlatformToolset>v143</PlatformToolset>
<UseOfMfc>false</UseOfMfc>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<PlatformToolset>v142</PlatformToolset>
<PlatformToolset>v143</PlatformToolset>
<UseOfMfc>false</UseOfMfc>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
Expand Down
Binary file modified src/Technosoftware/Server/ClassicServer/OpcNetDaAeServer.rc
Binary file not shown.

0 comments on commit 4c08ca5

Please sign in to comment.