HINSTANCE hModDll; hModDll = LoadLibrary("Interfaces/odmxusb.dll"); if(hModDll == 0){ MessageBox(GetActiveWindow(),"Erreur lors du chargement du pilote de l'interface DMX.","Erreur",0); driverloaded=FALSE; }else{ DMXopendevice = (lpFunc1) GetProcAddress((HINSTANCE)hModDll,"opendevice"); DMXverifdll = (lpFunc1) GetProcAddress((HINSTANCE)hModDll,"verifdll"); DMXclosedevice = (lpFunc1) GetProcAddress((HINSTANCE)hModDll,"closedevice"); DMXsendtrame = (lpFunc2) GetProcAddress((HINSTANCE)hModDll,"sendtrame"); driverloaded=TRUE;
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question