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 have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
29308 Discussions

application configuration incorrect

Tom_C_
Beginner
1,125 Views

I havea simple vb.net form which calls a fortran .dll It runs fine in Visual studio 2005 and I can put the .exe and the .dll in a folder on my computer and italso runs fine. However, when I try to put it on another computer the VB comes up fine but when it tries to access the .dll I get - unable to load the dll - application configuration is incorrect exception from HRESULT 0x800736B1.Doesn't matter if i copy the files or make an .msi and install.I ran the depends utilty which said I'm missing msvcr80D.dll but a search on my c: drive (where the program runs) doesn't find this file. Suggestions?

0 Kudos
5 Replies
Steven_L_Intel1
Employee
1,125 Views

You need to install the Microsoft Visual C++ 2005 Redistributables Installer on the other system.

0 Kudos
Tom_C_
Beginner
1,125 Views
Steve, thanks for the reply. Unfortunately, it didn't solve the problem.Other ideas?
Tom

0 Kudos
Steven_L_Intel1
Employee
1,125 Views

Sorry - there was a big clue in your first post and I missed it. You cannot redistribute a "debug" build of an application. Build it as a "Release" configuration and it should be ok. You could also, if this DLL is called only from VB (and not from Fortran), go into the Fortran properties and select Libraries > Use Run-Time Library > Multithreaded (/MT).

0 Kudos
Tom_C_
Beginner
1,125 Views
Steve,
Thanks for the suggestion. The fortran part appears to work fine now.
Tom

0 Kudos
Steven_L_Intel1
Employee
1,125 Views
I'm glad to hear it. Please take a moment to click on Edit Profile to the right and select a "display name" that is not your email address.
0 Kudos
Reply