Hi,
I tried to use the WinAPI functions that access the windows registry, but I ran into some problems at compile time.
The following examples from the FTN95 tutorial are compiling just fine.
STDCALL SUB2 'GetAttr':INTEGER STDCALL SUB4 'GetSize' (REF,VAL,VAL,INSTRING,OUTSTRING(100)) STDCALL CSUB3(REF,STRING(20)):STRING
Then I tried to compile the following call:
STDCALL REGSETVALUE 'RegSetValueA' (VAL,STRING,VAL,STRING,VAL):INTEGER
It doesn't compile and tells me 'error 904 - Return type is expected. Found: (VAL,STRING,VAL,STRING,VAL):INTEGER'
I copied that line directly from the 'win32api.ins' file and it seems to fit the syntax given in the tutorial. If I reduce it to the following line, however, it does compile:
STDCALL REGSETVALUE 'RegSetValueA':INTEGER
Am I doing or thinking something wrong ? Thank you