Closed louim-lbs closed 2 years ago
It looks like Control.dll
depends on other DLLs, which cannot be found.
See this tip for ways to find out where the dependencies are located.
For example, suppose the dependencies of Control.dll
are located in C:\Program Files\Company\lib
then you would modify your Client64
subclass to be
class smar_class_client64(Client64):
def __init__(self) -> None:
super(smar_class_client64, self).__init__(module32='file_server32.py', append_environ_path="C:\\Program Files\\Company\\lib")
Also see here for more details about the append_environ_path
keyword argument.
I was supposing something like that, but I didn't know enough to find it by myself.
Thanks a lot for your answer, it works like a charm!
Hi, I'm writting a project using msl to load a 32-bits librairy in my 64-bits python environment, but I still have this error (see below). Do you have any idea why I get this error? I tried to re-freeze the 32-bits server without succes.
Error
Background files
Here are my clien64.py and server64.py files:
Environnment