The following code compiles in c++ v6, but produces error C1243 in .NET 2003 :-

typedef __declspec(dllexport) struct flucsLuminaireRecord
{ <<<<<<< error here <<<<<<<<<
char ID[LUMINAIRENAME];
char categ[CATEGORY];
} FlucsLuminaireRecord;

error C2143: syntax error : missing ';' before '<class-head>'

Anyone know why?