How To Capture the Path to a File that has been Loaded into an Applications Memory Space (240239)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 3.0b
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 5.0a
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q240239 SUMMARY
Under some circumstances, developers might find it necessary to capture the path to an executable file created with Visual FoxPro or the path to a file that is running within an application's address space.
The path and file name of an executable file mapped into the address space of an application can be returned with the GetModuleFileName function of the Windows API.
Modification Type: | Minor | Last Reviewed: | 6/29/2004 |
---|
Keywords: | kbAPI kbhowto KB240239 |
---|
|