EurekaLog
Menu

EurekaLog 7 Manual

GetModuleName - EurekaLog 7 Documentation

Returns the fully qualified name of a module, given its handle.

Unit

ELowLevel

Syntax

function GetModuleName(

const AModule: HMODULE

): string;

Parameters

AModule

A module's handle (instance).

Return value

File name of the AModule module.

Remarks

Call GetModuleName to obtain the fully qualified name of a module, given its handle.

Module is the handle of the module whose file name is required.

Warning

On Linux and Macintosh, GetModuleName is not always successful. Depending on the way the application is called, on the presence of the /proc file system, and other factors, there are times when GetModuleName may return a name that is not fully qualified or, in some cases, no file name at all. Be sure to check the results of this function before using the returned value.

Note

This is a duplicate of SysUtils.GetModuleName. It's placed here because some low-level routines need it, but low-level routines can't use SysUtils unit.

See also



Send feedback... Build date: 2015-09-24
Last edited: 2015-09-24
PRIVACY STATEMENT
The documentation team uses the feedback submitted to improve the EurekaLog documentation. We do not use your e-mail address for any other purpose. We will remove your e-mail address from our system after the issue you are reporting has been resolved. While we are working to resolve this issue, we may send you an e-mail message to request more information about your feedback. After the issues have been addressed, we may send you an email message to let you know that your feedback has been addressed.

Permanent link to this article: http://www.eurekalog.com/help/eurekalog/topic_function_elowlevel_getmodulename.php