- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am using the following to build a fortran DLL.
Platform: 32 bit, Windows Server 2008, Intel Fortran (most recent version, downloaded yesterday) with VS 2008 Pro.
The compiler options for debug and release are as follows:
DEBUG Fortran Command Line:
/nologo /debug:full /Od /gen-interfaces /warn:interfaces /module:"Debug\\\\" /object:"Debug\\\\" /traceback /check:bounds /libs:static /threads /dbglibs /c
RELEASE Fortran
/nologo /module:"ReleaseOpt\\\\" /object:"ReleaseOpt\\\\" /libs:static /threads /c
Additional: /QaxSSE4.2,SSE4.1,SSSE3,SSE3,SSE2
My Applications - Using managed C++ to load the dll dynamically (using LoadLibrary) and using some of the functions in the DLL.
My problem: The DLL works just fine on Windows 32 bit (desktops and laptops). BUT, it does not work (LoadLibrary call hangs) on 64-bit Laptops. It DOES work on 64-bit (Windows 7) desktops.
I tried a fresh install of Win 7 x64 on 1 laptop and 1 desktop. The application/DLL runs fine on the desktop but not on the Laptop. Both the release and the debug versions dont work.
Any help is very much appreciated.
Thank you very much.
VA
I am using the following to build a fortran DLL.
Platform: 32 bit, Windows Server 2008, Intel Fortran (most recent version, downloaded yesterday) with VS 2008 Pro.
The compiler options for debug and release are as follows:
DEBUG Fortran Command Line:
/nologo /debug:full /Od /gen-interfaces /warn:interfaces /module:"Debug\\\\" /object:"Debug\\\\" /traceback /check:bounds /libs:static /threads /dbglibs /c
RELEASE Fortran
/nologo /module:"ReleaseOpt\\\\" /object:"ReleaseOpt\\\\" /libs:static /threads /c
Additional: /QaxSSE4.2,SSE4.1,SSSE3,SSE3,SSE2
My Applications - Using managed C++ to load the dll dynamically (using LoadLibrary) and using some of the functions in the DLL.
My problem: The DLL works just fine on Windows 32 bit (desktops and laptops). BUT, it does not work (LoadLibrary call hangs) on 64-bit Laptops. It DOES work on 64-bit (Windows 7) desktops.
I tried a fresh install of Win 7 x64 on 1 laptop and 1 desktop. The application/DLL runs fine on the desktop but not on the Laptop. Both the release and the debug versions dont work.
Any help is very much appreciated.
Thank you very much.
VA
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have not heard of this behavior before. I suggest you download Dependency Walker (the x64 version), run it on the laptop and then "open" your DLL with it, to see if it reports any errors.
I will comment that your /Qax option should be simplified - only two specific and one generic code path is supported, and SSE2 is the default anyway.
I will comment that your /Qax option should be simplified - only two specific and one generic code path is supported, and SSE2 is the default anyway.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page