0.typedef void (*FortFun1)(int *ii);
1. HINSTANCE hDll;
FortFun1 fun1;
2. hDll=LoadLibrary("abc.dll");
if (hDll==NULL) error ..
3.fun=(FortFun1*)GetProcAddress(hDll1,"calcpp");
4.fun(&ii);
5.FreeLibrary(hDll);
posted on 2015-11-09 20:52 reedlau 阅读(171) 评论(0) 收藏 举报
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3