A quick and dirty way to attach "DebugView++.exe" to a window handle

Yes, I have hard coded “DebugView++.exe” and yes, my usage of the passed in handle is not the greatest but really, you will only call this one time or so right so there is no need to pass a handle in to the DetachDebugView and ResizeDebugView methods right?! :smile:

Fire it up:

Call this from Clarion somewhere like EVENT:DoResize

and when you are done with it:

I have a few Clarion classes that wrap up .NET things to call UnmanagedExport methods, make sure the framework is there, help with marshaling values and that sort of thing but I will leave those details up to you and just drop this here as a starter!