/cvi/instr/WUSBVME_DLL/wusbvme_dll.c |
---|
11,8 → 11,10 |
DLLHandle = LoadLibrary("libxxusb.dll"); |
else |
DLLHandle = LoadLibrary(module_path); |
if (!DLLHandle) return; |
if (!DLLHandle) { |
printf ("\n\nFailed to Open libxxusb.dll \n"); |
return; |
} |
if (!(xxusb_register_read_Ptr = (void*) GetProcAddress(DLLHandle,"xxusb_register_read"))) exit(1); |
if (!(xxusb_stack_read_Ptr = (void*) GetProcAddress(DLLHandle,"xxusb_stack_read"))) exit(1); |
if (!(xxusb_stack_write_Ptr = (void*) GetProcAddress(DLLHandle,"xxusb_stack_write"))) exit(1); |