Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP DLL Question
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00434632
Message ID:
00434794
Views:
13
>When you create a COM Server DLL in VFP, 3 files
>are created, the DLL, a TLB file and a VBR file.
>
>What are the TLB and VBR files for? And do I need
>to distribute them with the DLL?
>
>Many Thanks!

Kevin,

TLB is a Type Library file, which contains information about PEM of the COM object in a standard form which is recognized by any Windows application which supports COM. .VBR file contains the text of the registry entries which are added to your registry when the COM (DLL or EXE) is built.

You also can register the EXE COM component on the Client machine using this .VBR file:
CLIREG32.EXE myCOMname.VBR

You can use VFP Setup Wizard to distribute your COM objects. You will have to specify all your COM components in Setup Wizard. There is a checkbox "COM Components in it, that's where you specify your DLLs and it will take care of registering them on user's PC.

You can also register the DLL manually with
REGSVR32 mydllname.DLL

If you want to register the EXE COM server on the server - copy the .EXE, .TLB and .VBR files to the server PC. Then you run it with the -regserver parameter.

myCOMname.EXE –regserver
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform