[python-win32] imp.load_module problem
Mark Hammond
skippy.hammond at gmail.com
Fri Jan 9 00:44:35 CET 2009
On 9/01/2009 7:46 AM, Adam Pletcher wrote:
> imp.load_module(modName, None, modulePath, ('.dll', 'rb', imp.C_EXTENSION))
> ImportError: DLL load failed: The application has failed to start
> because its side-by-side configuration is incorrect. Please see the
> application event log for more detail.
>
> If it's relevant, the Python DLLs and pywin32 files were built with
> VS2008 on both configurations.
>
> I've searched around for this with no luck. Any suggestions?
You need the full assembly for the debug DLLs installed globally or next
to your app. Simply having the .DLLs without the .assembly file and
without every DLL referenced in the assembly (there are 3 IIRC) isn't
good enough.
Cheers,
Mark
More information about the python-win32
mailing list