Original Post
ok I am getting a strange compile error:
I am getting the following error messages on the first line:
d:\cotdb\netapi\conmestest.cpp(101) : error C2143: syntax error : missing '')'' before '';''
d:\cotdb\netapi\conmestest.cpp(101) : error C2059: syntax error : '')''
PeekMessage should return a unsigned char and BFALSE is #def to 0 and BTRUE to 1. Any ideas anyone? The project also uses STL and someone I know said that sometimes causes weird errors but I don''t know where to even start looking for STL induced errors as I am still pretty new to it...
Cheers,
Convict@Large
"I code therefore I am" Anon
// check for incoming messages
while( TestAPI.PeekMessage() != BFALSE )
{
//code here
}