Re: Extension on Windows

2010-11-19 Thread Eric Frederich
On Fri, Nov 19, 2010 at 8:12 AM, Ulrich Eckhardt wrote: > Eric Frederich wrote: >> Do I put them [DLL dependencies] in some environment variable? >> Do I put them in site-packages along with the .pyd file, or in some >> other directory? > > Take a look at the LoadLibrary() docs: >  http://msdn.mic

Re: Extension on Windows

2010-11-19 Thread Ulrich Eckhardt
Eric Frederich wrote: > Do I put them [DLL dependencies] in some environment variable? > Do I put them in site-packages along with the .pyd file, or in some > other directory? Take a look at the LoadLibrary() docs: http://msdn.microsoft.com/en-us/library/ms684175(VS.85).aspx These further lead

Re: Extension on Windows

2010-11-19 Thread Eric Frederich
On Fri, Nov 19, 2010 at 7:28 AM, Ulrich Eckhardt wrote: >> Now when I created a 2nd function to wrap a library function I get the >> following. >> >> ImportError: DLL load failed: The specified module could not be found. > > This can mean that the module itself couldn't be loaded or that one of t

Re: Extension on Windows

2010-11-19 Thread Ulrich Eckhardt
Eric Frederich wrote: > I am trying to create an extension on Windows and I may be over my > head but I have made it pretty far. > > I am trying to create bindings for some libraries which require me to > use Visual Studio 2005. > > I set up the spammodule example and in VS set the output file to