C2146

Jedhi

Well-known member
Joined
Oct 2, 2003
Messages
127
typedef struct _TestBench_
{
BYTE vlrClass;
BYTE cmd;
} TestBench;

C2146: syntax error : missing ; before identifier cmd

Why ???

Reason :
because windef.h is not include in stdafx.h, therefore is BYTE not known.
 
Last edited by a moderator:
Back
Top