|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How to implement interface in Managed class ???I try the following code to implement an interface as shown below: I wonder why I do not have a compiler error since I should implement the ICoolant interface 2 pure virtual functions (implicitly define by __interface). public __gc __interface ICoolant { OnOffEnum GetChipFlushCondition() ; OnOffEnum Test() ; }; public __gc class CCoolant : public ICoolant { public: CCoolant() ; public: OnOffEnum GetChipFlushCondition() ; }; |
|||||||||||||||||||||||