CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Location
    Fort Worth Texas
    Posts
    614

    Aborting a running COM+ component

    Does anyone know how to abort a running COM+ component from another component? The problem we are having is that there is this 3rd party COM+ component that sometimes goes into never ending running mode and even if the component that created it is aborted the never-ending component continues to run. We can stop it by shutting down the app package it is in but that of course means any other running components in the same package get shut down too. We can place the component in question in it's own app package so shutting it down would not affect other components but any components in another package trying to access it get an ugly error message stating COM object was destroyed. I have looked at the COM+ admin objects but I do not see any methods that address aborting a running component. Any ideas?


  2. #2
    Join Date
    Aug 2001
    Posts
    26

    Re: Aborting a running COM+ component

    u can set the component to nothing i.e
    set comp = nothing
    this will stop the component running



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