DllRegisterServer

Discussion in 'Windows Vista General Discussion' started by news.microsoft.com, Apr 14, 2006.

  1. I may have missed the reply to this message so I'll try again.

    I have a problem registering a simple in-process COM object. The object
    registers OK on Windows XP Professional, but fails when an attempt is made
    to register it on Vista (CTP 5308). I ran the debugging tool "ntsd" and it
    produced the following output:

    Microsoft (R) Windows Debugger Version 6.6.0003.5
    Copyright (c) Microsoft Corporation. All rights reserved.

    CommandLine: regsvr32 regtest.dll
    Symbol search path is: *** Invalid ***
    ****************************************************************************
    * Symbol loading may be unreliable without a symbol search path. *
    * Use .symfix to have the debugger choose a symbol path. *
    * After setting your symbol path, use .reload to refresh symbol locations. *
    ****************************************************************************
    Executable search path is:
    ModLoad: 01000000 01007000 regsvr32.exe
    ModLoad: 77ef0000 77ff2000 ntdll.dll
    ModLoad: 77e20000 77ee8000 C:\Windows\system32\kernel32.dll
    ModLoad: 77b10000 77bb3000 C:\Windows\system32\msvcrt.dll
    ModLoad: 77d60000 77e15000 C:\Windows\system32\ADVAPI32.dll
    ModLoad: 77c10000 77cb8000 C:\Windows\system32\RPCRT4.dll
    ModLoad: 77cc0000 77d5b000 C:\Windows\system32\USER32.dll
    ModLoad: 77bc0000 77c09000 C:\Windows\system32\GDI32.dll
    ModLoad: 76d20000 76e55000 C:\Windows\system32\ole32.dll
    ModLoad: 718e0000 718fe000 C:\Windows\system32\ShimEng.dll
    ModLoad: 756c0000 756e9000 C:\Windows\system32\apphelp.dll
    ModLoad: 75c30000 75c4e000 C:\Windows\system32\IMM32.DLL
    ModLoad: 71650000 71659000 C:\Windows\system32\LPK.DLL
    ModLoad: 72a30000 72aaa000 C:\Windows\system32\USP10.dll
    ModLoad: 71950000 7198e000 C:\Windows\system32\uxtheme.dll
    ModLoad: 10000000 1003b000 U:\MyProjects\RegTest\Debug\regtest.dll
    ModLoad: 76c80000 76d10000 C:\Windows\system32\OLEAUT32.dll
    ModLoad: 76b80000 76c04000 C:\Windows\system32\CLBCatQ.DLL
    ModLoad: 77b00000 77b09000 C:\Windows\system32\VERSION.dll
    ModLoad: 76610000 76624000 C:\Windows\system32\atl.dll
    ModLoad: 73d90000 73e4c000 C:\Windows\system32\msctf.dll


    At this point I get a popup dialog containing the following:

    "DllRegisterServer in regtest.dll failed. Return code was: 0x80020009"

    This dll registers OK when Visual C++ 6.0 registers the dll after
    compilation on Vista.

    Any clues as to where I go from here.

    Thank you,
    Rick
     
    news.microsoft.com, Apr 14, 2006
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.