首页 > 其他 > 详细

MSVC和MinGW组件dll相互调用

时间:2016-07-03 18:57:40      阅读:376      评论:0      收藏:0      [点我收藏+]

http://www.mingw.org/wiki/msvc_and_mingw_dlls

MinGW调用VC:

The other way is to produce the .a files for GCC. For __cdecl functions (in most cases), it is simple: you only need to apply the reimp tool from Anders Norlander (since his web site is no longer available, you may choose to download
[this version|http://wyw.dcweb.cn/download.asp?path=&file=reimp_new.zip]
enhanced by Jose Fonseca):

 

reimp testdll.lib
gcc -o testmain testmain.c -L. -ltestdll

 

MSVC和MinGW组件dll相互调用

原文:http://www.cnblogs.com/wucg/p/5638543.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!