Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I create COM from .DLL
Message
 
 
À
18/09/2000 13:29:04
Pamela Bulmahn
The University of Iowa
Iowa, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00417708
Message ID:
00417741
Vues:
15
>I have created a small object in VFP to generate something based on the custom properties in the class. I created a project, added the class in a VCX to the Class Libraries, did a project build to create a "single threaded COM server (.DLL)" and it created the .DLL file for me. Now the person who wants to use it, is 4 states away and writing code in Visual Basic. He says he can't register the .DLL to access as an object in his program.
>
>What steps do I take from here? When I tried to create a distribution set-up, I got errors because it said I didn't have anything to set-up.
>
>This is all very new to me so please make your responses understandable to a beginner.
>
>Thanks,
>Pamela

You can look at the FAQ titled "What Run-Time files do I ship with my App?" to get more information.

However, since the user already has VB, most likely you can get away with the following two files:

VFP6R.DLL - single threaded runtime DLL
VFPRENU.DLL - English language version

If you have a simple application with no ActiveX controls, etc. then this should work for you (I'll probably be burned at the stake for saying that). The VFP runtime files must be in the same directory as the DLL or in the path when Regsvr32 is run against the DLL.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

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

Click here to load this message in the networking platform