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.

VS2005 & IVF Debugging

CharlieG
Beginner
798 Views
I have a Fortran project in VS2005 that runs fine in Release mode but when I try to debug itI get "Unable to load DLL 'FCCmod.dll': A dynamic link library (DLL) initialization routine failed (Exception from HRESULT: 0x8007045A)." I've run Depend.exe on FCCmod.dll and all the dependencies are found. Any suggestions on what's going wrong?
0 Kudos
5 Replies
Steven_L_Intel1
Employee
798 Views
Do you have a DLL initialization routine? (DllMain or something like that.) Can you start the program without debugging?
0 Kudos
CharlieG
Beginner
798 Views
I have no idea what's going on. The code will debug just fine on 2 of my 3 computers. On the one where it won't I just uninstalled and reinstalled VS2005 and IVF but it made no difference.Guess I'll just debug on a diferent machine.
0 Kudos
Steven_L_Intel1
Employee
798 Views
It might be a DLL initialization routine in one of the dependent DLLs. It's not a problem I've seen before, though, and I have no clue why it would affect debugging only.
0 Kudos
CharlieG
Beginner
798 Views
Found the problem. I had an old version of libifcoremdd.dll in c:windowssystem32 that was getting picked up before the correct version in C:Program FilesIntelCompilerFortran9.1IA32Bin. Thanks for your help.
0 Kudos
Steven_L_Intel1
Employee
798 Views
Interesting. I'll have to remember that for the future. The compiler install doesn't put the DLL there but I can well imagine someone doing so manually.
0 Kudos
Reply