- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am compiling an application with 5 dlls and an executable in Visual Studio 2008 on a Vista machine using compiler version 10.1.021. The application runs fine on other Vista machines, but it does not work on XP machines. After using dependency walker, it is looking for DWMAPI.DLL. Is there an issue with the compiler going back from Vista to XP?
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ignore the message about DWMAPI.DLL. It is not important. What is the exact error you get when you try to run on XP? There is no compiler issue. Most likely you need Visual C++ redistributables.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The error I receive is "The application failed to initialize properly (0xc0150002). Click on OK to terminate the application." This is a Fortran program, why do I need the C++ redistributables?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The Fortran run-time library uses the MSVC library. You must have linked to the DLL form of the run-time library. Follow the link I gave and install the package shown there on the target system.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page