编activeX控件时,想增加一个属性,用 
published   
  property biaoti:string read get_biaoti write set_biaoti;却报错如下:
published property getters and setters must have register calling convention高手助我!

解决方案 »

  1.   

    get_biaoti 和set_biaoti必须是register格式的调用声明,而不能是其他形式如:
    safecall、stdcall等。将get_biaoti和set_biaoti声明部分尾部的safecall、stdcall等去掉即可。————————————————————————————————————
    宠辱不惊,看庭前花开花落,去留无意;毁誉由人,望天上云卷云舒,聚散任风。
    ————————————————————————————————————
      

  2.   

    thanx,现在编译通过了,只是我使用这个ActiveX控件时,在设计期怎么还是看不到得不到
    新增加的这个“biaoti”这个属性呢?谢谢答复!