Click here to Skip to main content
15,895,283 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In C++ application am getting E_OUTOFMEMORY Error in the below line in windows 2012 server below line

C++
_RecordsetPtr pRs("ADODB.Recordset");


But same application was working fine in windows 2003 server which has adodb 2.8

Windows 2012 server was having Adodb 6.0 My question "Is it possible to change the Adodb version...How? "

Or any other way to fix this would be appreciated.

Thanks for your time
Posted
Comments
Malli_S 17-Aug-12 7:47am    
Check whether you have called 'CoInitialize()'.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900