|
Posted by Simon Hayes on 10/01/19 11:27
vishal.k.s@gmail.com wrote:
> Hello,
>
> I have some code that uses ODBC to retreive column information
> from a SQL Server database. The call to ::SQLColumns succeeds.
> I then bind my C variables to the HSTMT handle. I then call
> ::SQLFetch to get the next row. ::SQLFetch crashes with an
> access violation. I am unable to debug
>
> The same code works without issue against a MySQL database.
>
> Has anyone ever encountered this crash?
> Is there a work-around anyone knows of?
>
> Thank you very much for your help.
>
I have no idea about accessing MSSQL from C, but I suspect
that without a code sample, you won't get a very useful answer - it
would help if you can clarify which client library you're using, and
also give some specific code that fails.
Simon
Navigation:
[Reply to this message]
|