摘要:
TFiler = class(TObject) private FStream: TStream;//流,将FBuffer缓冲区的内容写入流 FBuffer: Pointer; //内存 FBufSize: Integer;//内存大小 FBufPos: Integer; FBufEnd: Integer; FRoot: TComponent; FLookupRoot: TComponent; F... 阅读全文
摘要:
The GlobalAlloc function allocates the specified number of bytes from the heap. In the linear Win32 API environment, there is no difference between the local heap and the global heap. HGLOBAL GlobalAl... 阅读全文
摘要:
function FileOpen(const FileName: string; Mode: LongWord): Integer;{$IFDEF MSWINDOWS}const AccessMode: array[0..2] of LongWord = ( GENERIC_READ, //DWORD($80000000); GENERIC_WRITE, //$40000000; GENERIC... 阅读全文