- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 ??
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Download and install Dep?ndency Walker, then open your DLL with it. It will probably indicate a missing dependent dll -- which one is it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've tried with Dependeny Walker: unfortunately it seems all ok!

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