Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

XP to Vista

ocampoca
Beginner
1,551 Views
Hello,

Im using VS2008 with Intel Visual Fortran Compiler 11.0.3452.2008. When I run the program I get an error saying The program has exited with code -1072365566 (0xc0150002) and and a window saying Application Error, the Application failed to initialize properly(0xx0150002). and OK to terminate the program. This program worked fine in XP, but now Im running it on vista and it gives me this error.

Thanks a lot,


0 Kudos
11 Replies
Steven_L_Intel1
Employee
1,551 Views
Is the program linked to DLL libraries or linked statically? What type of prorgam is this (console, Windows application, etc.)?
0 Kudos
ocampoca
Beginner
1,551 Views
Is the program linked to DLL libraries or linked statically? What type of prorgam is this (console, Windows application, etc.)?
Hello,

It is linked to DLL libraries and is a Windows application. I used dependency walker and tells me that MSVCR80.DLL cannot be found.
0 Kudos
Steven_L_Intel1
Employee
1,551 Views
That's what I suspected. You need to install the Visual C++ 2005 Redistributables on the Vista system.
0 Kudos
ocampoca
Beginner
1,551 Views
That's what I suspected. You need to install the Visual C++ 2005 Redistributables on the Vista system.

Hello again,

Thanks for the reply. I installed the Redistributable but it still gives me the same error.

0 Kudos
Steven_L_Intel1
Employee
1,551 Views
Did you build a Debug or Release configuration? You must build a Release configuration to deploy on another system.
0 Kudos
ocampoca
Beginner
1,551 Views
Did you build a Debug or Release configuration? You must build a Release configuration to deploy on another system.

That error appears when I run it in debug mode, but if I run it on release I get the following error:

The thread 'Win32 Thread' (0x127c) has exited with code 1 (0x1), and then the error

The program has exited with code 1 (0x1). I also noticed that the exe files are created and that the program actually runs but just if I run it outside of VS2008. If I try to run it on debug or release mode from VS2008, it gives me that two errors.

0 Kudos
Steven_L_Intel1
Employee
1,551 Views
The "thread has exited" message is not an error.

I didn't ask about how you ran the program but rather how you built it. But if you're capable of running the program under the debugger and see the real error, then I suggest you set a breakpoint at the beginning of the program and step through it to find out where the error is occurring.
0 Kudos
ocampoca
Beginner
1,551 Views
The "thread has exited" message is not an error.

I didn't ask about how you ran the program but rather how you built it. But if you're capable of running the program under the debugger and see the real error, then I suggest you set a breakpoint at the beginning of the program and step through it to find out where the error is occurring.

Hello,

Sorry I think I was not clear enough. I am building and running on Vista, and this program was working fine when I ran it and built it on XP. When I try to build the program either on debug or in release, I get the errors I mentioned before, and cannot debug and cannot put a breakpoint even at the beginning of the program. The exe are created and the problem is that I cannot put them to run using VS2008 but just to run them outside it.

0 Kudos
Steven_L_Intel1
Employee
1,551 Views
What happens if you change the Libraries > Use run-time library property to "Multithreaded"?
0 Kudos
ocampoca
Beginner
1,551 Views
What happens if you change the Libraries > Use run-time library property to "Multithreaded"?

I had it just like that.
0 Kudos
Steven_L_Intel1
Employee
1,551 Views
Take the EXE you build on XP and run it on Windows. What happens? Take the EXE you build on Vista and run it on XP. What happens?
0 Kudos
Reply