动态调用.DLL!!!急!急!
int _stdcall (*filecopy)(char *source,char *dest);
HINSTANCE DLLInst=NULL;
if(DLLInst==NULL)
DLLInst=LoadLibrary("DLL.dll");
if(DLLInst) (FARPROC &)filecopy=GetProcAddress(DLLInst,"filecopy");
执行后DLLInst还是为NULL,不知那里出错了
还有就是对于函数的定义不知这样对不对?
filecopy(FromF.c_str(),ToF.c_str());这样调用对吗