Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to make an Active X ?
Message
De
18/08/1998 17:37:12
Gary Foster
Pointsource Consulting LLC
Chanhassen, Minnesota, États-Unis
 
 
À
10/08/1998 12:19:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00125288
Message ID:
00127916
Vues:
32
>Can I make this OLE Server DLL or .VCX as OCX (Active X component) so that it can be accessed in OOP applications .
>
>
>With Regards
>Satya

Satya,
The DLL cannot be 'stand alone', it must use the VFP runtime files. These can be installed with the Fox install program as any Fox application would be or you could write your own.

While VFP5 or 6 cannot create an OCX, you can still create OLE server classes within EXEs or DLLs that can supply data services, and interfaces if needed, to VFP and other clients such as VB or C++. I provide these types of OLE servers to VFP, VB and C++ clients in the company I work for. I also pop up VFP forms within the host applications using SetParent(), etc.

I hope VFP6 will make this even easier with better COM support.

Gary Foster
Pointsource Consulting Inc.
gary_foster@starkey.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform