当前位置:首页 > 技术问答集
firefox

得了疑难杂症,请各位高手出妙方救救小弟!

 所属目录:Java   |   类型:技术问答   |   时间:2007-05-21
 问题:

我用vc6.0开发一个activex控件,其中有如下一些接口函数:  
                    afx_msg   void   drawon(long   cl);  
  afx_msg   void   drawact(long   cl);  
  afx_msg   void   drawerr(long   cl);  
  afx_msg   void   drawbs1(long   cl);  
  afx_msg   void   drawbs2(long   cl);  
  afx_msg   void   drawbs3(long   cl);  
  afx_msg   void   drawbs4(long   cl);  
  afx_msg   void   drawte1(long   cl);  
  afx_msg   void   drawte2(long   cl);  
  afx_msg   void   drawte3(long   cl);  
  afx_msg   void   drawte4(long   cl);  
  afx_msg   void   draweb1(long   cl);  
  afx_msg   void   draweb2(long   cl);  
  afx_msg   void   draweb3(long   cl);  
  afx_msg   void   draweb4(long   cl);  
  afx_msg   void   drawet1(long   cl);  
  afx_msg   void   drawet2(long   cl);  
  afx_msg   void   drawet3(long   cl);  
  afx_msg   void   drawet4(long   cl);  
  以上函数我在c++builder中导入activex控件,然后通过接口调用。  
  经过我测试,当我调用drawon时,实际上调用的是drawbs2;当调用drawact时,实际上调用的是drawbs3。我每调用一个函数,实际上是调用了这个函数下面的第4个函数,这是怎么回事?  
  小弟百思不得其解,请高手执教!

.

· 网友精彩回答:

© 2006-2008 All Rights Reserved