Click here to Skip to main content
15,860,859 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,
I have a problem to use a managed dll (is built by C#) in a native VC++ code.
I can't fire the events of that dll in my VC++!

I Registered that dll and import it in VC++ by:
#import "..\..\EventDll.tlb" raw_interfaces_only


and I call other functions of that dll successfully:
C#
Event_InterfacePtr e(__uuidof(Event_Class));

long i = 0;
e->GetTest(&i);


But ,
How do i fire the Event of dll (that event called 'DoneEvent') in my VC++ code?
please help me, thank you.
Posted
Updated 13-Jun-15 21:08pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900