Advertisement

1 - 10 of 20 containing alltags:("_recordsetptr") (0.001 seconds)
Hello, I have been trying to use ADO inside a C++ win32 static DLL but am having no luck.  Almost all the documentation says the same thing: type in this #import "..... msado15.dll" and then they ...
Zones: C++Date Answered: 02/10/2002 Grade: A Views: 0
Hello, I am using VC++ 6.o and trying to call oracle stored procedures with ADO. I have attached the below code which is executed after establishing a connection with the database using a ODBC dr...
Zones: OracleDate Answered: 06/05/2002 Grade: A Views: 8
What i'm trying to do is, creating a linked list using the STL which contains recordsets. Can you please send me a code sample of how to do it? Here is what i have been trying to do on my mai...
Zones: C++Date Answered: 06/13/2002 Grade: C Views: 0
Hi All, Coding in unmanaged C++, VS.NET 2005 I'm using an xml file as my database. I know how to find a single record: "rstPtr->Find( ("FieldName = 'searchString'"), NULL, ADODB::adSearchFor...
Zones: MS Visual C++, C++, Visual StudioDate Answered: 02/21/2007 Grade: B Views: 13
Hi all, coding unmanaged C++ in VS.NET 2005 I've exported a table to an xml file and now I am working with this xml file. When I use the delete method in the _recordsetPtr it just flags the rec...
Zones: MS Visual C++, C++, Visual StudioDate Answered: 02/22/2007 Grade: A Views: 20
Hi I am connecting with the MSSQL server and using the code attached. Whenever I get the RecordsetPtr , should I close like (pRdSet ->Close() ) within the function when done? I am keeping the "...
Zones: Windows MFCDate Answered: 12/09/2007 Grade: B Views: 0
Can anyone tell me why this code throws an exception? bool CFMDatabase::Update(LPCTSTR tn, CArray<SNameValue, SNameValue&>& nva) {         if(FAILED(CoInitialize(NULL)))             return false;       ADODB:...
Zones: VB DBDate Answered: 10/20/2000 Grade: B Views: 0
what's wrong with the following code? in idl: HRESULT readdata([out,retval] VARIANT* varData); in cpp: ...... _RecordsetPtr m_pRecordset; _variant_t avarRecords; ...... avarRecords = m_pR...
Zones: C++Date Answered: 04/01/2002 Grade: A Views: 0
okay, I'm a beginner in c++, ado and all that jazz. I created a dll to deal with ado, so I can use it in vb. Why? Its required. The Dll compiles just fine.  When I use it in vb, vb will shut down s...
Zones: C++Date Answered: 05/13/2003 Grade: A Views: 0
I have the following situation where I create an ADO recordset in memory crudely ADO::_RecordsetPtr rs; .. rs->Fields->Add("IntField",...); rs->Fields->Add("TextField",...); rs->Open(); ...
Zones: C++Date Answered: 09/21/2006 Grade: A Views: 34