In MTS with VC++ 6.0,
must I re-register the component whenever recompile?
Without re-registering, any attempt to run client come to fail... I must do it.
Must I do it?
A programmer who loves Goethe.
Printable View
In MTS with VC++ 6.0,
must I re-register the component whenever recompile?
Without re-registering, any attempt to run client come to fail... I must do it.
Must I do it?
A programmer who loves Goethe.
Yes you have !
Only if you change type information or the registration dependent information (like the location of your target or the threading model of a component). To be safe, COM servers are usually registered automatically at the end of your build. However, this has the effect of reversing the registry changes that MTS makes to your server when your component is added to an MTS package. To fix this you either need to refresh your component in the MTS Explorer or add a custom step at the end of your build (after normal registration) to refresh your MTS components. The utility MTXREREG.EXE can used for this (it's in your MTS directory).
Thank you for your help.
It was very very helpful !!
But, I can't add "mtxrereg" to my VC++ Project's Custom Build setting.
It occurrs a error, "Error executing c:\winnt\system32\cmd.exe."
Only in command prompt was successful.
Please help me again.
A programmer who loves Goethe.