Missing DCAL for Delphi Constants?
Posted: Wed Aug 09, 2017 9:08 am
I am attempting to use the f_open function in a D4D macro
and am getting a compiler error that the mode value fmode_open, used in DCAL macros is not a declared constant. My macro 'uses' the uconstants.pas file, but it does not include a declaration of the fmode values. Referring back to the DCAL manual there should be three constant values: fmode_read, fmode_read_write, & fmode_write. Does anyone know where they are declared or what the 'asint' values assigned to each are?
Code: Select all
FUNCTION f_open(VAR fl: fileType; Name: ShortString; Text: boolean;
mode: aSInt): aSInt; stdcall; external AppName;
and am getting a compiler error that the mode value fmode_open, used in DCAL macros is not a declared constant. My macro 'uses' the uconstants.pas file, but it does not include a declaration of the fmode values. Referring back to the DCAL manual there should be three constant values: fmode_read, fmode_read_write, & fmode_write. Does anyone know where they are declared or what the 'asint' values assigned to each are?