Re: Project : error PRJ0050: Failed to register output.






"Herby" <prmarjoram@xxxxxxxxx> wrote in message
news:1161857915.272084.140140@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Im currently refactoring an MFC application to an MFC DLL.
What reasons would stop regsvr32 registering the DLL?

It gives the following hint
"Please ensure you have the appropriate permissions to modify the
registry."

Which I can assure you I do have.

My hunch is it is something to do with some global data that may be
being created etc - which was fine in an exe but now not in a DLL ?

Are there some definate do's/dont's when using a DLL vs an EXE ?

Has anybody had this type of problem before?

Im just having to eliminate lots of code to try and find the culprit?


It would appear probelm is the permissions. Typically regsvr32 will fail
because all the dependent dlls of that module being registered are not
found. You can use Depends.exe on that module and see if you have all the
dependent DLLs.

--
Ajay Kalra [MVP - VC++]
ajaykalra@xxxxxxxxx



.



Relevant Pages

  • Default Regitry Permissions
    ... than the container's permissions. ... My class however, after registering my DLL using regsvr32, ... on registry keys added by running regsvr32 on a DLL? ...
    (microsoft.public.windows.server.security)
  • Re: Word Cannot Find Its Data Source ~~~.olk
    ... > I'd like some confirmation about registering this DLL. ... DLL, just in case, but regsvr32 came up with a "missing entry point" error. ... as I would like to have an address book connection method that can be ... initiated from Word and "does everything", the "initiation from Outlook" ...
    (microsoft.public.word.mailmerge.fields)
  • Re: VB6 executable accessing a .Net DLL with ComClass
    ... regsvr32 in that it records the exact location of the dll. ... vb6 program. ... registering the class that I am using. ... getting an -2147024894 - Automation Error. ...
    (microsoft.public.dotnet.framework.interop)
  • Re: Word Cannot Find Its Data Source ~~~.olk
    ... "Peter Jamieson" wrote in message ... >> I'd like some confirmation about registering this DLL. ... >> But still need some help implementing this Workaround. ...
    (microsoft.public.word.mailmerge.fields)
  • Re: Application Eventlog Error message
    ... Jay ... >> XP Pro these messages are in System log. ... >> got same errors which leads me to believe that one or more DLL may not ... >> is less likely than registering dll. ...
    (microsoft.public.windowsxp.embedded)