Question on OLE event interface
I create an COM DLL with events. So I implement an event interface in the DLL. I create the type library so that vb can use it. At the very beginning, I have only 1 event, so the program work well. When I add one more event to it, whenever i trigger the second event from the COM DLL, it call the first event handler in vb, and worst, when i call the first event, it crash.... what can be the cause ?? thanks.
HTH
cksiow
http://vblib.virtualave.net - share our codes
Re: Question on OLE event interface
after some testing, I found out this.... if i place the event handler in vb in correct sequence... like this
private sub event1
end sub
private sub event2
end sub
it works....
if i place it like this
private sub event2
end sub
private sub event1
end sub
it failed... how can this be ??
HTH
cksiow
http://vblib.virtualave.net - share our codes