简体   繁体   中英

DLL Load Failed, Not a Valid Win32 App showing for both x86 & x64 DLLs

Trying to run the latest version of heatmap. http://jjguy.com/heatmap/

DLL load keeps crapping out on me in both 64 & 32 bit dlls. (Similar questions on this seemed irrelevant as I've tried loading both DLLs)

I'm running Windows 7. I have uninstalled and re-installed 2.7.3 64 bit.

Idle Top line:

Python 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)] on win32

I've tried loading

C:\\Python27\\DLLs\\cHeatmap-x86.dll

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

C:\\Python27\\DLLs\\cHeatmap-x64.dll

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

I can run heatmap 1.1 but that was before DLLs were added.

Do you have this dll? C:\\Windows\\System32\\msvcr110.dll

Copying the dll from another computer fixed the problem for me, not sure how.

Resolved. Blank DLL files were created by the build.bat because the environment variable vcinstalldir is blank if a full version of visual studio isn't installed. DLLs were blank, filesize 0KB

Loaded clean DLLs from github. Filesize 9 & 10kb.

Heatmap library imports & functions as designed.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM