redefinition Enum member on IDL file
ATL / WTL / STL
1
Posts
1
Posters
0
Views
1
Watching
-
hi to all , i have 2 enum on my IDL file : interface myInterFace { typedef enum RPTR_RETRACTBIN_STATUS { RPTR_RETRACTBIN_OK, RPTR_RETRACTBIN_FULL, RPTR_RETRACTBIN_HIGH, RPTR_RETRACTBIN_NOT_SUPPORTED, RPTR_RETRACTBIN_UNKNOWN }RPtrRetractBinStatus; ... HRESULT SyncRetract([out,retval] RPtrRetractBinStatus * status); } library myLIB { typedef enum RPTR_RETRACT_TRESHOLD { RPTR_THRESHOLD_RETRACTBIN_FULL, RPTR_RETRACTBIN_HIGH }RPtrRetractThreshold; ... dispinterface _IXFSReceiptPrinterEvents { properties : methods: HRESULT StackOK(RPtrRetractThreshold reason); }; ... } after compile i have this error ::>> redefinition : RPTR_RETRACTBIN_HIGH what is its solution ?(NOTE : i can not rename any enum members)