Problems with string literals and etc.c.odbc.sql functions

Kagamin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Dec 19 09:21:26 PST 2015


Well, ISO 9075-3 doesn't use const qualifiers, but uses IN/OUT 
qualifiers instead, e.g. ExecDirect function is declared as:

ExecDirect (
    StatementHandle IN INTEGER,
    StatementText   IN CHARACTER(L),
    TextLength      IN INTEGER )
    RETURNS SMALLINT

And in C header:

SQLRETURN SQLExecDirect(SQLHSTMT StatementHandle, SQLCHAR 
*StatementText, SQLINTEGER TextLength);


More information about the Digitalmars-d-learn mailing list