Hello Jean Paul,
You could do it by figuring out the which program/assembly is calling the
exception handling library. Based on that you can differentiate whether
win/web app is calling .
If you don't have control over exception handling library, meaning if the
lib is blackbox to you, the only way to attack this scenario is to play with
generated exception message. Try adding more information to the exception
message of the exception object and call the exception handling library with
the exception.
Pls let me know whether this is useful to you and let me know whether you
need more information
--
Thanks & Regards,
Sundar Narasimman
"Jean Paul Mertens" wrote:
Hello to all,
I use a lib class to handle all my exeption errors ocured in my objects.
Since my objects are used in windows applications as well as in web
applications, I would like to determine in my lib class if she is serving a
web or a windows application. Is there a neat way to detect this.
Greets
Jean.Paul