Board index » cppbuilder » undefined symbol 'mrOK'

undefined symbol 'mrOK'


2003-10-16 06:39:30 AM
cppbuilder60
In CPPBuilder 5.0, the following generates an "undefined symbol" error for
mrOK:
FeederWarning = new TFeederWarningForm(NULL);
int id = FeederWarning->ShowModal();
if(id == mrOK)
;;
I get the same error if I define 'id' as a TModalResult.
Am I missing an include?
Thanks
Kevin
 
 

Re:undefined symbol 'mrOK'

"Kevin Manuele" < XXXX@XXXXX.COM >wrote in message
Quote
In CPPBuilder 5.0, the following generates an "undefined
symbol" error for mrOK:
C++ is a case-sensitive language, and you are not specifying the correct
case for that value. It is "mrOk", not "mrOK" (notice the uppercase 'K' vs.
the lowercase 'k' ).
Gambit
 

Re:undefined symbol 'mrOK'

Oops! Thanks.
I expected similarity to mbOK, and the help file index has it spelled mrOK,
and I guess my brain stopped at that point.
Thanks again.
Kevin
Quote

C++ is a case-sensitive language, and you are not specifying the correct
case for that value. It is "mrOk", not "mrOK" (notice the uppercase 'K'
vs.
the lowercase 'k' ).


Gambit


 

{smallsort}