The problem use Ruby call com method and event

there are some problem when i use ruby call com method and event.
the com programm i use mfc ccmdtarget classs,and i use vb for client
call
this com's method and event,it's ok.
but ruby did not work,why?

Attachments:
http://www.ruby-forum.com/attachment/1656/ruby1.PNG

···

--
Posted via http://www.ruby-forum.com/.

this is the error.

Attachments:
http://www.ruby-forum.com/attachment/1657/ruby2.PNG

···

--
Posted via http://www.ruby-forum.com/.

nobody help me?

···

--
Posted via http://www.ruby-forum.com/.