tags:

views:

299

answers:

1

I am trying to learn WPF. I am following along with a book(WPF in 24 hours) and occasionally I get the following error:

Attempted to read or write protected memory. This is often an indication that other memory has been corrupted.

When I click "OK" the application continues to run as if nothing is wrong.So far I have worked with XAML only and have not entered any other code. The examples that I have found so far in SO and google reference specific code issues. Any shove in the right direction would be appreciated.

Oh...I am using VS2008 Pro

A: 

I had this when declaring a Style without specifying the TargetType. I cannot remember if that was in WPF or Silverlight2 though.

geofftnz
I will check this out to see if it is the issue...thanks.
Dan Adams