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

GETDRIVEDIRQQ with MultiThread DLL

matteo_massaro
Beginner
584 Views
When executing the following test code for GETDRIVEDIRQQ routine
in Release configuration, with MultithreadDLL as Runtime Library,
I can compile, I can link, but when I try to execute, I've got a DLL
initialization problem !?

USE IFPORT
CHARACTER($MAXPATH) dir
INTEGER(4) length

! Get current directory
dir = FILE$CURDRIVE
length = GETDRIVEDIRQQ(dir)

Please note that all setting are those set by default when creating a
new console application, except the Runtime library. Moreover I have
no problem if I comment the line with GETDRIVEDIRQQ or if I run
in Debug configuration with DebugMultiThreadDLL.

Any ideas ??


0 Kudos
3 Replies
matteo_massaro
Beginner
584 Views
I've got DLL initialization problem if the code is into a DLL, whereas I've got a generic initialization problem, if the code is into a console.
0 Kudos
Jugoslav_Dujic
Valued Contributor II
584 Views
Download and install Dep?ndency Walker, then open your DLL with it. It will probably indicate a missing dependent dll -- which one is it?
0 Kudos
matteo_massaro
Beginner
584 Views
I've tried with Dependeny Walker: unfortunately it seems all ok!
0 Kudos
Reply