Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

New Post: CheckComboBox with MVVM

$
0
0
BoucherS wrote:
Maybe the following link could help you ;
http://stackoverflow.com/questions/1861475/marshal-struct-problem-with-c-sharp
From what I can tell, that link's really only useful if you've got an issue with marshalling structs. I can't speak for prasad1210, but that's certainly not my issue, and I'm getting the same error message he is.
I made a simple sample to test the "Clear" of the CheckComboBox.ItemsSource. Everything worked well.
I just ran your sample code. Everything works just fine until I hit 'a', and then I get this, when PersonList.Clear() executes:
"FatalExecutionEngineError was detected
Message: The runtime has encountered a fatal error. The address of the error was at 0x691819d4, on thread 0x1c34. The error code is 0x80131623. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of user code. Common sources of this bug include user marshaling errors for COM-interop or PInvoke, which may corrupt the stack."

I grabbed the most recent version of the Extended WPF Toolkit using NuGet. I'm not sure if that makes a difference or not.

Viewing all articles
Browse latest Browse all 4964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>