C# 调用c++ 库 参数为指针类型导出函数

上传者: yizhenweifeng | 上传时间: 2021-07-08 14:48:48 | 文件大小: 45KB | 文件类型: RAR
CSharp 调用C++ DLL; 参数为指针类型导出函数 c# Csharp调用 c++库 参数为导入和导出指针两种 包含C++ DLL源码 如fun(cont char* A,char*B) A为输入参数,B为输出参数-C# CSharp call C++ DLL lib dll function param use export and import eg: fun(cont char* A,char*B) A IN,B OUT TestDll\Debug\TestCallDll.exe .......\.....\TestCallDll.vshost.exe .......\.....\TestCallDll.vshost.exe.manifest .......\.....\TestDll.dll .......\.....\TestDll.lib .......\TestCallDll\Form1.cs .......\...........\Form1.Designer.cs .......\...........\Form1.resx .......\...........\obj\Debug\TestCallDll.csproj.FileListAbsolute.txt .......\...........\...\.....\TestCallDll.csproj.GenerateResource.Cache .......\...........\...\.....\TestCallDll.exe .......\...........\...\.....\TestCallDll.Form1.resources .......\...........\...\.....\TestCallDll.pdb .......\...........\...\.....\TestCallDll.Properties.Resources.resources .......\...........\Program.cs .......\...........\...perties\AssemblyInfo.cs .......\...........\..........\Resources.Designer.cs .......\...........\..........\Resources.resx .......\...........\..........\Settings.Designer.cs .......\...........\..........\Settings.settings .......\...........\TestCallDll.csproj .......\....Dll\dllmain.cpp .......\.......\ReadMe.txt .......\.......\stdafx.cpp .......\.......\stdafx.h .......\.......\targetver.h .......\.......\TestDll.cpp .......\.......\TestDll.def .......\.......\TestDll.h .......\.......\TestDll.vcproj .......\.......\TestDll.vcproj.PC-201008261742.Administrator.user .......\TestDll.sln .......\TestDll.suo .......\....CallDll\obj\Debug\TempPE .......\...........\...\Debug .......\...........\obj .......\...........\Properties .......\Debug .......\TestCallDll .......\TestDll TestDll

文件下载

资源详情

[{"title":"( 33 个子文件 45KB ) C# 调用c++ 库 参数为指针类型导出函数","children":[{"title":"TestDll","children":[{"title":"TestCallDll","children":[{"title":"Form1.Designer.cs <span style='color:#111;'> 2.47KB </span>","children":null,"spread":false},{"title":"Program.cs <span style='color:#111;'> 503B </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"TestCallDll.pdb <span style='color:#111;'> 19.50KB </span>","children":null,"spread":false},{"title":"TestCallDll.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"TestCallDll.csproj.GenerateResource.Cache <span style='color:#111;'> 847B </span>","children":null,"spread":false},{"title":"TestCallDll.Form1.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"TestCallDll.exe <span style='color:#111;'> 8.50KB </span>","children":null,"spread":false},{"title":"TestCallDll.csproj.FileListAbsolute.txt <span style='color:#111;'> 704B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"TestCallDll.csproj <span style='color:#111;'> 3.64KB </span>","children":null,"spread":false},{"title":"Form1.cs <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false},{"title":"Form1.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.78KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"TestDll","children":[{"title":"stdafx.cpp <span style='color:#111;'> 294B </span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'> 419B </span>","children":null,"spread":false},{"title":"TestDll.def <span style='color:#111;'> 40B </span>","children":null,"spread":false},{"title":"dllmain.cpp <span style='color:#111;'> 410B </span>","children":null,"spread":false},{"title":"TestDll.cpp <span style='color:#111;'> 447B </span>","children":null,"spread":false},{"title":"targetver.h <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"TestDll.vcproj <span style='color:#111;'> 5.10KB </span>","children":null,"spread":false},{"title":"TestDll.vcproj.PC-201008261742.Administrator.user <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"TestDll.h <span style='color:#111;'> 887B </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false}],"spread":true},{"title":"TestDll.suo <span style='color:#111;'> 18.00KB </span>","children":null,"spread":false},{"title":"TestDll.sln <span style='color:#111;'> 2.53KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"TestDll.lib <span style='color:#111;'> 1.73KB </span>","children":null,"spread":false},{"title":"TestDll.dll <span style='color:#111;'> 28.50KB </span>","children":null,"spread":false},{"title":"TestCallDll.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"TestCallDll.exe <span style='color:#111;'> 8.50KB </span>","children":null,"spread":false},{"title":"TestCallDll.vshost.exe <span style='color:#111;'> 13.99KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • weixin_44619814 :
    不实用太简单了
    2020-05-27
  • wenfeng_feiyan :
    有参考价值!
    2016-02-24
  • u014710464 :
    好代码,清晰明了!很好理解。值得学习
    2016-02-16
  • tastygrape :
    示例代码很清晰,很有用
    2015-12-30
  • sammi987 :
    不错,特别是字符串的处理,借鉴了!
    2015-05-04

免责申明

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