转载一个程序。
This zip file contains a example of using C++ language COM in a Visual C++ program (named example.zip), and a COMCOMponent built by COMtool of Matlab and used in a Visual C++ program(named myCOM.zip). Both projects contain fire_event in COM. But it only works well in the former example. The interface of two COMCOMponents looks very similar, and the client program of two projects are almost the same.