[C++-sig] helloworld example compiles and passes test but wont run on its own

Nat Goodspeed nat at lindenlab.com
Sat Jul 12 15:19:36 CEST 2008


FoxMulder900 wrote:

> I am getting an error when
> it trys to import hello_ext:
> 
> ImportError: DLL load failed: The specified module could not be found.
> 
> I copied hello.py into the folder with the .pyd, .lib, .manifest etc... but
> there are no DLLs

I'm glad your problem has been solved. FWIW, the .pyd IS the .dll. As of 
Python 2.5, the interpreter no longer attempts to load plain .dlls; when 
you build a Python extension module, you must rename it to .pyd instead 
of .dll.



More information about the Cplusplus-sig mailing list