Generate Interface

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top