Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Implementation Problems
Message
 
À
07/02/2002 08:30:17
Lloyd Grant
Meridian Legal Systems
Buxton, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00613911
Message ID:
00616572
Vues:
22
Hi Lloyd,

>I can envisage a point where there are lots of interfaces implemented in a VFP 7 application and you have to install lots of 3rd party software simply to compile it. This situation will be a problem for all developers. Is there another simple solution to this?

Yes, if you have Visual Studio. Launch OLE View and locate the type library in the tree. Double-click it to open the ITypelib viewer. Copy the generated .IDL file into a separate file. Run GENGUID and create a new GUID. Now replace the old type library UUID with the one you just created. Finally call MkTypLib to create a new .TLB file and change your source to use the new typelib UUID. You can put all those interfaces into one .TLB file that you need in your application. Instead of installing the tools on every computer, you only have to register the TLB file. When you do this you have to ship the .TLB along with your application to the client, because VFP needs them at runtime, too.

Christof
--
Christof
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform