C#动态调用C++生成dll文件,区别于添加引用方式。

上传者: 37928884 | 上传时间: 2022-09-14 09:07:21 | 文件大小: 18.99MB | 文件类型: ZIP
C++动态链接库在C#中添加引用会提示报错,只能通过动态调用dll文件。

文件下载

资源详情

[{"title":"( 67 个子文件 18.99MB ) C#动态调用C++生成dll文件,区别于添加引用方式。","children":[{"title":"C#动态调用C++DLL","children":[{"title":"WindowsFormsApp2","children":[{"title":".vs","children":[{"title":"WindowsFormsApp2","children":[{"title":"v16","children":[{"title":".suo <span style='color:#111;'> 51.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"WindowsFormsApp2","children":[{"title":"bin","children":[{"title":"Release","children":null,"spread":false},{"title":"x64","children":[{"title":"Debug","children":[{"title":"WindowsFormsApp2.exe <span style='color:#111;'> 7.50KB </span>","children":null,"spread":false},{"title":"WindowsFormsApp2.pdb <span style='color:#111;'> 31.50KB </span>","children":null,"spread":false},{"title":"myDll.dll <span style='color:#111;'> 57.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Debug","children":null,"spread":false}],"spread":true},{"title":"Form1.Designer.cs <span style='color:#111;'> 1.99KB </span>","children":null,"spread":false},{"title":"Program.cs <span style='color:#111;'> 497B </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"x64","children":[{"title":"Debug","children":[{"title":"WindowsFormsApp2.exe <span style='color:#111;'> 7.50KB </span>","children":null,"spread":false},{"title":"WindowsFormsApp2.pdb <span style='color:#111;'> 31.50KB </span>","children":null,"spread":false},{"title":"WindowsFormsApp2.csproj.AssemblyReference.cache <span style='color:#111;'> 5.30KB </span>","children":null,"spread":false},{"title":"WindowsFormsApp2.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":".NETFramework,Version=v4.0.AssemblyAttributes.cs <span style='color:#111;'> 208B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.76KB </span>","children":null,"spread":false},{"title":"WindowsFormsApp2.csproj.CoreCompileInputs.cache <span style='color:#111;'> 42B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 793B </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"WindowsFormsApp2.csproj.FileListAbsolute.txt <span style='color:#111;'> 965B </span>","children":null,"spread":false},{"title":"WindowsFormsApp2.csproj.GenerateResource.cache <span style='color:#111;'> 1012B </span>","children":null,"spread":false},{"title":"WindowsFormsApp2.Form1.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"Debug","children":[{"title":"WindowsFormsApp2.csproj.AssemblyReference.cache <span style='color:#111;'> 11B </span>","children":null,"spread":false},{"title":".NETFramework,Version=v4.0.AssemblyAttributes.cs <span style='color:#111;'> 208B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.74KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 273B </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Form1.cs <span style='color:#111;'> 835B </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.29KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.80KB </span>","children":null,"spread":false}],"spread":true},{"title":"WindowsFormsApp2.csproj <span style='color:#111;'> 4.10KB </span>","children":null,"spread":false}],"spread":true},{"title":"WindowsFormsApp2.sln <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false}],"spread":true},{"title":"myDll","children":[{"title":".vs","children":[{"title":"myDll","children":[{"title":"v16","children":[{"title":"Browse.VC.db <span style='color:#111;'> 32.38MB </span>","children":null,"spread":false},{"title":".suo <span style='color:#111;'> 52.00KB </span>","children":null,"spread":false},{"title":"ipch","children":[{"title":"81d8a0c6e9e326f.ipch <span style='color:#111;'> 22.19MB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"myDll.sln <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false},{"title":"myDll","children":[{"title":"myDll.vcxproj <span style='color:#111;'> 8.42KB </span>","children":null,"spread":false},{"title":"framework.h <span style='color:#111;'> 159B </span>","children":null,"spread":false},{"title":"pch.h <span style='color:#111;'> 544B </span>","children":null,"spread":false},{"title":"cpp.hint <span style='color:#111;'> 270B </span>","children":null,"spread":false},{"title":"dllmain.cpp <span style='color:#111;'> 445B </span>","children":null,"spread":false},{"title":"myDll.cpp <span style='color:#111;'> 303B </span>","children":null,"spread":false},{"title":"pch.cpp <span style='color:#111;'> 158B </span>","children":null,"spread":false},{"title":"myDll.h <span style='color:#111;'> 576B </span>","children":null,"spread":false},{"title":"x64","children":[{"title":"Debug","children":[{"title":"dllmain.obj <span style='color:#111;'> 3.45KB </span>","children":null,"spread":false},{"title":"vc142.pdb <span style='color:#111;'> 508.00KB </span>","children":null,"spread":false},{"title":"pch.obj <span style='color:#111;'> 117.90KB </span>","children":null,"spread":false},{"title":"myDll.Build.CppClean.log <span style='color:#111;'> 1.69KB </span>","children":null,"spread":false},{"title":"myDll.ilk <span style='color:#111;'> 377.62KB </span>","children":null,"spread":false},{"title":"myDll.log <span style='color:#111;'> 914B </span>","children":null,"spread":false},{"title":"myDll.vcxproj.FileListAbsolute.txt <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"vc142.idb <span style='color:#111;'> 251.00KB </span>","children":null,"spread":false},{"title":"myDll.tlog","children":[{"title":"CL.write.1.tlog <span style='color:#111;'> 2.32KB </span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'> 16.48KB </span>","children":null,"spread":false},{"title":"CL.command.1.tlog <span style='color:#111;'> 2.98KB </span>","children":null,"spread":false},{"title":"myDll.write.1u.tlog <span style='color:#111;'> 460B </span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'> 960B </span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'> 1.69KB </span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'> 4.38KB </span>","children":null,"spread":false},{"title":"myDll.lastbuildstate <span style='color:#111;'> 307B </span>","children":null,"spread":false}],"spread":false},{"title":"myDll.obj <span style='color:#111;'> 4.36KB </span>","children":null,"spread":false},{"title":"myDll.pch <span style='color:#111;'> 7.69MB </span>","children":null,"spread":false},{"title":"myDll.dll.recipe <span style='color:#111;'> 325B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"myDll.vcxproj.user <span style='color:#111;'> 168B </span>","children":null,"spread":false},{"title":"myDll.vcxproj.filters <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false}],"spread":false},{"title":"x64","children":[{"title":"Debug","children":[{"title":"myDll.exp <span style='color:#111;'> 884B </span>","children":null,"spread":false},{"title":"myDll.pdb <span style='color:#111;'> 1.18MB </span>","children":null,"spread":false},{"title":"myDll.lib <span style='color:#111;'> 1.80KB </span>","children":null,"spread":false},{"title":"myDll.dll <span style='color:#111;'> 57.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

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