Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating DLLs in FoxPro
Message
 
 
À
05/02/2001 03:05:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00472402
Message ID:
00472472
Vues:
30
>Hello friends !
>
>Is it possible to create a DLL in FoxPro that will implement another DLL
>
>for example DLL that was written in Visual Basic
>
>Thanks in advance .

You can but my inital question is why. VB DLLs are COM DLLs which are readily accessible in VFP using Creatobject/Newobject. You don't need to wrap anything (IMO).

IAC, in order to do you would create a COM DLL in VFP that among other things, instantiated an instance of the VB DLL.

I wouldn't recommend this approach because of the added overhead. The VFP DLL would be 1 level of COM and adding an instance of the VB class would add another level of COM. Whenever you wanted to do anything, you would have a minimum of 2 COM barriers to cross and that can turn into a performance nightmare.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform