Форум - Ответы     (  К темам )
 ?  Артём: Какие есть виндошные аналоги досовских fopen() (08-04-2003 15:39:00)
Kакие есть виндошные аналоги досовских fopen()
 Art (08-04-2003 16:18:16)
FileOpen
-------------
Opens a specified file using a specified access mode.

Unit

Sysutils

Category

file management routines

extern PACKAGE int __fastcall FileOpen(const AnsiString FileName, int Mode);

Description

Use FileOpen to open a file and obtain its Windows file handle. The access mode value is constructed by or-ing one of the fmOpen constants with one of the fmShare constants defined in File open mode constants. If the return value is positive, the function was successful and the value is the file handle of the opened file. A return value of -1 indicates that an error occurred.
 Petro (10-04-2003 14:56:37)
CreateFile


support@cbuilder.ru