Reply to Re: Problem with SQLFreeStmt

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация