Generate Interface

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello everyone,

I'm trying to implement an interface. I import the reference of the COM
library and I set up my class like

namespace testing
{
public __gc class Class1 : public IMeedioPlugin

now, in C# after I finish typing IMeedioPlugin it say something along the
lines of press tab to iplement interface and the default methods are
implemented for me. Now, in regular C++ using ATL, I can choose implement
interface from the class view and the defaults will be put in place. In
managed C++, I can't figure out how to get the IDE to insert the necessary
methods for me. I can type the names in manually, but the compiler doesn't
seem to realize if I type in an incorrect method. So, how do you do this in
managed C++? Thanks

~Steve
 
Back
Top