Use of Crack.NET in WPF Interop Scenario

Apr 4, 2009 at 4:50 PM

First off, what a nice tool! You rock.

Hey, I've been trying to use Crack.NET in our WPF interop scenario. We have a Windows Forms application that hosts WPF content throughout using ElementHost. The tricky thing about WPF interop is that you have no Application object lying around.

In your screenshots describing how to use the tool ... I see that you navigate first to the Application object and then to the Application.Current property ... to get hold of the current application ... and instance data of that current application.

How would you suggest that I heap walk in my interop(ed) scenario ... where would I go to start getting instance data.

Thanks for any help in advance!

Apr 4, 2009 at 4:58 PM
Hi Cory,

Thanks for the nice feedback!  I'm glad you enjoy using crack.  ;)

Please refer to the discussion thread 'Cracking WinForms Apps' as I think that answers your question.

Apr 4, 2009 at 5:27 PM
Thanks Josh for such a quick response!

And, duh! On my part! I knew I was missing something obvious ... I was looking at the WPF Application object and not the Windows Forms Application object. Your pointer to the 'Cracking WinForm Apps' helped me to see that.