I am trying to compile a program with switch statements in it but it is telling me that I have "duplicate case values"
but the case values are
case WM_DESTROY:
and
case ID_BUTTON:
what is going on...
And tkahns in andavce.
I am trying to compile a program with switch statements in it but it is telling me that I have "duplicate case values"
but the case values are
case WM_DESTROY:
and
case ID_BUTTON:
what is going on...
And tkahns in andavce.
The macros for WD_DESTROY and ID_BUTTON probably share the same number (say 3 for example). Replace 'WM_DESTROY' with whatever value it really has, do that for all the macros, and you'll see your problem.
Quzah.
Hope is the first step on the road to disappointment.