[Bf-committers] bpy.dll

Paolo Basso pa.basso at gmail.com
Wed Mar 23 19:45:54 CET 2011

I tried also this way but I get the following error message (translated from

ImportError: DLL load failed: %1 is not a Win32 valid application.

It is possible that the dll has to be compiled with the same compiler as
python (visual studio)?
I compiled using mgwin.

4.3. Using DLLs in Practice



2011/3/23 Mitchell Stokes <mogurijin at gmail.com>

> On Windows, C Extension modules for Python have the extension .pyd
> instead. So, try renaming the module from bpy.dll to bpy.pyd.
> Cheers,
> Mitchell
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers

More information about the Bf-committers mailing list