C#调用C++代码完整实例

上传者: rickywong_ | 上传时间: 2021-05-02 15:09:35 | 文件大小: 14.38MB | 文件类型: ZIP
C#调用C++的函数。通过dll调用C++的加法函数,类内的减法函数。详情在我的博文里面

文件下载

资源详情

[{"title":"( 58 个子文件 14.38MB ) C#调用C++代码完整实例","children":[{"title":"CppDLL","children":[{"title":"CppDLL","children":[{"title":"MinusOperation.h <span style='color:#111;'> 63B </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"CppDLL.tlog","children":[{"title":"cl.command.1.tlog <span style='color:#111;'> 2.83KB </span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'> 21.99KB </span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'> 2.76KB </span>","children":null,"spread":false},{"title":"CppDLL.lastbuildstate <span style='color:#111;'> 156B </span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'> 646B </span>","children":null,"spread":false},{"title":"CL.write.1.tlog <span style='color:#111;'> 1.58KB </span>","children":null,"spread":false},{"title":"CppDLL.write.1u.tlog <span style='color:#111;'> 776B </span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false}],"spread":true},{"title":"vc120.pdb <span style='color:#111;'> 484.00KB </span>","children":null,"spread":false},{"title":"MinusOperation.obj <span style='color:#111;'> 2.72KB </span>","children":null,"spread":false},{"title":"dllmain.obj <span style='color:#111;'> 13.57KB </span>","children":null,"spread":false},{"title":"CppDLL.pch <span style='color:#111;'> 5.31MB </span>","children":null,"spread":false},{"title":"CppDLL.log <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"vc120.idb <span style='color:#111;'> 371.00KB </span>","children":null,"spread":false},{"title":"CppDLL.obj <span style='color:#111;'> 2.62KB </span>","children":null,"spread":false},{"title":"stdafx.obj <span style='color:#111;'> 142.82KB </span>","children":null,"spread":false}],"spread":true},{"title":"CppDLL.vcxproj <span style='color:#111;'> 5.05KB </span>","children":null,"spread":false},{"title":"CppDLL.cpp <span style='color:#111;'> 97B </span>","children":null,"spread":false},{"title":"CppDLL.vcxproj.filters <span style='color:#111;'> 1.56KB </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.84KB </span>","children":null,"spread":false},{"title":"stdafx.cpp <span style='color:#111;'> 212B </span>","children":null,"spread":false},{"title":"dllmain.cpp <span style='color:#111;'> 389B </span>","children":null,"spread":false},{"title":"MinusOperation.cpp <span style='color:#111;'> 130B </span>","children":null,"spread":false},{"title":"targetver.h <span style='color:#111;'> 236B </span>","children":null,"spread":false}],"spread":false},{"title":"Debug","children":[{"title":"CppDLL.dll <span style='color:#111;'> 29.00KB </span>","children":null,"spread":false},{"title":"CppDLL.exp <span style='color:#111;'> 654B </span>","children":null,"spread":false},{"title":"CppDLL.lib <span style='color:#111;'> 1.77KB </span>","children":null,"spread":false},{"title":"CppDLL.ilk <span style='color:#111;'> 179.17KB </span>","children":null,"spread":false},{"title":"CppDLL.pdb <span style='color:#111;'> 1.07MB </span>","children":null,"spread":false}],"spread":true},{"title":"ipch","children":[{"title":"cppdll-3811c0c4","children":[{"title":"cppdll-bcf1416b.ipch <span style='color:#111;'> 18.00MB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"CppDLL.v12.suo <span style='color:#111;'> 21.50KB </span>","children":null,"spread":false},{"title":"CppDLL.sln <span style='color:#111;'> 964B </span>","children":null,"spread":false},{"title":"CppDLL.sdf <span style='color:#111;'> 27.31MB </span>","children":null,"spread":false}],"spread":true},{"title":"InvokeCpp","children":[{"title":"InvokeCpp.sln <span style='color:#111;'> 996B </span>","children":null,"spread":false},{"title":"InvokeCpp.v12.suo <span style='color:#111;'> 32.50KB </span>","children":null,"spread":false},{"title":"InvokeCpp","children":[{"title":"Program.cs <span style='color:#111;'> 412B </span>","children":null,"spread":false},{"title":"InvokeCpp.csproj <span style='color:#111;'> 2.54KB </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":"InvokeAdd.cs <span style='color:#111;'> 545B </span>","children":null,"spread":false},{"title":"App.config <span style='color:#111;'> 187B </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"InvokeCpp.pdb <span style='color:#111;'> 13.50KB </span>","children":null,"spread":false},{"title":"InvokeCpp.csproj.FileListAbsolute.txt <span style='color:#111;'> 406B </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"InvokeCpp.csprojResolveAssemblyReference.cache <span style='color:#111;'> 1.71KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.39KB </span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs <span style='color:#111;'> 0B </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},{"title":"InvokeCpp.exe <span style='color:#111;'> 5.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"bin","children":[{"title":"Debug","children":[{"title":"InvokeCpp.vshost.exe.config <span style='color:#111;'> 187B </span>","children":null,"spread":false},{"title":"InvokeCpp.pdb <span style='color:#111;'> 13.50KB </span>","children":null,"spread":false},{"title":"CppDLL.dll <span style='color:#111;'> 29.00KB </span>","children":null,"spread":false},{"title":"InvokeCpp.vshost.exe <span style='color:#111;'> 22.63KB </span>","children":null,"spread":false},{"title":"InvokeCpp.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"CppDLL.lib <span style='color:#111;'> 1.77KB </span>","children":null,"spread":false},{"title":"InvokeCpp.exe.config <span style='color:#111;'> 187B </span>","children":null,"spread":false},{"title":"InvokeCpp.exe <span style='color:#111;'> 5.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • pigeon0411 :
    还可以,不错,真有用
    2018-02-06
  • qq_30871035 :
    博主你的博文怎么找呀
    2017-11-07
  • 飞翔的小七 :
    有帮助,值得借鉴
    2016-11-30
  • n123w :
    有点参考价值,谢谢
    2016-03-02
  • z_j_h100 :
    学习了,谢谢
    2016-01-29
  • a_fish_can_fly :
    有一定参考价值
    2015-10-21
  • HenHengHen :
    版本不兼容?
    2015-09-24
  • luck_hank :
    试过了,可以正常调用com组件的2个方法
    2015-08-28

免责申明

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