Re: Recordset problems with ADO/C++
From: Arnie Mauer (xxx_at_nowhere.net)
Date: 10/22/04
- Next message: Olivier Matrot: "Persisted ADO Recordset XML File Manipulation"
- Previous message: Mr. B: "Re: VB.Net (ADO): Thoughts on Copying 7 tables to 1 table"
- In reply to: claire: "Recordset problems with ADO/C++"
- Next in thread: Olivier Matrot: "Re: Recordset problems with ADO/C++"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 22 Oct 2004 11:45:22 -0400
"claire" <claire@discussions.microsoft.com> wrote in message
news:95CEB3F3-A6D2-4191-B4F1-2B36E566A83F@microsoft.com...
> _RecordsetPtr newRecordSet(__uuidof(Recordset));
>
>
> The following:
> newRecordSet->Open()
>
> fails with an access violation in the recordset15::raw_open even
> though
> newRecordSet appears to be fine. I have a connection that works
> just fine as
> well.
>
> Can anyone help me out with this???
I'm fairly new to ADO so don't take this as gospel. I've never seen
it done that way before (in the constructor). I've always done:
_RecordsetPtr pRst;
pRst.CreateInstance(__uuidof(Recordset));
- Next message: Olivier Matrot: "Persisted ADO Recordset XML File Manipulation"
- Previous message: Mr. B: "Re: VB.Net (ADO): Thoughts on Copying 7 tables to 1 table"
- In reply to: claire: "Recordset problems with ADO/C++"
- Next in thread: Olivier Matrot: "Re: Recordset problems with ADO/C++"
- Messages sorted by: [ date ] [ thread ]