CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: MTS debugging

  1. #1
    Join Date
    Apr 1999
    Posts
    37

    MTS debugging

    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.

  2. #2
    Join Date
    Apr 1999
    Location
    PARIS, FRANCE
    Posts
    16

    Re: MTS debugging

    Yes you have !


  3. #3
    Join Date
    Apr 1999
    Posts
    6

    Re: MTS debugging

    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).


  4. #4
    Join Date
    Apr 1999
    Posts
    37

    Re: MTS debugging

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured