Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Registering dlls not always needed?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00776597
Message ID:
00776668
Vues:
19
Brian,

Thank you very much for the reply. It sounds like you are recommending that I write a little VFP routine that copies each dll into the Windows\System folder and runs RegSvr32 for each one.

If I might ask a couple follow up questions...

One small detail: Is there any reason to prefer or use Windows\System vs. Windows\System32 as the target folder? Do I have to make a distinction based on the OS (Win98, Win2K, WinXP)?

One larger detail: What if the user has earlier versions of Dynazip dlls installed somewhere else? Should I look for them and remove them? The DZ manual implies that this would be a good idea, saying more recent dlls are backward compatible with earlier ones. But would this foul up whatever application had been using them?

Thanks again,


>ActiveX controls need to be registered in the computers registry in a few key locations to allow for the proper instantiation and type library binding.
>
>It is possible that depending on the location of the controls and the nature of your application that the programming engine registered them for you.
>
>Technically, the registration process for a control is to either use RegSvr32 or load the library into memory then using a function pointer Invoke the DLLRegisterServer function to cause the control to create the appropriate registry entries.
>
>It is best practice to ALWAYS register the controls on the machine and to place those controls in the SYSTEM directory on the target machine to avoid version conflicts.
Larry Tucker
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform