The source OdbcApi.pas has a little errors that the DLL source don't compile in D6.
This lines and others has the same error:
SQL_MODE_READ_WRITE = 0UL;
SQL_MODE_READ_ONLY = 1UL;
The correct is:
SQL_MODE_READ_WRITE = 0;
SQL_MODE_READ_ONLY = 1;
Or a define of 0UL and 1UL is loose ??
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The source OdbcApi.pas has a little errors that the DLL source don't compile in D6.
This lines and others has the same error:
SQL_MODE_READ_WRITE = 0UL;
SQL_MODE_READ_ONLY = 1UL;
The correct is:
SQL_MODE_READ_WRITE = 0;
SQL_MODE_READ_ONLY = 1;
Or a define of 0UL and 1UL is loose ??
The xUL syntax seems to have been removed from Delphi 6 SP 2.
This was automatically generated by the headconv conversion of the ODBC API headers.
I have corrected to xUL to ULONG(x) in the new version.