34 lines
1.1 KiB
Plaintext
34 lines
1.1 KiB
Plaintext
From: MHammond at skippinet.com.au (Mark Hammond)
|
|
Date: Mon, 19 Apr 1999 09:24:04 +1000
|
|
Subject: win32api and win32ui import error
|
|
References: <7fbcpq$2jb$1@nnrp1.dejanews.com>
|
|
Message-ID: <7fdpi8$lvg$1@m2.c2.telstra-mm.net.au>
|
|
X-UID: 1400
|
|
|
|
hj_ka at my-dejanews.com wrote in message <7fbcpq$2jb$1 at nnrp1.dejanews.com>...
|
|
>>>> import win32api
|
|
>
|
|
>"exceptions.ImportError: DLL load failed: The process cannot access
|
|
>the file because it is being used by another process."
|
|
|
|
This is a stragne one. Never ever seen anything like this.
|
|
|
|
First step: Does "import pywintypes" work? If not, the problem is related
|
|
to "pywintypes15.dll", otherwise the problem is related to win32api.pyd. My
|
|
guess is the former, as win32ui fails in the same way.
|
|
|
|
Only thing I can suggest is removing pywintypes15.dll from the system
|
|
directory, then re-extracting it using winzip from win32all-124.exe.
|
|
|
|
That is the only thing I can think off. The error message implies some
|
|
other process has it open for "write" - or it is corrupted in some way?
|
|
|
|
Mark.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|