What is the difference static MFC and shared MFC
I wrote simple code for test with Connector/C++ on Visual C++ 2005.
When I compile with shared MFC, the simple code has no problem.
but when I compile with static MFC, some error occured when access ResultSet.
HEAP[MySQLConn.exe]: Invalid Address specified to RtlValidateHeap( 00F10000, 009C65A8 )
std::auto_ptr<sql::ResultSet> pDBs( pStmt->executeQuery( "SHOW DATABASES" ) );
while ( pDBs->next() )
{
std::string strDBName = pDBs->getString( "database" );
}
Subject
Views
Written By
Posted
What is the difference static MFC and shared MFC
4341
December 26, 2008 09:56PM
2911
December 29, 2008 01:11PM
3829
January 01, 2009 07:22AM
2070
January 02, 2009 01:12PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.