Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing by reference
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00668296
Message ID:
00668368
Vues:
30
Geoff,

Ok, I'm pretty sure that you can't pass an object reference across the COM boundary.

Why not let your app simply make calls into the COM object to carry out the allowed tasks? Or let your COM return a value that allows the app to instantiate the container itself?

>I was getting an object does not exist message.
>
>The dll was created using VFP7
>
>I have an application which interfaces to multiple accounting packages. Each package has different options and settings. My DLL adds a container object to the main applications setting form with that interfaces options.
>
>The DLL also handles the mapping (import/export) functions to the main applications tables.
>
>The main application is generic in that the application tables vary from implimentation to implimentation.
>
>What I do not understand is how to create a pointer to my current form (ie @THISFORM or @THIS.PARENT)
>
>Also, when I check for the existence of a form it looks for a form using the name property for that form, yet I cannot reference the form object using that name.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform