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:
00668352
Vues:
20
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.

Regards
Geoff

>Geoff,
>
>Are you getting some specific error message? What's not working? Is the DLL written in VFP? What are you trying to do to the form in the DLL?
>
>>I have created a dll and I want to pass a reference to the current form to a proceedure in my dll.
>>
>>I can do this by passing the name I saved the form under (not the internal name of the form but the physical disk name) and it that is fine but I was trying to use the THIS or THISFORM and couldn't get it to work that way.
May all your weeds be wildflowers
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform