转载一个程序。 This zip file contains a example of using C++ language COM in a Visual C++ program (named example.zip), and a COM component 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 COM components looks very similar, and the client program of two projects are almost the same.