Re: Check a radio button



"AliR (VC++ MVP)" <AliR@xxxxxxxxxxxxx> wrote in message
news:7oF7i.23724$YL5.8068@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I don't think that adding a variable would have any consequences to a
calling program.

At least in the Release build, if I go to the Disassembler window, I see
that the program refers to member variables by their offsets from some
"base" address.

If you have some out-of-date class definition, your result executable will
for sure try to address some wrong location in memory...

PS: This is not to undermine your point; I would always create member
variables for dialog controls. But, again, there are circumstances...


.