问:我仅有一个.ocx文件,不知道能否注册active控件?怎样做?

解决方案 »

  1.   

    菜单:Component->Import ActiveX Controls->Add(就是选择你自己的ocx啦)-〉Install.完成
      

  2.   

    我用这个方法作过,但不成功,编译不能通过,我怀疑是文件不全,请问一般active 控件都有哪几个文件?
      

  3.   

    [Error] RYELib_TLB.pas(406): Undeclared identifier: 'Get_propCameraID'
      

  4.   

    先运行:regsvr32 c:\xxx.ocx然后在DELPHI中的Component->Import ActiveX Controls->Add加入