Click to See Complete Forum and Search --> : MTS debugging


reverse
April 20th, 1999, 02:04 AM
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.

pgrenette
April 21st, 1999, 10:33 AM
Yes you have !

James Jory
April 21st, 1999, 01:18 PM
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).

reverse
April 21st, 1999, 08:50 PM
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.