Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

SQLColumns crash (Access violation)
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.


Report this thread to moderator Post Follow-up to this message
Old Post
vishal.k.s@gmail.com
09-23-05 01:24 AM


Re: SQLColumns crash (Access violation)
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

Report this thread to moderator Post Follow-up to this message
Old Post
Simon Hayes
09-23-05 01:24 AM


Sponsored Links





Last Thread Next Thread
Post New Thread

Microsoft SQL Server forum archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 01:27 PM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006