Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Setup / April 2004

Tip: Looking for answers? Try searching our database.

Setup won't register third-party DLLs

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
David Snell - 27 Apr 2004 08:36 GMT
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
4  DllUnregisterServer
Phil Wilson - 27 Apr 2004 19:29 GMT
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?
Signature

Phil Wilson [MVP Windows Installer]
----

> 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?
>
[quoted text clipped - 4 lines]
> 3  DllRegisterServer
> 4  DllUnregisterServer
David Snell - 29 Apr 2004 06:06 GMT
Thanks, but I think the DLLs are a red herring.  I tried to re-compile a previously-working version, and it won't work

See "Visual Studio produces corrupted setup files".

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.