View Full Version : OCCI::getColumnListMetaData() fails in Win32 build.
jakob kollmann
03-29-2004, 11:49 AM
Hello!
I'm developing a potable c++ application for Linux and Windows
using the OCCI API. The following code works with Linux but fails when
building in MSCV 6.0 (with Intel compiler 8.0):
pocciConn = pocciConnPool->createConnection ( m_sUser, m_sPwd );
pocciStmt = pocciConn->createStatement ( sQuery );
pocciStmt->execute ();
pocciRSet = pocciStmt->getResultSet();
// get column info
OCCI_STD_NAMESPACE::vector<MetaData> mdata;
mdata = pocciRSet->getColumnListMetaData();
Compiling and linking is OK but when the getColumnListMetaData()-
function is called in Win32, there is an assertion called:
HEAP[wtest.exe]: Invalid Address specified to RtlValidateHeap( 00B60000,
00C39090 )
In Linux there is a restriction about the compiler (gcc 2.96) because
of the prebuild libraries. I can't find something like that with
Win, is that correct?
Has somebody got the same problem (and solved it already :) )?
Tia, jakob
Mark Tomlinson
04-05-2004, 10:47 AM
Try not using MSVCRTD.DLL (do not use /MDd flag)
Mark
"jakob.kollmann" <jakob.kollmann@denimbox.com> wrote in message
news:40687db9@e-post.inode.at... Hello! I'm developing a potable c++ application for Linux and Windows using the OCCI API. The following code works with Linux but fails when building in MSCV 6.0 (with Intel compiler 8.0): pocciConn = pocciConnPool->createConnection ( m_sUser, m_sPwd ); pocciStmt = pocciConn->createStatement ( sQuery ); pocciStmt->execute (); pocciRSet = pocciStmt->getResultSet(); // get column info OCCI_STD_NAMESPACE::vector<MetaData> mdata; mdata = pocciRSet->getColumnListMetaData(); Compiling and linking is OK but when the getColumnListMetaData()- function is called in Win32, there is an assertion called: HEAP[wtest.exe]: Invalid Address specified to RtlValidateHeap( 00B60000, 00C39090 ) In Linux there is a restriction about the compiler (gcc 2.96) because of the prebuild libraries. I can't find something like that with Win, is that correct? Has somebody got the same problem (and solved it already :) )? Tia, jakob
MyLounge.com Site Map
Forum:
Cars,
Cell Phone,
Database,
Games,
Home Improvement,
IT,
Music,
School,
Sports,
Web Design,
Web Server,
Weight Loss
The MyLounge.com forum is intended for informational use only and should not
be relied upon and is not a substitute for any advice. The information contained
on MyLounge.com are opinions and suggestions of members and is not a representation
of the opinions of MyLounge.com. MyLounge.com does not warrant or vouch for
the accuracy, completeness or usefulness of any postings or the qualifications
of any person responding. Please consult a expert or seek the services of an
attorney in your area for more accuracy on your specific situation. Please note
that our forums also serve as mirrors to Usenet newsgroups. Many posts you see
on our forums are made by newsgroup users who may not be members of MyLounge.com
Term of Service
vBulletin v3.0.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.