我们CAB包里有两个 ocx 文件,list.ocx, player.dll(实际为ocx, 改了后缀而已)regdll代码一样: http://www.china-askpro.com/msg40/qa13.shtml (后来按照微软网站的方式也改了还是不行) list.ocx可以正常注册, player.dll始终无法注册. 谁能帮忙解释解释.

解决方案 »

  1.   

    player.dll是否需要其他dll的支持呢?打包时一同打进去!
      

  2.   

    用depends查看是否需要外部的dll支持,一起大包到cab中
      

  3.   

    那个player.dll通过regsvr32注册会成功的。并不缺少什么DLL。
      

  4.   

    *** Code Download Log entry (13 Aug 2005 @ 00:09:44) ***
    Code Download Error: (hr = 8007007f) 找不到指定的程序。Operation failed. Detailed Information:
         CodeBase: http://www.ppstream.com/bin/powerplayer.cab
         CLSID: {5EC7C511-CD0F-42E6-830C-1BD9882F3458}
         Extension: 
         Type: LOG: Item PSNetwork.dll being processed.
    --- Detailed Error Log Follows ---
    LOG: Download OnStopBinding called (hrStatus = 0 / hrResponseHdr = 0).
    LOG: Item PSNetwork.dll being processed.
    LOG: Item PowerPlayer.dll being processed.
    LOG: Item PowerList.ocx being processed.
    LOG: URL Download Complete: hrStatus:0, hrOSB:1, hrResponseHdr:0, URL:(http://www.ppstream.com/bin/powerplayer.cab)
    LOG: File C:\WINNT\Downloaded Program Files\PowerPlayer.dll being registered.
    ERR: Setup Failed Error Code: (hr) = 8007007f, installing: PowerPlayer.dll to (null) destination code(0)
    LOG: Reporting Code Download Completion: (hr:8007007f (FAILED), CLASSID: 5ec7c511..., szCODE:(http://www.ppstream.com/bin/powerplayer.cab), MainType:(null), MainExt:(null))出现上述错误, 郁闷啊
      

  5.   

    狂日微软. DLL复制和加载都是倒序的, 所有文档里居然从来没有提到过!