1 Attachment(s)
[Qt 5] Dependency Walker and 32/64 bit dll
Ok, so first off I'm running on Windows 7, x64 bit. When I run dependency walker with my statically compiled program(it's x32) I see many "wrong CPU type" warnings and one missing dll, IESHIMS.DLL
The program works on both my computer and another x64 Win7 computer that does not have Qt on it. I heard that if a x32 process runs on a x64 system on windows it will first go to "Windows/System32" and if the bit size doesn't match (needs x32 bit) then it will be redirected to "Windows/SysWOW64" (which apparently holds the x32 dll libraries). Is there a way to just get rid of these warnings? Perhaps just by compiling for both x32 and x64?
For the IESHIMS.dll, Why does dependency walker show that I need it? The program works fine with it, and I can see it in my "Program Files/ Internet Explorer", but haven't put it in the same directory or anything.
Here's a screenshot of my Dependency Walker screen:
Attachment 8710
Re: [Qt 5] Dependency Walker and 32/64 bit dll
IEShims.dll and WER.dll are frequent visitors to the Dependency Walker output and can be safely ignored.
The other warnings are possibly the result of using the 64-bit Dependency Walker to process your 32-bit exe. Try the 32-bit version of DW, which should be subject to the same "helpful" redirection of DLL load and registry accesses as your 32-bit application would be.