尝试过
1. extern "C" int __stdcall foo(int a) {}
2.
extern "C" {
int __stdcall foo(int a){}
}
3(在头文件里). extern "C" int __stdcall foo(int a);
最后在DLL里的都是_foo@4
要怎样才能得到foo?
谷歌过了,没看懂,如果可以希望能回复,谢谢!
1. extern "C" int __stdcall foo(int a) {}
2.
extern "C" {
int __stdcall foo(int a){}
}
3(在头文件里). extern "C" int __stdcall foo(int a);
最后在DLL里的都是_foo@4
要怎样才能得到foo?
谷歌过了,没看懂,如果可以希望能回复,谢谢!