Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pass ADO recordset to VFP dll
Message
De
06/08/2002 13:19:19
 
 
À
06/08/2002 13:06:38
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00686572
Message ID:
00686635
Vues:
40
Mike, it probably is working. The problem is with pemstatus(). Change your code to:
LPARAMETERS toADO
  Return toAdo.CursorType
and see what happens. Set the cursortype of the recordset you're passing and see if they match up. They should.

Alan

>Hi
>
>Unfortunately, passing it as a "regular" parameter does not seem to be working. Please read the original post.
>
>>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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform