Skip to content

Commit 0794d39

Browse files
committed
Updated DLL & Added C++ CLR Demo
1 parent 320896c commit 0794d39

File tree

127 files changed

+1227
-64
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

127 files changed

+1227
-64
lines changed

β€Ž.vs/CardsSDK/v15/.suo

36 KB
Binary file not shown.

β€Ž.vs/CardsSDK/v15/Browse.VC.db

6.62 MB
Binary file not shown.
512 KB
Binary file not shown.

β€Ž.vs/CardsSDK/v15/Solution.VC.db

688 KB
Binary file not shown.
32 KB
Binary file not shown.
4 MB
Binary file not shown.
Binary file not shown.
-648 KB
Binary file not shown.

β€ŽCPP CLR Demo/CPP CLR Demo.vcxproj

+137
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,137 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ItemGroup Label="ProjectConfigurations">
4+
<ProjectConfiguration Include="Debug|Win32">
5+
<Configuration>Debug</Configuration>
6+
<Platform>Win32</Platform>
7+
</ProjectConfiguration>
8+
<ProjectConfiguration Include="Release|Win32">
9+
<Configuration>Release</Configuration>
10+
<Platform>Win32</Platform>
11+
</ProjectConfiguration>
12+
<ProjectConfiguration Include="Debug|x64">
13+
<Configuration>Debug</Configuration>
14+
<Platform>x64</Platform>
15+
</ProjectConfiguration>
16+
<ProjectConfiguration Include="Release|x64">
17+
<Configuration>Release</Configuration>
18+
<Platform>x64</Platform>
19+
</ProjectConfiguration>
20+
</ItemGroup>
21+
<PropertyGroup Label="Globals">
22+
<VCProjectVersion>15.0</VCProjectVersion>
23+
<ProjectGuid>{928F9CCD-485F-4DEC-B3EC-7AF0D365CF0E}</ProjectGuid>
24+
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
25+
<Keyword>ManagedCProj</Keyword>
26+
<RootNamespace>CPPCLRDemo</RootNamespace>
27+
<WindowsTargetPlatformVersion>10.0.16299.0</WindowsTargetPlatformVersion>
28+
</PropertyGroup>
29+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
30+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
31+
<ConfigurationType>Application</ConfigurationType>
32+
<UseDebugLibraries>true</UseDebugLibraries>
33+
<PlatformToolset>v141</PlatformToolset>
34+
<CLRSupport>true</CLRSupport>
35+
<CharacterSet>Unicode</CharacterSet>
36+
</PropertyGroup>
37+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
38+
<ConfigurationType>Application</ConfigurationType>
39+
<UseDebugLibraries>false</UseDebugLibraries>
40+
<PlatformToolset>v141</PlatformToolset>
41+
<CLRSupport>true</CLRSupport>
42+
<CharacterSet>Unicode</CharacterSet>
43+
</PropertyGroup>
44+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
45+
<ConfigurationType>Application</ConfigurationType>
46+
<UseDebugLibraries>true</UseDebugLibraries>
47+
<PlatformToolset>v141</PlatformToolset>
48+
<CLRSupport>true</CLRSupport>
49+
<CharacterSet>Unicode</CharacterSet>
50+
</PropertyGroup>
51+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
52+
<ConfigurationType>Application</ConfigurationType>
53+
<UseDebugLibraries>false</UseDebugLibraries>
54+
<PlatformToolset>v141</PlatformToolset>
55+
<CLRSupport>true</CLRSupport>
56+
<CharacterSet>Unicode</CharacterSet>
57+
</PropertyGroup>
58+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
59+
<ImportGroup Label="ExtensionSettings">
60+
</ImportGroup>
61+
<ImportGroup Label="Shared">
62+
</ImportGroup>
63+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
64+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
65+
</ImportGroup>
66+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
67+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
68+
</ImportGroup>
69+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
70+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
71+
</ImportGroup>
72+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
73+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
74+
</ImportGroup>
75+
<PropertyGroup Label="UserMacros" />
76+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
77+
<LinkIncremental>true</LinkIncremental>
78+
</PropertyGroup>
79+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
80+
<LinkIncremental>true</LinkIncremental>
81+
</PropertyGroup>
82+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
83+
<LinkIncremental>false</LinkIncremental>
84+
</PropertyGroup>
85+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
86+
<LinkIncremental>false</LinkIncremental>
87+
</PropertyGroup>
88+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
89+
<ClCompile>
90+
<WarningLevel>Level3</WarningLevel>
91+
<Optimization>Disabled</Optimization>
92+
<PreprocessorDefinitions>WIN32;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
93+
</ClCompile>
94+
<Link>
95+
<AdditionalDependencies />
96+
</Link>
97+
</ItemDefinitionGroup>
98+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
99+
<ClCompile>
100+
<WarningLevel>Level3</WarningLevel>
101+
<Optimization>Disabled</Optimization>
102+
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
103+
</ClCompile>
104+
<Link>
105+
<AdditionalDependencies />
106+
</Link>
107+
</ItemDefinitionGroup>
108+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
109+
<ClCompile>
110+
<WarningLevel>Level3</WarningLevel>
111+
<PreprocessorDefinitions>WIN32;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
112+
</ClCompile>
113+
<Link>
114+
<AdditionalDependencies />
115+
</Link>
116+
</ItemDefinitionGroup>
117+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
118+
<ClCompile>
119+
<WarningLevel>Level3</WarningLevel>
120+
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
121+
</ClCompile>
122+
<Link>
123+
<AdditionalDependencies />
124+
</Link>
125+
</ItemDefinitionGroup>
126+
<ItemGroup>
127+
<ClCompile Include="Source.cpp" />
128+
</ItemGroup>
129+
<ItemGroup>
130+
<Reference Include="Cards">
131+
<HintPath>..\Debug\Cards.dll</HintPath>
132+
</Reference>
133+
</ItemGroup>
134+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
135+
<ImportGroup Label="ExtensionTargets">
136+
</ImportGroup>
137+
</Project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ItemGroup>
4+
<Filter Include="Source Files">
5+
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
6+
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
7+
</Filter>
8+
<Filter Include="Header Files">
9+
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
10+
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
11+
</Filter>
12+
<Filter Include="Resource Files">
13+
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
14+
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
15+
</Filter>
16+
</ItemGroup>
17+
<ItemGroup>
18+
<ClCompile Include="Source.cpp">
19+
<Filter>Source Files</Filter>
20+
</ClCompile>
21+
</ItemGroup>
22+
</Project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.11.25547.0
2+
3+
; Generated by VC++ for Common Language Runtime
4+
.file "C:\Users\Ido\AppData\Local\Temp\.NETFramework,Version=v4.6.1.AssemblyAttributes.cpp"
Binary file not shown.
+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ο»Ώ Source.cpp
2+
CPP CLR Demo.vcxproj -> C:\Users\Ido\Documents\Visual Studio 2017\Projects\Finalized\.NET Framework\External\C#\Debug\CPP CLR Demo.exe
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
ImageRuntimeVersion: v4.0.30319
2+
Assembly Cards, Version=1.0.*, Culture=Invariant Language (Invariant Country):
3+
hash=SHA1, flags=PublicKey
4+
Assembly mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:
5+
hash=None, flags=None
6+
Struct Cards.ReaderStatus: AutoLayout, AnsiClass, Class, Public, Sealed
7+
:System.Enum
8+
Fields:
9+
Int32 value__ : Public, SpecialName, RTSpecialName
10+
Cards.ReaderStatus Disconnected = 1 : Public, Static, Literal, HasDefault
11+
Cards.ReaderStatus Connected = 2 : Public, Static, Literal, HasDefault
12+
Cards.ReaderStatus AlreadyInUse = 3 : Public, Static, Literal, HasDefault
13+
Class Cards.CardTapHandler: AutoLayout, AnsiClass, Class, Public, Sealed
14+
:System.MulticastDelegate
15+
Void .ctor(System.Object, IntPtr): PrivateScope, Public, HideBySig, SpecialName, RTSpecialName
16+
Methods:
17+
Invoke(CardTapResponse): PrivateScope, Public, Virtual, HideBySig, VtableLayoutMask
18+
BeginInvoke(CardTapResponse, AsyncCallback, Object): PrivateScope, Public, Virtual, HideBySig, VtableLayoutMask
19+
EndInvoke(IAsyncResult): PrivateScope, Public, Virtual, HideBySig, VtableLayoutMask
20+
Class Cards.StatusChangeHandler: AutoLayout, AnsiClass, Class, Public, Sealed
21+
:System.MulticastDelegate
22+
Void .ctor(System.Object, IntPtr): PrivateScope, Public, HideBySig, SpecialName, RTSpecialName
23+
Methods:
24+
Invoke(ReaderStatus): PrivateScope, Public, Virtual, HideBySig, VtableLayoutMask
25+
BeginInvoke(ReaderStatus, AsyncCallback, Object): PrivateScope, Public, Virtual, HideBySig, VtableLayoutMask
26+
EndInvoke(IAsyncResult): PrivateScope, Public, Virtual, HideBySig, VtableLayoutMask
27+
Class Cards.CardReader: AutoLayout, AnsiClass, Class, Public, BeforeFieldInit
28+
Void .ctor(Cards.ReaderSettings, Cards.ReaderCredentials): PrivateScope, Public, HideBySig, SpecialName, RTSpecialName
29+
Void .ctor(Cards.ReaderCredentials): PrivateScope, Public, HideBySig, SpecialName, RTSpecialName
30+
Fields:
31+
Cards.ReaderSettings ReaderSettings : Public
32+
Cards.ReaderCredentials ReaderCredentials : Public
33+
Events:
34+
Cards.CardTapHandler OnCardTap:
35+
Cards.StatusChangeHandler OnStatusChange:
36+
Methods:
37+
add_OnCardTap(CardTapHandler): PrivateScope, Public, HideBySig, SpecialName
38+
remove_OnCardTap(CardTapHandler): PrivateScope, Public, HideBySig, SpecialName
39+
add_OnStatusChange(StatusChangeHandler): PrivateScope, Public, HideBySig, SpecialName
40+
remove_OnStatusChange(StatusChangeHandler): PrivateScope, Public, HideBySig, SpecialName
41+
Listen(): PrivateScope, Public, HideBySig
42+
GetDevicesNames(): PrivateScope, Public, Static, HideBySig
43+
Class Cards.CardDetails: AutoLayout, AnsiClass, Class, Public, BeforeFieldInit
44+
Void .ctor(): PrivateScope, Public, HideBySig, SpecialName, RTSpecialName
45+
Fields:
46+
System.String UserID : Public
47+
Struct Cards.CardTapError: AutoLayout, AnsiClass, Class, Public, Sealed
48+
:System.Enum
49+
Fields:
50+
UInt16 value__ : Public, SpecialName, RTSpecialName
51+
Cards.CardTapError InternetError = 1 : Public, Static, Literal, HasDefault
52+
Cards.CardTapError ApiKeyInvalid = 2 : Public, Static, Literal, HasDefault
53+
Cards.CardTapError TransactionTokenInvalid = 3 : Public, Static, Literal, HasDefault
54+
Cards.CardTapError UserNotAssociatedWithCardReader = 4 : Public, Static, Literal, HasDefault
55+
Cards.CardTapError NoSuchTPID = 5 : Public, Static, Literal, HasDefault
56+
Cards.CardTapError TransactionTokenMissing = 6 : Public, Static, Literal, HasDefault
57+
Cards.CardTapError TransactionTokenDoesntExist = 7 : Public, Static, Literal, HasDefault
58+
Cards.CardTapError TransactionTokenAlreadyUsed = 8 : Public, Static, Literal, HasDefault
59+
Cards.CardTapError TransactionTokenAlreadyValidated = 9 : Public, Static, Literal, HasDefault
60+
Class Cards.CardTapResponse: AutoLayout, AnsiClass, Class, Public, BeforeFieldInit
61+
:System.EventArgs
62+
Void .ctor(): PrivateScope, Public, HideBySig, SpecialName, RTSpecialName
63+
Fields:
64+
Boolean IsSuccess : Public
65+
Cards.CardTapError Error : Public
66+
Cards.CardDetails CardDetails : Public
67+
Struct Cards.DevicesList: AutoLayout, AnsiClass, Class, Public, SequentialLayout, Sealed, BeforeFieldInit
68+
:System.ValueType
69+
Fields:
70+
IntPtr Cstrs : Public
71+
Int32 Count : Public
72+
Struct Cards.TransferResponse: AutoLayout, AnsiClass, Class, Public, SequentialLayout, Sealed, BeforeFieldInit
73+
:System.ValueType
74+
Fields:
75+
Int32 ErrorCode : Public
76+
Int32 TransferredLength : Public
77+
Struct Cards.CardTapResponseStruct: AutoLayout, AnsiClass, Class, Public, SequentialLayout, Sealed, BeforeFieldInit
78+
:System.ValueType
79+
Fields:
80+
Boolean IsSuccess : Public
81+
Int32 ErrorCode : Public
82+
Byte[] Uid : Public, HasFieldMarshal
83+
Class Cards.InternalCardTapHandler: AutoLayout, AnsiClass, Class, Public, Sealed
84+
:System.MulticastDelegate
85+
Void .ctor(System.Object, IntPtr): PrivateScope, Public, HideBySig, SpecialName, RTSpecialName
86+
Methods:
87+
Invoke(CardTapResponseStruct): PrivateScope, Public, Virtual, HideBySig, VtableLayoutMask
88+
BeginInvoke(CardTapResponseStruct, AsyncCallback, Object): PrivateScope, Public, Virtual, HideBySig, VtableLayoutMask
89+
EndInvoke(IAsyncResult): PrivateScope, Public, Virtual, HideBySig, VtableLayoutMask
90+
Class Cards.ReaderCredentials: AutoLayout, AnsiClass, Class, Public, BeforeFieldInit
91+
Void .ctor(): PrivateScope, Public, HideBySig, SpecialName, RTSpecialName
92+
Void .ctor(System.String): PrivateScope, Public, HideBySig, SpecialName, RTSpecialName
93+
Fields:
94+
System.String ApiKey : Public
95+
Class Cards.ReaderSettings: AutoLayout, AnsiClass, Class, Public, BeforeFieldInit
96+
Void .ctor(): PrivateScope, Public, HideBySig, SpecialName, RTSpecialName
97+
Void .ctor(System.String): PrivateScope, Public, HideBySig, SpecialName, RTSpecialName
98+
Fields:
99+
System.String DeviceName : Public
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#TargetFrameworkVersion=v4.6.1:PlatformToolSet=v141:EnableManagedIncrementalBuild=true:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=10.0.16299.0
2+
Debug|Win32|C:\Users\Ido\Documents\Visual Studio 2017\Projects\Finalized\.NET Framework\External\C#\|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

β€ŽCPP CLR Demo/Debug/Source.obj

8.32 KB
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.11.25547.0
2+
3+
; Generated by VC++ for Common Language Runtime
4+
.file "C:\Users\Ido\AppData\Local\Temp\.NETFramework,Version=v4.6.1.AssemblyAttributes.cpp"
Binary file not shown.
+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ο»Ώ Source.cpp
2+
CPP CLR Demo.vcxproj -> C:\Users\Ido\Documents\Visual Studio 2017\Projects\Finalized\.NET Framework\External\C#\Release\CPP CLR Demo.exe

0 commit comments

Comments
Β (0)