C
Chris
Hi,
Still having problems with converting my VC 2003
project to VC 2005 beta, this time with events (using the new
C++ syntax).
My class defines the following event:
event PropertyChangedEventHandler ^ PropertyChanged;
(it uses the System.ComponentModel.PropertyChangedEventHandler delegate)
When I try to fire the event:
PropertyChanged(this, gcnew PropertyChangedEventArgs("Size"));
I get a 'System.NullReferenceException'
If I look in the "Autos" Debug window, I see:
- this
<PropertyChanged> <undefined value>
Is it normal ?
What am I doing wrong ?
Chris.
Still having problems with converting my VC 2003
project to VC 2005 beta, this time with events (using the new
C++ syntax).
My class defines the following event:
event PropertyChangedEventHandler ^ PropertyChanged;
(it uses the System.ComponentModel.PropertyChangedEventHandler delegate)
When I try to fire the event:
PropertyChanged(this, gcnew PropertyChangedEventArgs("Size"));
I get a 'System.NullReferenceException'
If I look in the "Autos" Debug window, I see:
- this
<PropertyChanged> <undefined value>
Is it normal ?
What am I doing wrong ?
Chris.