EDN Admin
Well-known member
Hi - 5 people have all made similar complaints that the latest version of my app crashes when they try to run it. I created a version with logging built into it, but it seems to crash before it reaches InitInstance within my app object (mine is an
MFC app, built with VC++ 2010). I even put a call to AfxMessageBox as the first line in CMyApp::InitInstance, but it doesnt appear.
I used PC sharing software to connect to the PC of one of the people with the problem and I downloaded Dependency Walker onto his PC and used that to profile my app. This was the latest version 2.2.6000. I used the 64-bit version because his
version of Windows is 64 bit. But my app is 32-bit.
If I run Dependency Walker on my own PC, I get 2 warning messages, but no error messages, and it runs fine.
On this persons PC, I got 3 error messages and 2 warning messages, and "Start Profiling" was greyed out. So I couldnt even try to run it under Dependency Walker.
The messages on his PC were:
Error: At least one required implicit or forwarded dependency was not found <br/>
Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module <br/>
Error: Modules with different CPU types were found. <br/>
Warning: At least one delay-load dependency module was not found <br/>
Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module
Only two modules were shown as having an error. These were CRTDLL.DLL and IESHIMS.DLL, both of which were not found. I was able to copy versions of both of these DLLs into the folder my program runs from. When I did this, I got rid of one
error message and one warning message, but that still left 2 errors and one warning:
Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module <br/>
Error: Modules with different CPU types were found. <br/>
Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module
I could find no way at all of finding out which modules these messages related to. There was no indication of any problems within any of the modules in the list at this point.
For interest, if I use Dependency Walker on my own PC, it says that I have 2 missing modules (IESHIMS.DLL and WER.DLL) and I get the same two warning messages - but it doesnt cause me any problems and I can run the program on my PC with no problems, and
even profile it under Dependency Walker.
Another user who had the same problem sent me two error report files that I believe were generated by Microsoft. I have put these here in case they mean anything to anyone:
<a title="https://skydrive.live.com/redir.aspx?cid=b33704af6ccd2371&resid=B33704AF6CCD2371!113 https://skydrive.live.com/redir.aspx?cid=b33704af6ccd2371&resid=B33704AF6CCD2371!113 https://skydrive.live.com/redir.aspx?cid=b33704af6ccd2371&resid=B33704AF6CCD2371!113
Any suggestions as to how to fix this problem - or even how to go about diagnosing what it is - would be very much appreciated! I urgently need to get this fixed.
<hr class="sig Simon
View the full article
MFC app, built with VC++ 2010). I even put a call to AfxMessageBox as the first line in CMyApp::InitInstance, but it doesnt appear.
I used PC sharing software to connect to the PC of one of the people with the problem and I downloaded Dependency Walker onto his PC and used that to profile my app. This was the latest version 2.2.6000. I used the 64-bit version because his
version of Windows is 64 bit. But my app is 32-bit.
If I run Dependency Walker on my own PC, I get 2 warning messages, but no error messages, and it runs fine.
On this persons PC, I got 3 error messages and 2 warning messages, and "Start Profiling" was greyed out. So I couldnt even try to run it under Dependency Walker.
The messages on his PC were:
Error: At least one required implicit or forwarded dependency was not found <br/>
Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module <br/>
Error: Modules with different CPU types were found. <br/>
Warning: At least one delay-load dependency module was not found <br/>
Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module
Only two modules were shown as having an error. These were CRTDLL.DLL and IESHIMS.DLL, both of which were not found. I was able to copy versions of both of these DLLs into the folder my program runs from. When I did this, I got rid of one
error message and one warning message, but that still left 2 errors and one warning:
Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module <br/>
Error: Modules with different CPU types were found. <br/>
Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module
I could find no way at all of finding out which modules these messages related to. There was no indication of any problems within any of the modules in the list at this point.
For interest, if I use Dependency Walker on my own PC, it says that I have 2 missing modules (IESHIMS.DLL and WER.DLL) and I get the same two warning messages - but it doesnt cause me any problems and I can run the program on my PC with no problems, and
even profile it under Dependency Walker.
Another user who had the same problem sent me two error report files that I believe were generated by Microsoft. I have put these here in case they mean anything to anyone:
<a title="https://skydrive.live.com/redir.aspx?cid=b33704af6ccd2371&resid=B33704AF6CCD2371!113 https://skydrive.live.com/redir.aspx?cid=b33704af6ccd2371&resid=B33704AF6CCD2371!113 https://skydrive.live.com/redir.aspx?cid=b33704af6ccd2371&resid=B33704AF6CCD2371!113
Any suggestions as to how to fix this problem - or even how to go about diagnosing what it is - would be very much appreciated! I urgently need to get this fixed.
<hr class="sig Simon
View the full article