Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29375 Discussões

DLL 32 bit vs 64 bit on Mobile Platforms

vikrantca
Principiante
605 Visualizações
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
0 Kudos
1 Responder
Steven_L_Intel1
Funcionário
605 Visualizações
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.
Responder