15,466
社区成员
发帖
与我相关
我的任务
分享 HINSTANCE hInstance=LoadLibrary("Login.dll"); //hInstance能得到值
FuncUserLogin pUserLogin=(FuncUserLogin)GetProcAddress(hInstance,"UserLogin");
if(pUserLogin(strCurrentUser.strCurrentUserDepartment.GetBuffer(10),GlobalConn)==false) //这里出错
{
return FALSE;
}
strCurrentUser.strCurrentUserDepartment.ReleaseBuffer();
FreeLibrary(hInstance);