Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp-com
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Installation et configuration
Titre:
Divers
Thread ID:
00713646
Message ID:
00713737
Vues:
24
This message has been marked as the solution to the initial question of the thread.
>I have created a vfp-com server that (in the end) creates a pdf-file.
>This all works fine from within VFP, VB, ASP etc but I have a problem with the installation of it on a different machine.
>I use Visual Installer to create an installation set. I have set the exe as selfregistering. During installation VI tells me that the registering has failed. I have no idea why?
>Trying to register the exe by hand results in the following error.
>SDSCOM.exe was loaded, but the DLLRegisterServer entry point was not found
>SDSCOM.exe does not appear to be a .dll or .ocx file
>
>The last line correct, it´s not a dll but an exe.
>What am I doing wrong...how can I register the exe. How else can I use it as a com-object?
>Any suggestions are welcome.
>

Ron,
While I don't know how you are going to implement the solution using VI, the solution is to use the /REGSERVER command-line parameter to register the COM EXE.

sdscom /regserver && registers COM server
sdscom /unregserver && unregisters COM server

The COM registration functions (DllRegisterServer, DllUnregisterServer) are not built into a COM exe which is why VI is failing to register it.

Good luck!
Larry Miller
MCSD
LWMiller3@verizon.net

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

Click here to load this message in the networking platform