hexagon logo

In VC6,How to Get Events From PCDmis(V3.7)?

In VC6,How to Get Events From PCDmis?

I import pcdlrn.tlb in my VC6 project and write some code to launch pcdmis.

i got the class IApplicationEvents,IApplicationEventsPtr,IApplication ....etc

but i dont know how to connect the events such as OnEndExcution() to my project.

in version 3.5,i can drag a registered ActiveX(appevents.ocx,partevents.ocx) to my dlg,and add all the events.
but in version3.7,the ocx can not be registered.

in VC++6.0,how can i get the events in my project?

thx in advance.