Forum Replies Created
- AuthorPosts
HalHoffmanParticipantHalHoffman November 26, 2019 at 9:05 am in reply to: What is Loadlibrary doing with sa_api.dll and ftd2xx.dll? //php bbp_reply_id(); ?>
Hi Andrew,
This was helpful and solved the problem.
The new computer came with Microsoft Visual C++ 2015 Redistributable, and I had updated to the newest one, 2015-2019, thinking that might help. On your advice I installed 2012 and then the program worked. I haven’t had to install 2012 up till now so it must have been present on previous computers and not on this newer one.
Thanks for the help!
HalHoffmanParticipantHalHoffman November 18, 2019 at 8:49 am in reply to: Python 2.7 ctypes sa_api.dll Windows 10 1803 1903 //php bbp_reply_id(); ?>
Yes, the ftd2xx.dll file is in the same directory. I had moved the dll files from “Program Files (x86)/Signal Hound/Spike” to this test directory to make an example with the fewest files possible.
I had done another test where the example program opened ftd2xx.dll instead of sa_api.dll, and that was successful.
sa_dll = ctypes.CDLL(“ftd2xx.dll”), so ctypes found that file. I don’t know if that is a useful clue.Another observation is that with this same computer, running Window 1903, my software failed to open a DataQ data logging module, while it was successful with several other computers running Windows 1803. It generated a different error. It is curious that access to two different devices would fail with the new computer.
Thanks
- AuthorPosts