The program only runs these lines of code.
ANT_Load();
ANT_Init(0, 57600);
ANT_Close();
ANT_UnLoad();
I can't get the ao_debug_ao_libusb_receive.txt to be created. DEBUG_FILE is defined in the preprocessor settings for ant_unmanaged_wrapper, ant_lib, and ant_dll. A file Device0.txt is created, however. How do you force creation of the other debug file?
I tried the DEMO_LIB project and it has the same heap corruption problem. I also tried the original unmodified DEMO_DLL with the original Visual Studio version. Same problem.
In the DEMO_LIB version, the error always seems to occur on the call to FreeLibrary(hLibHandle) in the file dsi_libusb_library.cpp.
Could the problem be due to my USB driver / hardware?
thanks