Re: ADO
From: Danny Springer (danny.springer_at_removejunkmail.hccnet.nl)
Date: 02/26/04
- Next message: Danny Springer: "Re: DBF"
- Previous message: William \(Bill\) Vaughn: "Re: Custom Data Provider for .NET"
- In reply to: Pardeep Kadian: "ADO"
- Next in thread: Richard T. Edwards_at_pwpsquared.net: "Re: ADO"
- Reply: Richard T. Edwards_at_pwpsquared.net: "Re: ADO"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 26 Feb 2004 23:48:53 +0100
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
- Next message: Danny Springer: "Re: DBF"
- Previous message: William \(Bill\) Vaughn: "Re: Custom Data Provider for .NET"
- In reply to: Pardeep Kadian: "ADO"
- Next in thread: Richard T. Edwards_at_pwpsquared.net: "Re: ADO"
- Reply: Richard T. Edwards_at_pwpsquared.net: "Re: ADO"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
Loading