|
-
January 30th, 2009, 02:00 AM
#1
Heap corruption problem in getsrtring() of resultset occi methods in vs 2005
Hi all
I have a heap corruption problem in getting STL containers data through OCCI methods .
For instance if i do an assignment of this type
while(rs->next() )
{
SRecord r; '' struct object
r.PDM_APPLICATION_NO= rs->getString(1);
r.PDM_FIRST_NAME=rs->getString(2);; //Error Heap Corruption
r.PDM_LAST_NAME= rs->getString(3);
r.PDM_F_FIRST_NAME= rs->getString(4);
}
I use Visual C++8 (VS 2005)[Windows 32-bit] oracle 10.2.0.3.0
I get information from oracle table 'sample'. In this table 11 fields and 100000 records. program run without error in release mode vs 2005. 12 thousand records are fatched and then Heap corruption problem message dispaly and exit from program.
Last edited by Dhpatil1; January 30th, 2009 at 03:46 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|