Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

IVF and DLLs

kstultz
Beginner
764 Views

I've used IVF 9.1 to develop a console application that makes use of a DLL that
I also developed with IVF 9.1. On the computer I used for the development,
everything works fine. There's nothing fancy involved (no multi-threading, etc.). The DLL performs simple engineering calculations and the executable calls the DLL and reports the results. I've compiled both the executable and the DLL as release version.

If I take the executable and the dll to another computer (any other computer),
I get an error message -"The application failed ot initialize properly
(0xc0150002). Click on OK to terminate the application."

I'm guessing that there is a supporting dll or two that I must also put on the
second computer to get the software to run. Could someone point me to where this is discussed in the documentation so I can see what I need? I've tried the utility at www.dependencywalker.com and I'm not getting anywhere with it.

Isn't there a list of supporting DLL's somewhere?

Thanks,

Kenny Stultz

0 Kudos
4 Replies
Steven_L_Intel1
Employee
764 Views
I don't understand what you mean by you "didn't get anywhere" with Dependency Walker. Didn't it identify the dependent DLLs that are missing?
0 Kudos
kstultz
Beginner
764 Views

My apologies for not being more clear. Here's the whole story.

Dependency Walker initially identified 2 dlls: libifcoremd.dll and msvcr80.dll. I got libifcoremd.dll from the development computer and downloaded msvcr80.dll from Microsoft.

The application still wouldn't start on the test computer, so I tried Dependency Walker again and it now identified libmmd.dll as needed, so I got that one off the development computer.

The application still wouldn't start, so I tried Dependency Walker again and now get a message that says "Error: At least one modle has an unresolved export function in an implicitly dependent module." msvcr80.dll is in red in the Dependency Walker tree view window, so I'm guessing that's the culprit, but I have no idea how to proceed.

I have two test computers, one running Windows 2003 Server and the other running Windows XP Professional. The application won't run on either one, yet it runs fine on the computer where IVF is installed.

Thanks for any help you can offer.

Kenny

0 Kudos
Steven_L_Intel1
Employee
764 Views
Try downloading and running the Visual C++ Redistributables Package on the target system. VS2005 complicates this.
0 Kudos
kstultz
Beginner
764 Views

Steve,

Thanks very much. That did the trick.

Kenny

0 Kudos
Reply