Oct 13, 2003 #1 J Jedhi Centurion 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: Oct 14, 2003
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.