Hello,
I have an issue similar to the one you describe, raising the same error. I developed a DLL in C++ that, for a specific case, call a function of a second (external) DLL. It works fine in C++ but it fails for this specific case when it is called from Python code.
Following this thread, https://stackoverflow.com/questions/4579...reated-dll, I have found that if I put my external DLL where my python.exe is it works fine.
I then tried to specify the path to my external DLL using the function os.add_dll_directory() but it seems to be useless.
Since you asked your question 3 months ago, I was wondering if you found a way to overcome your issue?
Thanks
I have an issue similar to the one you describe, raising the same error. I developed a DLL in C++ that, for a specific case, call a function of a second (external) DLL. It works fine in C++ but it fails for this specific case when it is called from Python code.
Following this thread, https://stackoverflow.com/questions/4579...reated-dll, I have found that if I put my external DLL where my python.exe is it works fine.
I then tried to specify the path to my external DLL using the function os.add_dll_directory() but it seems to be useless.
Since you asked your question 3 months ago, I was wondering if you found a way to overcome your issue?
Thanks