BUG: GetModuleFileName() Returns Relative File Path (85330)
The information in this article applies to:
- Microsoft Windows Software Development Kit (SDK) 3.1
This article was previously published under Q85330 SYMPTOMS
When the GetModuleFileName() function returns a reference to a dynamic-link
library (DLL) file, the reference is relative (not fully qualified) under
the following circumstances:
- One of the directory references in the MS-DOS PATH environment variable
is relative. Assume that the relative directory reference refers to
drive X.
- An application is implicitly linked to a DLL. The DLL is installed in
the current (default) directory of drive X.
- The application is installed in a directory other than the one in which
the DLL is installed.
STATUS
Microsoft has confirmed this to be a bug in Windows version 3.1. We are
researching this problem and will post new information here in the
Microsoft Knowledge Base as it becomes available.
Modification Type: | Major | Last Reviewed: | 11/6/1999 |
---|
Keywords: | KB85330 |
---|
|