You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following two lines of code execute the software, but the software fails midway due to a missing DLL: "Failed to execute 'regsvr32 /s CommonEvent.dll'".
When manually executing C:\BackUp\Backup.exe, the program runs and completes its task without issue. I have looked for a solution but have not been able to find the cause of the problem. I would appreciate any help.
Your environment
OS: Windows10
Python 3.11.0
The text was updated successfully, but these errors were encountered:
Are you running 32-bit Python?
→ I am running on Windows 10 x64 environment.
Where is "CommonEvent.dll" located?
→ This file is located at C:\XXXX\Bin, which is not a default location for Windows files.
→ I am truly sorry that I am unable to provide you with this file.
I have been self-learning to code for half a year, and I think I lack basic knowledge.
In manual execution, C:\BackUp\Backup.exe can use "CommonEvent.dll".
I think there is a difference between using Python's subprocess.Popen() and os.system() and manually starting it, but I don't know where the difference is.
I would appreciate it if you could provide me with some clues. Thank you very much.
I have found that the subprocess.Popen() and os.system() functions in Windows 10 may have difficulty obtaining the highest privileges.
However, I have not yet found a solution to this problem...
Bug report
The following two lines of code execute the software, but the software fails midway due to a missing DLL: "Failed to execute 'regsvr32 /s CommonEvent.dll'".
When manually executing C:\BackUp\Backup.exe, the program runs and completes its task without issue. I have looked for a solution but have not been able to find the cause of the problem. I would appreciate any help.
Your environment
OS: Windows10
Python 3.11.0
The text was updated successfully, but these errors were encountered: