JCL Help:ReadModuleData
From Project JEDI Wiki
Jump to navigationJump to searchJCL Help: ReadModuleData Function
Search in JCL Help
Search in all projects
Summary
Reads the data of an exported variable.
Pascal
function ReadModuleData(Module: TModuleHandle; SymbolName: string; var Buffer; Size: Cardinal): Boolean;
Parameters
Parameters | Description |
Module: TModuleHandle | Handle to the loaded module. |
SymbolName: string | Name of the exported variable to access. |
var Buffer | The untyped destination of the copy. |
Size: Cardinal | Amount of bytes to copy. |
Description
ReadModuleData copies the contents of the exported variable SymbolName to Buffer. Size tells the amount of bytes to be copied. This function allows to access variables in dynamic modules which are not directly accessible in Pascal. Beware! You are accessing the DLL memory image directly. Be sure to access a variable not a function and be sure to read the correct amount of data.
See Also
About
Unit
Donator
Robert Marquardt
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page