C#封装C++DLL并调用

上传者: ayouyouyuer | 上传时间: 2019-12-21 19:26:13 | 文件大小: 12.98MB | 文件类型: rar
C#
硬件提供C++的DLL,实际应用是用C#开发的,可以是winform可以是webapi等,通过新建C++项目对DLL进行再次封装,并提供接口给C#程序使用。

文件下载

资源详情

[{"title":"( 76 个子文件 12.98MB ) C#封装C++DLL并调用","children":[{"title":"CSharpInvokeCPP","children":[{"title":"CSharpInvokeCPP.sln <span style='color:#111;'> 2.70KB </span>","children":null,"spread":false},{"title":"CSharpInvokeCPP.CSharpDemo","children":[{"title":"CSharpInvokeCPP.CSharpDemo.csproj <span style='color:#111;'> 2.55KB </span>","children":null,"spread":false},{"title":"CPPDLL.cs <span style='color:#111;'> 7.20KB </span>","children":null,"spread":false},{"title":"Program.cs <span style='color:#111;'> 6.16KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false}],"spread":true},{"title":"App.config <span style='color:#111;'> 157B </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"TempPE","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.58KB </span>","children":null,"spread":false},{"title":"CSharpInvokeCPP.CSharpDemo.pdb <span style='color:#111;'> 11.50KB </span>","children":null,"spread":false},{"title":"CSharpInvokeCPP.CSharpDemo.csproj.FileListAbsolute.txt <span style='color:#111;'> 692B </span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 817B </span>","children":null,"spread":false},{"title":"CSharpInvokeCPP.CSharpDemo.exe <span style='color:#111;'> 7.00KB </span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"bin","children":[{"title":"Debug","children":[{"title":"decodecert.dll <span style='color:#111;'> 101.72KB </span>","children":null,"spread":false},{"title":"CSharpInvokeCPP.CSharpDemo.exe.config <span style='color:#111;'> 157B </span>","children":null,"spread":false},{"title":"CSharpInvokeCPP.CSharpDemo.vshost.exe <span style='color:#111;'> 21.15KB </span>","children":null,"spread":false},{"title":"CSharpInvokeCPP.CSharpDemo.pdb <span style='color:#111;'> 11.50KB </span>","children":null,"spread":false},{"title":"CSharpInvokeCPP.CSharpDemo.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"cryp_api.dll <span style='color:#111;'> 357.72KB </span>","children":null,"spread":false},{"title":"CSharpInvokeCPP.CSharpDemo.vshost.exe.config <span style='color:#111;'> 157B </span>","children":null,"spread":false},{"title":"CSharpInvokeCPP.CSharpDemo.exe <span style='color:#111;'> 7.00KB </span>","children":null,"spread":false},{"title":"CSharpInvokeCPP.CPPDemo.dll <span style='color:#111;'> 499.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"Debug","children":[{"title":"decodecert.dll <span style='color:#111;'> 101.72KB </span>","children":null,"spread":false},{"title":"CSharpInvokeCPP.CPPDemo.ilk <span style='color:#111;'> 570.38KB </span>","children":null,"spread":false},{"title":"CSharpInvokeCPP.CPPDemo.exp <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false},{"title":"cryp_api.dll <span style='color:#111;'> 357.72KB </span>","children":null,"spread":false},{"title":"CSharpInvokeCPP.CPPDemo.lib <span style='color:#111;'> 3.93KB </span>","children":null,"spread":false},{"title":"CSharpInvokeCPP.CPPDemo.dll <span style='color:#111;'> 156.00KB </span>","children":null,"spread":false},{"title":"CSharpInvokeCPP.CPPDemo.pdb <span style='color:#111;'> 1.51MB </span>","children":null,"spread":false}],"spread":true},{"title":"ipch","children":[{"title":"csharpinvokecpp.cppdemo-b6eb593f","children":[{"title":"csharpinvokecpp.ipch <span style='color:#111;'> 17.94MB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"CSharpInvokeCPP.CPPDemo","children":[{"title":"CSharpInvokeCPP.CPPDemo.cpp <span style='color:#111;'> 45.57KB </span>","children":null,"spread":false},{"title":"ReadCert.h <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"OpenDeviceInfo.h <span style='color:#111;'> 495B </span>","children":null,"spread":false},{"title":"CSharpInvokeCPP.CPPDemo.vcxproj.filters <span style='color:#111;'> 1.84KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"CSharpInvokeCPP.CPPDemo.log <span style='color:#111;'> 3.33KB </span>","children":null,"spread":false},{"title":"CSharpInvokeCPP.CPPDemo.pch <span style='color:#111;'> 5.31MB </span>","children":null,"spread":false},{"title":"vc120.pdb <span style='color:#111;'> 868.00KB </span>","children":null,"spread":false},{"title":"dllmain.obj <span style='color:#111;'> 14.60KB </span>","children":null,"spread":false},{"title":"CSharpIn.1CC9806B.tlog","children":[{"title":"cl.command.1.tlog <span style='color:#111;'> 3.20KB </span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'> 41.94KB </span>","children":null,"spread":false},{"title":"CSharpInvokeCPP.CPPDemo.lastbuildstate <span style='color:#111;'> 201B </span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'> 4.54KB </span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"CL.write.1.tlog <span style='color:#111;'> 2.86KB </span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'> 2.10KB </span>","children":null,"spread":false},{"title":"CSharpInvokeCPP.CPPDemo.write.1u.tlog <span style='color:#111;'> 666B </span>","children":null,"spread":false}],"spread":false},{"title":"CSharpInvokeCPP.CPPDemo.Build.CppClean.log <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false},{"title":"CSharpInvokeCPP.CPPDemo.obj <span style='color:#111;'> 208.58KB </span>","children":null,"spread":false},{"title":"vc120.idb <span style='color:#111;'> 747.00KB </span>","children":null,"spread":false},{"title":"stdafx.obj <span style='color:#111;'> 144.13KB </span>","children":null,"spread":false}],"spread":true},{"title":"CSharpInvokeCPP.CPPDemo - Nolog.cpp <span style='color:#111;'> 27.75KB </span>","children":null,"spread":false},{"title":"Identify.h <span style='color:#111;'> 651B </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"decodecert.lib <span style='color:#111;'> 4.88KB </span>","children":null,"spread":false},{"title":"CertDecoder.lib <span style='color:#111;'> 2.59KB </span>","children":null,"spread":false},{"title":"x64","children":[{"title":"Cryp_Api.dll <span style='color:#111;'> 369.00KB </span>","children":null,"spread":false},{"title":"decodecert.lib <span style='color:#111;'> 4.32KB </span>","children":null,"spread":false},{"title":"decodecert.dll <span style='color:#111;'> 122.50KB </span>","children":null,"spread":false},{"title":"cryp_api.lib <span style='color:#111;'> 24.24KB </span>","children":null,"spread":false}],"spread":false},{"title":"Cryp_Api.lib <span style='color:#111;'> 32.19KB </span>","children":null,"spread":false}],"spread":true},{"title":"userinfo.h <span style='color:#111;'> 237B </span>","children":null,"spread":false},{"title":"Autograph.h <span style='color:#111;'> 655B </span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'> 320B </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 1.96KB </span>","children":null,"spread":false},{"title":"stdafx.cpp <span style='color:#111;'> 229B </span>","children":null,"spread":false},{"title":"CertData.h <span style='color:#111;'> 617B </span>","children":null,"spread":false},{"title":"CSharpInvokeCPP.CPPDemo.vcxproj <span style='color:#111;'> 5.57KB </span>","children":null,"spread":false},{"title":"dllmain.cpp <span style='color:#111;'> 389B </span>","children":null,"spread":false},{"title":"targetver.h <span style='color:#111;'> 236B </span>","children":null,"spread":false},{"title":"include","children":[{"title":"isccryptapi.h <span style='color:#111;'> 17.74KB </span>","children":null,"spread":false},{"title":"CertDecoder.h <span style='color:#111;'> 561B </span>","children":null,"spread":false},{"title":"decodecert.h <span style='color:#111;'> 7.47KB </span>","children":null,"spread":false},{"title":"basetype.h <span style='color:#111;'> 4.35KB </span>","children":null,"spread":false},{"title":"crypt_err.h <span style='color:#111;'> 20.86KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"CSharpInvokeCPP.v12.suo <span style='color:#111;'> 69.00KB </span>","children":null,"spread":false},{"title":"CSharpInvokeCPP.sdf <span style='color:#111;'> 35.19MB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明