Re: ADO
From: Richard T. Edwards_at_pwpsquared.net (Edwards_at_pwpsquared.net)
Date: 02/27/04
- Previous message: Ben: "Error 3265"
- In reply to: Danny Springer: "Re: ADO"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 27 Feb 2004 10:05:16 -0800
Good Catch, Danny. I didn't see that problem previously.
"Danny Springer" <danny.springer@removejunkmail.hccnet.nl> wrote in message
news:403e7736$0$11498$3a628fcd@reader2.nntp.hccnet.nl...
> Pardeep Kadian wrote:
> > TESTHR(pRstEmployee.CreateInstance(__uuidof(Recordset)));
> > hr = pRstEmployee->Open("Select * from PardeepDummy",
> > _variant_t((IDispatch *)pConnection,true),
adOpenForwardOnly,
> > adLockReadOnly, adAsyncExecute);
> I think your problem is in this line, if you look up adAsyncExecute,
> you'll get:
> An operation that returns control to the calling program without waiting
> for the operation to complete. Before the operation is complete, code
> execution continues.
>
> I normaly use adOptionUnspecified.
>
> Regards,
> Danny Springer
>
- Previous message: Ben: "Error 3265"
- In reply to: Danny Springer: "Re: ADO"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|