C#调用MFC带窗口的Dll源代码

上传者: oceanseazhy | 上传时间: 2021-09-24 17:19:09 | 文件大小: 1.24MB | 文件类型: RAR
C#调用MFC带窗口的DLl源代码, 附件包括: MFC共享DLL源代码, C#调用主程序源代码. 两个都是在VS2008下编译,DLL中有两个函数,一个是普通函数,一个是可弹出对话框的函数. ------------ 补:因自己需要这方面的资料,在CSDN上下载了几个, 可都不太满意,不是太过简单,就是源代码不全. 干脆自己研究写了这个例子,不敢独自占有,拿出来和大家分享. --------------- ps:调用注意:如果是win7 64位系统,需要把c#工程修改成 x86格式才能正常调用。这是个不错的调用例子,感谢作者分享。

文件下载

资源详情

[{"title":"( 50 个子文件 1.24MB ) C#调用MFC带窗口的Dll源代码","children":[{"title":"DllTest","children":[{"title":"Run","children":[{"title":"MFCDll.dll <span style='color:#111;'> 1.70MB </span>","children":null,"spread":false},{"title":"AppTest.exe <span style='color:#111;'> 8.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"AppTest","children":[{"title":"AppTest.sln <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false},{"title":"AppTest","children":[{"title":"bin","children":[{"title":"Debug","children":[{"title":"MFCDll.dll <span style='color:#111;'> 1.70MB </span>","children":null,"spread":false},{"title":"AppTest.exe <span style='color:#111;'> 8.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Form1.Designer.cs <span style='color:#111;'> 2.61KB </span>","children":null,"spread":false},{"title":"Program.cs <span style='color:#111;'> 488B </span>","children":null,"spread":false},{"title":"Dll_Fun.cs <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"AppTest.csproj.FileListAbsolute.txt <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false},{"title":"AppTest.Form1.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"AppTest.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"AppTest.csproj.GenerateResource.Cache <span style='color:#111;'> 847B </span>","children":null,"spread":false},{"title":"AppTest.exe <span style='color:#111;'> 8.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Form1.cs <span style='color:#111;'> 676B </span>","children":null,"spread":false},{"title":"Form1.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"AppTest.csproj <span style='color:#111;'> 3.71KB </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.33KB </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.80KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"AppTest.suo <span style='color:#111;'> 19.00KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"FunctionUse.dll <span style='color:#111;'> 34.00KB </span>","children":null,"spread":false},{"title":"FunctionUse.lib <span style='color:#111;'> 1.75KB </span>","children":null,"spread":false},{"title":"MFCDll.dll <span style='color:#111;'> 79.50KB </span>","children":null,"spread":false},{"title":"FunctionUse.exp <span style='color:#111;'> 724B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"MFCDll","children":[{"title":"MFCDll.suo <span style='color:#111;'> 13.50KB </span>","children":null,"spread":false},{"title":"MFCDll.sln <span style='color:#111;'> 884B </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"MFCDll.exp <span style='color:#111;'> 962B </span>","children":null,"spread":false},{"title":"MFCDll.dll <span style='color:#111;'> 1.70MB </span>","children":null,"spread":false},{"title":"MFCDll.lib <span style='color:#111;'> 1.84KB </span>","children":null,"spread":false}],"spread":true},{"title":"MFCDll","children":[{"title":"MyTestDlg.cpp <span style='color:#111;'> 591B </span>","children":null,"spread":false},{"title":"stdafx.cpp <span style='color:#111;'> 137B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"MFCDll.rc2 <span style='color:#111;'> 362B </span>","children":null,"spread":false}],"spread":true},{"title":"stdafx.h <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"MFCDll.aps <span style='color:#111;'> 34.07KB </span>","children":null,"spread":false},{"title":"MFCDll.h <span style='color:#111;'> 523B </span>","children":null,"spread":false},{"title":"MyTestDlg.h <span style='color:#111;'> 423B </span>","children":null,"spread":false},{"title":"MFCDll.def <span style='color:#111;'> 124B </span>","children":null,"spread":false},{"title":"targetver.h <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"MFCDll.vcproj.EASYDW.Administrator.user <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"MFCDll.vcproj <span style='color:#111;'> 5.40KB </span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'> 498B </span>","children":null,"spread":false},{"title":"MFCDll.cpp <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"MFCDll.rc <span style='color:#111;'> 3.96KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"BuildLog.htm <span style='color:#111;'> 7.22KB </span>","children":null,"spread":false},{"title":"MFCDll.dll.embed.manifest <span style='color:#111;'> 406B </span>","children":null,"spread":false},{"title":"mt.dep <span style='color:#111;'> 67B </span>","children":null,"spread":false},{"title":"MFCDll.dll.intermediate.manifest <span style='color:#111;'> 381B </span>","children":null,"spread":false}],"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 2.00KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • lhy258308681 :
    浪费我的分,垃圾资源,都跑不起来
    2019-09-05
  • q251368199 :
    这程序也太一般了,真是浪费我两分。太过肤浅。
    2018-04-18
  • zqcong :
    设成x86,调试也不通过阿
    2017-09-04
  • leace_liulv :
    调试报错啊 不能用啊 参考一下吧
    2017-01-21
  • q1119797798 :
    这程序也太一般了,真是浪费我两分。太过肤浅。
    2016-11-01

免责申明

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