勇
勇者
Unregistered / Unconfirmed
GUEST, unregistred user!
void (__stdcall *LoadForm)(TApplication*,TADOConnection*)=NULL; //入口函数声明void (__stdcall *UnloadForm)(HINSTANCE inst )=NULL;int (__stdcall *AddScrn)(void)=NULL;HINSTANCE inst = LoadLibrary("appDll.dll"); if(inst) { (FARPROC)LoadForm = GetProcAddress(inst,"DllRegisterServer"); (FARPROC)UnloadForm = GetProcAddress(inst,"DllUnregisterServer"); (FARPROC)AddScrn = GetProcAddress(inst,"AddScrn"); }AddScrn();LoadForm(Application,NULL);UnloadForm(inst);