[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ms-atl
Subject:    Re: DllRegisterServer failed with 0x80070057
From:       Aviv Shavit <aviv () QRONUS ! CO ! IL>
Date:       1998-12-31 7:27:04
[Download RAW message or body]


I couldn't get my server to register on a virgin NT even with mindep
until I added

#define _ATL_STATIC_REGISTRY

to my code

see MS KB article Q166717


On Wed, 30 Dec 1998 22:38:39 -0800, Tim Finer (tim at kaizendev dot com) <tfiner@MINDSPRING.COM> wrote:

><mucho snippage>
>
>>>Development environment: NT 4.0 (Build 1381), SP3, VC++ 6.0, SP1
>>>
>>>I developed an ATL 3.0 based dll (ReleaseMinDependency build) and am now
>>>trying to distribute it.  When I try to register the dll by running
>>>"regsvr32.exe mydll.dll" on another NT 4.0 machine (again its Build 1381,
>>>SP3, but no VC++ installed), I get this error message: "DllRegisterServer
>>>failed in mydll.dll.  Returned error code was: 0x80070057."
>
>I had the exact same problem on a non development machine.  The fix was
>to install a newer version of the ATL.DLL (file version 2.00.7274 or
>greater worked for me).

----------------------------------------------------------------
Users Guide http://www.microsoft.com/workshop/essentials/mail.asp
contains important info including how to unsubscribe.  Save time, search
the archives at http://discuss.microsoft.com/archives/index.html

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic