Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29253 ディスカッション

DLLs fail following Microsoft.NET framework 2.0 update

michael_green
ビギナー
1,053件の閲覧回数
Hi All,

I have 30-odd DLLs out there with my users. Most of the DLLs have not been rebuilt for at least a year and all run properly. But now, any DLL I rebuild using the original configuration settings fails to run on any machine except mine and one other. I don't know why my machine is different - perhaps it has system settings that the other machines don't have - but the one other machine where the DLLs work is the one where a recent set of Microsoft.NET Framework 2.0 updates failed. At any rate, it was certainly after these updates were applied on the other machines that the problems started.

The error returned from the failed attempts to run the DLLs is 14001 "... application configuration is incorrect ...". I have not changed any configuration settings.

My Fortran command line is:

/nologo /module:"Release/" /object:"Release/" /libs:dll /threads /c

and my linker command line is:

/OUT:"Release/dbspread.dll" /INCREMENTAL:NO /NOLOGO /NODEFAULTLIB:"libcmt.lib" /MANIFEST /MANIFESTFILE:"K:\\371-Forest Management Branch\\FMIS dev\\Source\\VF FMIS\\FMIS\\DLL source\\dbspread\\release\\dbspread.dll.intermediate.manifest" /SUBSYSTEM:WINDOWS /IMPLIB:"Release/dbspread.lib" /DLL kernel32.lib

I think I have tried every other reasonable setting without success. Does anyone have any suggestions as to what's going on and what to do about it?

With many thanks
Mike
0 件の賞賛
1 返信
DavidWhite
高評価コントリビューター II
1,053件の閲覧回数
Mike,

Have you tried using Dependency Walker to check which DLL's are causing the problem?

You can get this from dependencywalker.com. It is free to use.

David
返信