Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Implementation Problems
Message
 
To
07/02/2002 08:30:17
Lloyd Grant
Meridian Legal Systems
Buxton, United Kingdom
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00613911
Message ID:
00616572
Views:
21
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
Previous
Reply
Map
View

Click here to load this message in the networking platform