Results 1 to 2 of 2

Thread: [Qt 5] Dependency Walker and 32/64 bit dll

  1. #1
    Join Date
    Jan 2013
    Location
    Temecula, CA
    Posts
    19
    Thanks
    11
    Qt products
    Qt5
    Platforms
    Windows

    Question [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:
    forforum.jpg

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default 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.

  3. The following user says thank you to ChrisW67 for this useful post:

    Salads (13th February 2013)

Similar Threads

  1. Qt, Windows 7, Dependency Walker and Deployment Problems
    By Jits in forum Installation and Deployment
    Replies: 11
    Last Post: 13th October 2010, 05:42
  2. Can you use dependency injection with Qt?
    By photo_tom in forum Qt Programming
    Replies: 0
    Last Post: 20th February 2010, 18:34
  3. Library dependency in Qt 4.6
    By Tino in forum Installation and Deployment
    Replies: 1
    Last Post: 7th December 2009, 18:28
  4. QCheckBox dependency
    By jd in forum Qt Programming
    Replies: 2
    Last Post: 1st April 2008, 13:12
  5. DLL dependency?
    By duschl in forum Qt Programming
    Replies: 3
    Last Post: 10th April 2006, 17:34

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.