I've been looking at the DB example in the demos, after a few easy changes to update he code, I still have an error
Db.c(916): error #2140: Type error in argument 2 to 'SQLAllocConnect'; expected 'void * *' but found 'int'.
in the ODBC.inc line 171
retcode = SQLAllocConnect(hEnv, &hDbc)
which BC tranlates to:
retcode=SQLAllocConnect(hEnv,0xDbc);
Ian
Db.c(916): error #2140: Type error in argument 2 to 'SQLAllocConnect'; expected 'void * *' but found 'int'.
in the ODBC.inc line 171
retcode = SQLAllocConnect(hEnv, &hDbc)
which BC tranlates to:
retcode=SQLAllocConnect(hEnv,0xDbc);
Ian