How to check if creation of DBF record succeeded using AdsExecuteSQLDirectW
Posted: Tue Jun 15, 2021 10:59 am
Dick,
I am not sure with which build of X# you are working.
But in the current build the tooltip and completion code show parameter 2 as this:
If you look at the prototype in our source code it is written as:
The [Inattribute] and [OutAttribute] tell you that you need to pass in a buffer of type CHAR[] and that Advantage will write to this buffer.
Robert.
I am not sure with which build of X# you are working.
But in the current build the tooltip and completion code show parameter 2 as this:
If you look at the prototype in our source code it is written as:
Code: Select all
PUBLIC STATIC METHOD AdsGetLastError(pulErrCode OUT DWORD, [InAttribute] [OutAttribute] strBuf AS CHAR[], pusBufLen REF WORD ) AS DWORD
The [Inattribute] and [OutAttribute] tell you that you need to pass in a buffer of type CHAR[] and that Advantage will write to this buffer.
Robert.