AppDomain....

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • José Joye

    AppDomain....

    I have a library written in C (I do not have the source) and having some
    callback. It is currently not that stable and write to stdout and stderr
    :-((
    The idea I have is to wrap it with a C# class and instanciate an instance of
    this class within a new AppDomain.

    Here are my question:

    Am I correct to assume that I will be able to handle cases where the library
    fails. If yes, how will the main AppDomain know about a termination of the
    other AppDomain?


    Is there a way to redirect stdout and stderr for a newly created appDomain?


    Thanks,
    José


Working...