|
|
|
| |
|
| #WhiteUnicorn/ StartPage/ Documentation/DelphiFAQ > |
|
| |
How do I get a file handle when using Delphi file variables?
If you are using a TextFile, typecast your your textfile variable like this to expose the handle property: TheHandle := TTextRec(MyFile).handle; For binary files, typecast your file variable like this: TheHandle := TFileRec(MyFile).handle;
|
| |
|
| #WhiteUnicorn/ StartPage/ Documentation/DelphiFAQ > |
|
| |
|
| ||
|
|
|
|
|
| ||