Cannot run the exe of my application
-
I have been working on VS2005 for the past one month now. I am working on an MFC application which runs fine when run through code. When I try to run the exe of my application from the debug/release folder, a runtime error with a message "This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information". When I use Dependency Walker, I see that the exe makes a reference to DWMAPI.dll. I searched on Google and found out that DWMAPI.dll is not available on WindowsXP. Some other people had mentioned about the same problem, suspecting that IE7 might be the cause for the problem. I uninstalled IE7 and the exe still could not be run. After uninstalling IE7, the Dependency Walker says that it could not find IEUI.exe along with DWMAPI.dll. So, I think IE7 was not the cause for the problem. I have been trying to solve it since past two days, but with no success. I had never had that error popping up when I used to write applications in VS2003. Had anyone come across this problem before? If yes, what did you do to solve it.
Regards, Vijay.
-
I have been working on VS2005 for the past one month now. I am working on an MFC application which runs fine when run through code. When I try to run the exe of my application from the debug/release folder, a runtime error with a message "This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information". When I use Dependency Walker, I see that the exe makes a reference to DWMAPI.dll. I searched on Google and found out that DWMAPI.dll is not available on WindowsXP. Some other people had mentioned about the same problem, suspecting that IE7 might be the cause for the problem. I uninstalled IE7 and the exe still could not be run. After uninstalling IE7, the Dependency Walker says that it could not find IEUI.exe along with DWMAPI.dll. So, I think IE7 was not the cause for the problem. I have been trying to solve it since past two days, but with no success. I had never had that error popping up when I used to write applications in VS2003. Had anyone come across this problem before? If yes, what did you do to solve it.
Regards, Vijay.
vijay7173 wrote:
When I use Dependency Walker, I see that the exe makes a reference to DWMAPI.dll.
With and without the IDE?
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
-
I have been working on VS2005 for the past one month now. I am working on an MFC application which runs fine when run through code. When I try to run the exe of my application from the debug/release folder, a runtime error with a message "This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information". When I use Dependency Walker, I see that the exe makes a reference to DWMAPI.dll. I searched on Google and found out that DWMAPI.dll is not available on WindowsXP. Some other people had mentioned about the same problem, suspecting that IE7 might be the cause for the problem. I uninstalled IE7 and the exe still could not be run. After uninstalling IE7, the Dependency Walker says that it could not find IEUI.exe along with DWMAPI.dll. So, I think IE7 was not the cause for the problem. I have been trying to solve it since past two days, but with no success. I had never had that error popping up when I used to write applications in VS2003. Had anyone come across this problem before? If yes, what did you do to solve it.
Regards, Vijay.
You're missing that DWMAPI.DLL is a delay-loaded DLL and will only be loaded by IEFRAME.DLL if a referenced function is actually called (which it won't be because it's not running on Windows Vista). This message is displayed whenever
abort()
is called. You may be allowing a C++ exception to go unhandled, which I believe ultimately calls abort.DoEvents: Generating unexpected recursion since 1991