RE: Strange ODBC Problems
- From: "VN" <VN@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 6 May 2005 11:08:02 -0700
What are the errors?
"Sujay Ghosh" wrote:
> Hello ,
>
> The application we are developing extracts data from a server side
> database and writes it to a XML file , which shall be further processed.
>
> We have ourselves written ODBC wrapper classes in C++, which calls the
> ODBC API's to do the operations . The application fetches data within a loop
> and stores the data in a STL vector. But after 40 -43 iterations ( the
> number is not consistent ), the application suddenly stops writing to the XML
> file and exits . I have put up log messages , SQLErrorCodes but none of them
> are coming up with any relevant solution to this problem .
>
> The failure occurs with SQLExecuteDirect and SQLFetch ; on seeing which
> we found out that the m_hSTMT is common in both .
>
> Can anyone let me know what am I missing out .
>
> Thanks in advance .
>
> Sujay
>
>
> --
> Sujay Ghosh
> Bangalore, INDIA
> Email : sujayg_mfc@xxxxxxxxx
> Mobile : 9845467789
>
.
- Follow-Ups:
- RE: Strange ODBC Problems
- From: Sujay Ghosh
- RE: Strange ODBC Problems
- References:
- Strange ODBC Problems
- From: Sujay Ghosh
- Strange ODBC Problems
- Prev by Date: RE: ODBC question
- Next by Date: RE: After XP SP2, ODBC error
- Previous by thread: Strange ODBC Problems
- Next by thread: RE: Strange ODBC Problems
- Index(es):