M
microbit
Unregistered / Unconfirmed
GUEST, unregistred user!
HINSTANCE handle;// the handle of dll
FARPROC lpFarProc;
int (*lpChkTran)(void);
handle=LoadLibrary("pretran.dll")
//to install the dll
lpFarProc=GetProcAddress(handle,"ChkTran");
.....
//说明:pretran.dll为vc写的,绝对准确,int ChkTran(void)为导出函数;
// 调试过程中发现 可以得到hanle 句柄,但lpFarProc为null即
GetProcAddress(handle,"ChkTran")没有成功.
FARPROC lpFarProc;
int (*lpChkTran)(void);
handle=LoadLibrary("pretran.dll")
//to install the dll
lpFarProc=GetProcAddress(handle,"ChkTran");
.....
//说明:pretran.dll为vc写的,绝对准确,int ChkTran(void)为导出函数;
// 调试过程中发现 可以得到hanle 句柄,但lpFarProc为null即
GetProcAddress(handle,"ChkTran")没有成功.