How to use .idl files and events

C

Cat_Vasiliy

I have an idl file with interface description

interface MyInterface : IUnknown {
HRESULT WellDone( LPCWSTR szReason)
}

How can i use function of this interface as event to
C++ client.

I did somethink like this

midl my.idl ->my.tlb
tlbimp mytlb ->my.dll

then

.....
using mydll;
.....

then?
how to describe ServerClass with WellDone even?
Help please.
 

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