I have a simple IDL file which contains only one enum
. One of the identifiers is cy
.
[
uuid(2642345F-F2AB-3600-8926-26E823800902),
version(1.0),
]
library MyLib
{
typedef[ uuid(a0b0aa7b-345f-4b3a-b88f-d6cdd048e205) ]
enum Codes
{
cy,
abc
} Codes;
};
However, MIDL won't compile this and gives me an error like:
MIDL2025: expecting an identifier near "cy"
My first guess was that cy
is a keyword/reserved word in MIDL -- but it's not.
My second guess was that either cy
has already been used somewhere or is a type -- but it's not.
Any idea on what could be the issue here?