Re: OCCI::getColumnListMetaData() fails in Win32 build.

From: Mark Tomlinson <marktoml_at_hotmail.com>
Date: Mon, 5 Apr 2004 14:47:25 -0400
Message-ID: <UZhcc.34$8T3.107_at_news.oracle.com>


Try not using MSVCRTD.DLL (do not use /MDd flag)

Mark

"jakob.kollmann" <jakob.kollmann_at_denimbox.com> wrote in message news:40687db9_at_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
Received on Mon Apr 05 2004 - 20:47:25 CEST

Original text of this message