When I launch onefile executable, prepared with PyInstaller 2.1, I get 
error:

---------------------------
Microsoft Visual C++ Runtime Library
---------------------------
Runtime Error!

Program: ..\MyProgram.exe

R6034

An application has made an attempt to load the C runtime library 
incorrectly.
Please contact the application's support team for more information.


---------------------------
ОК   
---------------------------

If put these files into folder with onefile executable MyProgram.exe, 
everything is working:

mfc90.dll
Microsoft.VC90.CRT.manifest
Microsoft.VC90.MFC.manifest
msvcm90.dll
msvcp90.dll
msvcr90.dll
MyProgram.exe.manifest
----------------------------

dumpbin /DEPENDENTS MyProgram.exe

Dump of file MyProgram.exe

File Type: EXECUTABLE IMAGE

  Image has the following dependencies:

    USER32.dll
    KERNEL32.dll
    WS2_32.dll

  Summary

        B000 .data
        7000 .rdata
       18000 .rsrc
       1B000 .text
-----------------
MyProgram.exe contains no manifest inside its resources.

When I see error message, there is folder _MEI14362 in windows Temp 
directory.
It contains all these files:mfc90.dll
Microsoft.VC90.CRT.manifest
Microsoft.VC90.MFC.manifest
msvcm90.dll
msvcp90.dll
msvcr90.dll
MyProgram.exe.manifest
, but windows does not see them.
Only copying to the folder with onefile executable helps.

Please help me. How to make onefile executable working without mfc and crt 
dll files in the same folder with it?

 

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to