以下是Inf文件,请大家帮看看
=========================   ocxtest.inf   ========================    
        [version]   
        signature=="$CHINA$"   
        AdvancedINF=2.0   
   
        [Add.Code]   
        AudioRecordEx.dll = AudioRecordEx.dll
avcodec.dll = avcodec.dll
   decode.dll = decode.dll
dhdvr.dll = dhdvr.dll
dllh264.dll = dllh264.dll
ParaTimer.dll = ParaTimer.dll
render.dll = render.dll
dhnetsdk.dll = dhnetsdk.dll
ocxtest.ocx = ocxtest.ocx

        [AudioRecordEx.dll]  
        file-win32-x86=thiscab   

[avcodec.dll]  
        file-win32-x86=thiscab   

        [decode.dll]  
        file-win32-x86=thiscab   
 
        [dhdvr.dll]  
        file-win32-x86=thiscab           [dllh264.dll]  
        file-win32-x86=thiscab           [ParaTimer.dll]  
        file-win32-x86=thiscab           [render.dll]  
        file-win32-x86=thiscab   
        [dhnetsdk.dll]  
        file-win32-x86=thiscab           [ocxtest.ocx]  
        clsid={4FCAE43F-9212-4ECE-A804-D25D792CCEE1}     
        FileVersion=1,0,0,1   
        RegisterServer=yes   
 
;   ======================   end   of   ocxtest.inf   =====================

解决方案 »

  1.   

    用iexpress.exe做的,包括了dll,ocx,inf文件.
      

  2.   

    ActiveX打包还没做过,关注一下
      

  3.   

    不签名,不是也可以吗,一个出项提示是否安装ocxtest.cab,只不过安装后,控件不能使用.
      

  4.   

    谢谢大家,问题解决.        
            [ocxtest.ocx]  
            file-win32-x86=thiscab  // 加上此句,就可以了
            clsid={4FCAE43F-9212-4ECE-A804-D25D792CCEE1}     
            FileVersion=1,0,0,1   
            RegisterServer=yes