MSVC和MinGW组件dll相互调用
Posted 庚武讲堂
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了MSVC和MinGW组件dll相互调用相关的知识,希望对你有一定的参考价值。
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相互调用的主要内容,如果未能解决你的问题,请参考以下文章