You just pass it as a regular parameter. There is no specific step involved.
>Hi Hector
>
>Maybe I should rephrase. How can I pass an ADO recordset to a VFP dll for subsequent processing?
>
>Thanks!
>
>>>Checking loADO after the ProcessData call shows that
>>> loADO is an object, but it no no longer has a
>>> cursortype property.
>>Have you checked to see if you have access to other properties and/or methods of loADO from inside ProcessData? I mean, are all properties/methods gone or only that particular property (cursortype) is gone?
>>
>>On a second thought, I am not sure how PEMSTATUS works on COM objects. For example, I have seen that the debug does not show all properties and methods for a COM object (or an ActiveX control) until they have been referenced in code. Could it be that PEMSTATUS have a similar behavior?
- Jayesh