Location: Symbol Reference > Functions > Memory Function
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
Memory Function
Pascal
procedure Memory(const MemoryType: TJwMemoryType; const MemType: TJwString; const ClassName: TJwString; const MethodName: TJwString; const FileName: TJwString; const LogMessage: TJwString); safecall; overload;
Parameters 
Description 
const MemoryType: TJwMemoryType 
defines the type of memory allocation. See TJwMemoryType for more information  
const MemType: TJwString 
defines which type of (de-)allocation mechanism is used (like GetMem)  
const ClassName: TJwString 
defines the classname where the method is located. Can be empty if the method is not in a class. In this case the attribute is ignored.  
const MethodName: TJwString 
defines the name of the method or function  
const FileName: TJwString 
defines the filename where the method is located. The filename can contain a source line at the end of string succeeded by a colon.  
const LogMessage: TJwString 
defines the message to be shown. 

Memory creates a memory information log entry with log source information. Application can log allocations and deallocations of memory for leak search. 

 

Copyright (c) 2010. All rights reserved.
This help was created by Doc-O-Matic sponsored by toolsfactory software inc.
What do you think about this topic? Send feedback!