C#调用C++动态链接库示例

上传者: 59193452 | 上传时间: 2023-03-10 09:52:33 | 文件大小: 20.69MB | 文件类型: ZIP
通过C#调用C++的动态链接库,示例中展示了多种在C#程序中调用C++动态链接库的情况,特别是对于各种类型参数的传递形式,并给出了哪些传递方式能成功。

文件下载

资源详情

[{"title":"( 59 个子文件 20.69MB ) C#调用C++动态链接库示例","children":[{"title":"C++ToC#_test","children":[{"title":".vs","children":[{"title":"test","children":[{"title":"v14","children":[{"title":".suo <span style='color:#111;'> 53.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"b_test","children":[{"title":"bin","children":[{"title":"Release","children":null,"spread":false},{"title":"Debug","children":[{"title":"b_test.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"b_test.exe.config <span style='color:#111;'> 189B </span>","children":null,"spread":false},{"title":"b_test.pdb <span style='color:#111;'> 11.50KB </span>","children":null,"spread":false},{"title":"b_test.exe <span style='color:#111;'> 5.00KB </span>","children":null,"spread":false},{"title":"b_test.vshost.exe.config <span style='color:#111;'> 189B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"b_test.csproj <span style='color:#111;'> 2.65KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"b_test.csproj.FileListAbsolute.txt <span style='color:#111;'> 824B </span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"b_test.pdb <span style='color:#111;'> 15.50KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.65KB </span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"b_test.exe <span style='color:#111;'> 7.00KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"b_test.csprojResolveAssemblyReference.cache <span style='color:#111;'> 1.88KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"dllInterface.cs <span style='color:#111;'> 5.84KB </span>","children":null,"spread":false},{"title":"App.config <span style='color:#111;'> 189B </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false}],"spread":true},{"title":"test.cs <span style='color:#111;'> 5.64KB </span>","children":null,"spread":false}],"spread":true},{"title":"a_dll","children":[{"title":"stdafx.cpp <span style='color:#111;'> 209B </span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'> 315B </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;'> 240B </span>","children":null,"spread":false},{"title":"a_dll.cpp <span style='color:#111;'> 3.29KB </span>","children":null,"spread":false},{"title":"a_dll.vcxproj <span style='color:#111;'> 8.90KB </span>","children":null,"spread":false},{"title":"a_dll.vcxproj.filters <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"dllmain.obj <span style='color:#111;'> 8.27KB </span>","children":null,"spread":false},{"title":"vc140.pdb <span style='color:#111;'> 492.00KB </span>","children":null,"spread":false},{"title":"a_dll.Build.CppClean.log <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false},{"title":"stdafx.obj <span style='color:#111;'> 137.41KB </span>","children":null,"spread":false},{"title":"a_dll.pch <span style='color:#111;'> 7.44MB </span>","children":null,"spread":false},{"title":"vc140.idb <span style='color:#111;'> 411.00KB </span>","children":null,"spread":false},{"title":"a_dll.log <span style='color:#111;'> 582B </span>","children":null,"spread":false},{"title":"a_dll.obj <span style='color:#111;'> 17.58KB </span>","children":null,"spread":false},{"title":"a_dll.tlog","children":[{"title":"CL.write.1.tlog <span style='color:#111;'> 2.04KB </span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'> 26.26KB </span>","children":null,"spread":false},{"title":"CL.command.1.tlog <span style='color:#111;'> 2.54KB </span>","children":null,"spread":false},{"title":"a_dll.write.1u.tlog <span style='color:#111;'> 462B </span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'> 942B </span>","children":null,"spread":false},{"title":"a_dll.lastbuildstate <span style='color:#111;'> 224B </span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'> 1.67KB </span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'> 3.78KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"a_dll.h <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 1.44KB </span>","children":null,"spread":false}],"spread":true},{"title":"test.VC.db <span style='color:#111;'> 24.91MB </span>","children":null,"spread":false},{"title":"ipch","children":[{"title":"MYLIB-14f92758","children":[{"title":"MYLIB-34c217a9.ipch <span style='color:#111;'> 19.31MB </span>","children":null,"spread":false}],"spread":true},{"title":"A_DLL-293205d6","children":[{"title":"A_DLL-e85a51c8.ipch <span style='color:#111;'> 19.31MB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Debug","children":[{"title":"a_dll.exp <span style='color:#111;'> 1.90KB </span>","children":null,"spread":false},{"title":"b_test.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"b_test.vshost.exe <span style='color:#111;'> 22.16KB </span>","children":null,"spread":false},{"title":"b_test.exe.config <span style='color:#111;'> 189B </span>","children":null,"spread":false},{"title":"a_dll.ilk <span style='color:#111;'> 275.43KB </span>","children":null,"spread":false},{"title":"b_test.pdb <span style='color:#111;'> 15.50KB </span>","children":null,"spread":false},{"title":"a_dll.pdb <span style='color:#111;'> 1.03MB </span>","children":null,"spread":false},{"title":"b_test.exe <span style='color:#111;'> 7.00KB </span>","children":null,"spread":false},{"title":"a_dll.dll <span style='color:#111;'> 41.00KB </span>","children":null,"spread":false},{"title":"b_test.vshost.exe.config <span style='color:#111;'> 189B </span>","children":null,"spread":false},{"title":"a_dll.lib <span style='color:#111;'> 3.61KB </span>","children":null,"spread":false}],"spread":false},{"title":"test.sln <span style='color:#111;'> 2.72KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

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