能力值:
( LV2,RANK:10 )
|
-
-
DLL动态加载中的问题
好不容易发到了看雪上,都说看雪很牛,问题虽小,怎么就没人回帖了呢,看来下次应该在百度上发帖~
|
能力值:
( LV2,RANK:10 )
|
-
-
DLL动态加载中的问题
DLL中的源码没什么问题
我在里面加了这两句:
typedef BOOL (_cdecl *FARPROC)(int x,int y); (1)
....
lpDLLfun=(FARPROC)GetProcAddress("****.dll","fun1");
后用lpDLLfun调用函数
(*lpDLLfun)=fun1(0,0);
就加了这几句(网上搜的),编译连接后就不会跳出那错误信息了..
但小弟我还是不明白上面的第(1)句到底什么意思,望大牛们给我讲讲,谢谢!\n
|