Information générale
Catégorie:
COM/DCOM et OLE Automation
Titre:
Is it necessary to reregister after modifications
Versions des environnements
I have a VFP app (call it main.exe), that calls/uses 2 other VFP apps (call them com1.exe and com2.exe). All are EXE's. The 2 called/used apps are COM.
On the workstations I have another EXE (startmain.exe), that checks the local copies of main.exe, com1.exe and com2.exe against the server copies. If the server copy is newer (as in I did an upgrade), the server copy is copied over the workstation copy of the exe(s).
My question: When I have made modifications to com1.exe and/or com2.exe, do I need to reregister these com's, on the workstation, after copying the new version to the workstation?
I have always done the following everytime I rebuilt the exes, i.e.:
com1.exe /unregserver
com1.exe /regserver
com2.exe /unregserver
com2.exe /regserver
BUT, I do not know if it is necessary. Is it?
Just in case it has any effect, I should tell you that I always rebuild the exe's with the "regenerate component id's" option. Why? I do not know. I can't understand anything I have read about this subject. I just do it because I am afraid not to.
Thanks,
John
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement