-
March 22nd, 2002, 10:22 PM
#1
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
-
March 22nd, 2002, 11:04 PM
#2
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|