# The problem use Ruby call com method and event

**URL:** <https://www.ruby-forum.com/t/the-problem-use-ruby-call-com-method-and-event/133320>\
**Category:** Ruby\
**Created:** [March 30, 2008, 4:57am UTC](https://www.ruby-forum.com/t/the-problem-use-ruby-call-com-method-and-event/133320 "2008-03-30T04:57:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tchg](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/6f9a4e/32.png) [@tchg](https://www.ruby-forum.com/u/tchg)\
**Post date:** [March 30, 2008, 4:57am UTC](https://www.ruby-forum.com/t/the-problem-use-ruby-call-com-method-and-event/133320/1 "2008-03-30T04:57:35Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![tchg](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/6f9a4e/32.png) [@tchg](https://www.ruby-forum.com/u/tchg)\
**Post date:** [March 30, 2008, 4:58am UTC](https://www.ruby-forum.com/t/the-problem-use-ruby-call-com-method-and-event/133320/2 "2008-03-30T04:58:54Z")

</div>

this is the error.

---

<div class="post-metadata">

**Author:** ![tchg](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/6f9a4e/32.png) [@tchg](https://www.ruby-forum.com/u/tchg)\
**Post date:** [April 1, 2008, 5:41pm UTC](https://www.ruby-forum.com/t/the-problem-use-ruby-call-com-method-and-event/133320/3 "2008-04-01T17:41:21Z")

</div>

nobody help meï¼Ÿ
