| /cvi/instr/WUSBVME_DLL/wusbvme_dll.c |
|---|
| 11,10 → 11,8 |
| DLLHandle = LoadLibrary("libxxusb.dll"); |
| else |
| DLLHandle = LoadLibrary(module_path); |
| if (!DLLHandle) { |
| printf ("\n\nFailed to Open libxxusb.dll \n"); |
| return; |
| } |
| if (!DLLHandle) 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); |