VS bug?

Started by
0 comments, last by superdeveloper 18 years, 8 months ago
I was writing a code

DWORD appParam::Set(DWORD checked)
{
  DWORD temp = this->checked;
  this->checked = checked;
  this->failed = false;
  return temp;
}
and received an application error. After I ahve changed it to

DWORD appParam::Set(DWORD checked1)
{
  DWORD temp = this->checked;
  this->checked = checked1;
  this->failed = false;
  return temp;
}
everything began fine. Tell me smbody what's the problem? Is this the VS7 problem or its my problematic code.
Advertisement
What was the error?

Personally I'd use "...DWORD newCheckedValue..." or something along that sense to make the code more readable (in my opinion that is).

This topic is closed to new replies.

Advertisement