all groups > visual studio .net setup > april 2004 >
You're in the

visual studio .net setup

group:

Setup won't register third-party DLLs


Setup won't register third-party DLLs David Snell
4/27/2004 12:36:03 AM
visual studio .net setup:
I have written an application using third-party DLLs and installed it on a number of computers in our office. On some machines it works fine. On others Windows Installer fails to register some of the DLLs, returning HRESULT -2147024769 (which translates as: (WIN32) Warning: The specified procedure could not be found.) If I try to register the DLLs manually using regsvr32.exe, one of the DLLs registers successfully, the others fail with the following error: 'Load Library("<DLL name>") failed. The specified procedure could not be found.

What procedure is it talking about

According to depends.exe, the DLLs which can't be registered return all of the following functions

1 DllCanUnloadNo
2 DllGetClassObjec
3 DllRegisterServe
Re: Setup won't register third-party DLLs Phil Wilson
4/27/2004 11:29:32 AM
DllRegisterServer is that one that regsvr32 (and other install tools) needs.
If it works on some machines, it sounds like it might be an issue with
dependent DLLs, despite that message. If it's a custom-written
DllRegisterServer (rather than a default one generated by wizards etc) the
code might be trying to call some other function in another DLL and it finds
the DLL but not the function. Can't the supplier help?
--
Phil Wilson [MVP Windows Installer]
----
[quoted text, click to view]
a number of computers in our office. On some machines it works fine. On
others Windows Installer fails to register some of the DLLs, returning
HRESULT -2147024769 (which translates as: (WIN32) Warning: The specified
procedure could not be found.) If I try to register the DLLs manually using
regsvr32.exe, one of the DLLs registers successfully, the others fail with
the following error: 'Load Library("<DLL name>") failed. The specified
procedure could not be found.'
[quoted text, click to view]

Re: Setup won't register third-party DLLs David Snell
4/28/2004 10:06:01 PM
Thanks, but I think the DLLs are a red herring. I tried to re-compile a previously-working version, and it won't work

AddThis Social Bookmark Button