Solved

Registering DLL files in Windows 95.

Posted on 2001-09-01
15
12,640 Views
Last Modified: 2013-12-16
I need to register a DLL in windows 95. I have used regsvr32 for OCX files, but am not sure about DLLs.
0
Comment
Question by:JamesMayfield
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 8
  • 6
15 Comments
 
LVL 1

Expert Comment

by:senthilkumarrs
ID: 6449560
Hi,

Please do the following steps,
1. Copy the DLL file into the "C:\windows\system\" directory
2. in the command prompt "regsvr32 C:\windows\system\DLL filename"

This will register the dll.

Cheers
0
 
LVL 2

Author Comment

by:JamesMayfield
ID: 6449659
Nope. Doesn't work.

I still get the same error message.

LoadLibrary("c:\windows\system\msadco.dll") failed.
GetLastError returns 0x00000485.

Anyone got any ideas?
0
 
LVL 2

Author Comment

by:JamesMayfield
ID: 6449660
Nope. Doesn't work.

I still get the same error message.

LoadLibrary("c:\windows\system\msadco.dll") failed.
GetLastError returns 0x00000485.

Anyone got any ideas?
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 10

Expert Comment

by:Longbow
ID: 6450528
"Winerror.h, 0x00000485 = 1157 (ERROR_DLL_NOT_FOUND), which means "One of the library files needed to run this application cannot be found." For example, typing regsvr32 missing.dll returns this error message if the Missing.dll file is not found."

Check the .dll is really in the system path.


0
 
LVL 2

Author Comment

by:JamesMayfield
ID: 6450647
Yep. Did that. It exists alright. It's acting a bit weird though. It will register some DLL's and not others.
0
 
LVL 10

Expert Comment

by:Longbow
ID: 6450652
Maybe it is a bad .dll ?
Try another version
0
 
LVL 2

Author Comment

by:JamesMayfield
ID: 6450677
Nah, not a bad dll I don't think.

It registers fine under Win2000.
0
 
LVL 10

Expert Comment

by:Longbow
ID: 6450728
Wich .dll is it ?
I will give it a try
0
 
LVL 2

Author Comment

by:JamesMayfield
ID: 6451749
There are 3.

msadco.dll
dao360.dll
msador15.dll

Could it be something to do with the version?

Really old versions (like 1996) versions of them seem to work fine. It's only the later ones that don't.
0
 
LVL 10

Expert Comment

by:Longbow
ID: 6452535
I have Win 98 - NT4 - W2K here
send them to longbow@runbox.com
then post here when done
if you want...
0
 
LVL 2

Author Comment

by:JamesMayfield
ID: 6452660
Thanks Longbow.

Just send the major offending file through now.

Incidentally, I managed to register all but msadco.dll by loading a few MS updates.
0
 
LVL 10

Expert Comment

by:Longbow
ID: 6452971
It is running with NT4
But the same problem as your with Win98
Check your mail for version 2.10.3711.1
0
 
LVL 10

Accepted Solution

by:
Longbow earned 50 total points
ID: 6453114
30 Jun 1999
30/06/1999 2:58:50
MDAC Microsoft Data Access Components 2.1.2.4202.3

You need a previous version of the above.
The .dll i send you by mail is 2.10.3711.1 from Windows 98
wich will register and unregister successfully.

I check MS download and don't find a version before 2.1.2.4202.3 This version will register successfully but unregister with the same error message as your question.
0
 
LVL 2

Author Comment

by:JamesMayfield
ID: 6454949
I didn't get the attachment. Is there a site I can download it form?
0
 
LVL 2

Author Comment

by:JamesMayfield
ID: 6454951
Thanks for the help longbow. Still not 100% resolved, but hopefully with an older version it will install correctly.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
No single Antivirus application (despite claims by manufacturers) will catch or protect you from all Virus / Malware or Spyware threats. That doesn't stop you from further protecting yourself however - and this article is to show you how.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question