Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.python
Re: dll in project?
Tim Golden
3/15/2010 8:41:00 AM
On 15/03/2010 03:43, Alex Hall wrote:
> I have a dll I am trying to use, but I get a Windows error 126, "the
> specified module could not be found". Here is the code segment:
> nvdaController=ctypes.windll.LoadLibrary("nvdaControllerClient32.dll")
>
> I have the specified dll file in the same directory as the file trying
> to use said dll
The DLL search path:
http://msdn.microsoft.com/en-us/library/7d83bc18%28VS....
includes the directory which holds the executable for the current prcoess;
it include the current directory; and it includes other things which I
doubt apply here.
But it doesn't include (if I may be permitted a little well-intentioned
ridicule) the directory where the current Python module is stored.
In other words: what does os.getcwd () return?
TJG
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Re: dll in project?
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password