Hi!
When trying to compile a DB-Library programme involving the following piece of code:

dbbind (dbproc, 2, INTBIND, 0, time);

I receive the following compile time error:

error C2664: `dbbind` : cannot convert parameter 5 from `long` to `unsigned char *`

The table column that I am trying to bind the variable to has been defined as an integer and the actual variable itself has been defined as a DBINT. Why am I getting this error message and how do I get rid of it?
Help!!!!
Cheers, Marc