Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

RegSvr32: LoadLibrary()==NULL, GetLastError()==0x1F ?!!

94 views
Skip to first unread message

Ilya Evseev

unread,
May 3, 1999, 3:00:00 AM5/3/99
to

Hi!
Computer 1: Win95 OSR2.1 PE, DCOM 1.2, WSock 2, IE 4.0 US, VC++5SP3
Computer 2: Win95 Rus, DCOM 1.2, WSock2, IE 4.0 Rus.
Something DLL with ATL-based COM-server must be executed on both.

On the Computer #1 all works fine.
On the Computer #2 call of LoadLibrary("srv.dll") from RegSvr32 is
failed
with GetLastError()==0x1F (A device attached to the system is not
functioning).

2 questions:
1) What is it?!! This error code is absolutely pointless...
2) How to fix it?

Ilya Evseev, CSA


Sergey Bereznikov

unread,
May 3, 1999, 3:00:00 AM5/3/99
to

Привет Илья! Привет всем!
А с atl.dll проблем никаких нет? Она должна присутствовать в системной папке
и быть зарегистрирована...
Enjoy the ATL...
Серёга Березников..

Ilya Evseev <evs...@csa.ru> wrote in message
news:372D2189...@csa.ru...

Kyle McDonald

unread,
May 3, 1999, 3:00:00 AM5/3/99
to
Ilya,

A 0x1f actually means that you are missing a component that the component
you are trying to register needs. Probably ATL.DLL. By the way, we make a
free tool for registering components that explains the error codes in text
form. You just drag and drop your components on it. Much easier than
regsvr32.exe. You can download it free at http://www.addisonsw.com

Kyle

Ilya Evseev wrote in message <372D2189...@csa.ru>...

Ilya Evseev

unread,
May 3, 1999, 3:00:00 AM5/3/99
to
Hi
Kyle McDonald wrote:

> A 0x1f actually means that you are missing a component that the component
> you are trying to register needs. Probably ATL.DLL. By the way, we make a
> free tool for registering components that explains the error codes in text
> form. You just drag and drop your components on it. Much easier than
> regsvr32.exe. You can download it free at http://www.addisonsw.com

ShowDep says, that all libraries required by failed COMponent are present.
For example, ATL.DLL is found in \WINDOWS\SYSTEM\ and in registry
in HKCR\CLSID subtree. NB: home page of ShowDep:
http://www.geocities.com/SiliconValley/Network/2041/index.html

Ilya


Kyle McDonald

unread,
May 4, 1999, 3:00:00 AM5/4/99
to
Ilya,

Right. Here is the problem with programs like Depends, Dumpbin, and
Showdep....

"ShowDep tracks down all DLLs implicitly linked to a given 32-bit module"

They just show the implicitly linked things. Not the dynamically linked
things. For instance, if in the middle of your code you load a DLL via
LoadLibrary() those programs will not show the DLL. Nor will those programs
show OCXs or other files like data files, INI files, etc. Thats why we wrote
Reveal. It shows EVERYTHING on any OS, 9x or NT. Unless something REALLY
needed a device that was not present and actually set that error code, you
are missing something.

Kyle


Ilya Evseev wrote in message <372DD33C...@csa.ru>...

0 new messages