> Given your constraints, you should investigate the .NET Profiling APIs.
Or, if you really need to attach to a running process with not preparations whatsoever, you'd probably have to write a debugger (i.e. use the Debugging API). As far as I recall, a profiler must be activated before the process is started. (Though my experience is from the version 1.1 Profiling API.) Fabian =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com
