PMFJI. You are right, tables opened in a DLL are not visible to the calling app. If you need to pass recordset between the app and the DLL, you will need to use ADO. If you only need to access a record at a time, you will need to create methods in your DLL to return the values from the record back to the app and vice versa.
>I'm sorry - let me clarify.
>
>I have created a VFP COM Server DLL based on a custom
>class. I use it to do some processing.
>
>In the form I have:
>
>oProcs = CREATEOBJECT("dll.method")
>oProcs.Process()
>
>The DLL's Process method opens the tables and takes
>the desired action, but when I drop out of the DLL
>back into the form code, the tables are not open.
>
>Did I hear you correctly in that the data open by a
>DLL is not availble outside the DLL?
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement