|
Posted by Erland Sommarskog on 07/02/05 19:01
Sandy (a@a.com) writes:
> I suspect that the data structure to which hStmt points is getting
> corrupt. But i don't know how. can it be because of some corruption in
> my code.
I have not worked with the ODBC API, but my experience from working
with a module that uses both the OLE DB API and the Perl API (it's
to be called from Perl) is that when my module crashes, it's usually
my fault. One bug was really tricky was some piece of code where I
allocated one byte too few. Most of the time the code worked fine, but
occasionally I would overwrite something when I wrote to that byte.
But of course nothing crashed at that point, but that happened much
later.
--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinfo/productdoc/2000/books.asp
Navigation:
[Reply to this message]
|