我用MFC ActiveX ControlWizard创建了一个空白的ActiveX,即向导完成后,我一句代码都没有加,拷贝该ocx到别的机器上注册,老是提示0x8040200,静态选项、depends都用过了,都没有解决掉问题,网上查说是tlb或者rc问题,但是他们没有说是什么问题,该如何解决,谁遇到类似问题,拿出来共享以下吧!

解决方案 »

  1.   

    FIX: "Unknown COM status code" With ActiveX Conferencing ControlPSS ID Number: Q221629Article Last Modified on 08-27-2002
    --------------------------------------------------------------------------------
    The information in this article applies to: Microsoft Visual FoxPro for Windows 5.0, 5.0a, 6.0--------------------------------------------------------------------------------
    Symptoms
    You attempt to create or run a form that contains the ActiveX Conferencing Object control. When adding the control to the form in the Form Designer, or running the form, you may see one of the following errors under Visual FoxPro 5.0: OLE error code 0x80040200: Unable to impersonate DCOM client. 
    -or- 
    OLE error code 0x80040200: Unknown OLE status code. 
    Performing the same tasks under Visual FoxPro 6.0, it may work without error, or you may see the following error: 
    OLE error code 0x80040200: Unknown COM status code. Status
    Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.This bug was corrected in Visual Studio 6.0 Service Pack 3.
    看到最后一行了?给你的VC打补丁
      

  2.   

    打了Service Pack 6,问题照旧存在
      

  3.   

    别人民的机子上装了vc没有,或没有,就要装VC或是VC.DLL都可以,然后试试