Re: [python-win32] imp.load_module problem

2009-01-09 Thread Mark Hammond
On 10/01/2009 4:59 AM, Adam Pletcher wrote: We don't appear to have any .assembly files, even after building Python or pywin32, so I think I'm missing something. Could you elaborate a bit, Mark? Oops - I misspoke - you are looking for a .assembly file - but it comes with VS rather then being

Re: [python-win32] imp.load_module problem

2009-01-09 Thread Adam Pletcher
We don't appear to have any .assembly files, even after building Python or pywin32, so I think I'm missing something. Could you elaborate a bit, Mark? Thanks in advance. - Adam On Thu, Jan 8, 2009 at 5:44 PM, Mark Hammond wrote: > On 9/01/2009 7:46 AM, Adam Pletcher wrote: >> >>imp.load_mod

Re: [python-win32] imp.load_module problem

2009-01-08 Thread Mark Hammond
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 detai

[python-win32] imp.load_module problem

2009-01-08 Thread Adam Pletcher
We've created a Windows app with an embedded Python interpreter (2.6.1). The deployment includes the files for pywin32 on both x86 Release and Debug builds. Since pywin32 isn't formally installed, I found it necessary to manually import a couple modules at startup before others would import corre