Solved

DAO3032.DLL

Posted on 2002-04-24
13
1,001 Views
Last Modified: 2010-08-05
Hello guys!

I'm working on a project which uses MSAccess97 databases.  I just installed Norton AntiVirus2002 and InstallShield express for Delphi4.  I shouldn't have:  I can't access my databases anymore.  I get that message (the original message is in french but I'll try to translate) :

Translation:
Can't load a IDAPI service library.
File: C:\WINDOWS\MSAPPS\DAO\DAO3032.DLL
Alias: MSACCESS1

Original message (in french):
Impossible de charger une bibliothèque de service IDAPI.
Fichier: C:\WINDOWS\MSAPPS\DAO\DAO3032.DLL
Alias: MSACCESS1

I found the DLL file on the net and copied it in the correct folder without success.

Any help ?

my OS: Windows 98se
my Delphi version: 4

Thanks!
0
Comment
Question by:qas
  • 7
  • 6
13 Comments
 
LVL 6

Expert Comment

by:DrDelphi
ID: 6965982
Did you register the DLL once you copied it over?

i.e:
RegSvr32 Dao3032.dll


Bon Chance!!
0
 

Author Comment

by:qas
ID: 6966045
Hello Dr!

I didn't registered it: I didn't know about registering DLLs.  I typed: RegSvr32 Dao3032.dll and an error message said:

LoadLibrary("Dao3032.dll") failed
GetLastError returns 0x0000001f

I tried with the whole path instead of just the file name (RegSvr32 C:\WINDOWS\msapps\DAO\Dao3032.dll) but i got me the same error.

Any hint ??
0
 

Author Comment

by:qas
ID: 6966052
Hello Dr!

I didn't registered it: I didn't know about registering DLLs.  I typed: RegSvr32 Dao3032.dll and an error message said:

LoadLibrary("Dao3032.dll") failed
GetLastError returns 0x0000001f

I tried with the whole path instead of just the file name (RegSvr32 C:\WINDOWS\msapps\DAO\Dao3032.dll) but i got me the same error.

Any hint ??
0
Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
LVL 6

Expert Comment

by:DrDelphi
ID: 6966085
I am going to take a guess that Dao3032.dll is dependent on other DLL's that are either missing or no longer registered on your system. There is a utility called Depends.exe which used to be downloadable from the M$ website which will give you all the support files that are needed for any 32bit library , be it EXE,DLL or OCX. I believe that you should be able to ascertain that same information using TDump (which shipped with Delphi). Why don't you check that out whilst I try to find Depends for you.



Good luck!!
0
 
LVL 6

Expert Comment

by:DrDelphi
ID: 6966107
Okay, found it:

http://search.microsoft.com/gomsuri.asp?n=2&c=rp_Results&siteid=us&target=http://www.microsoft.com/MSJ/code/depends.htm


Also, I downloaded it and ran it on the DAO3032.dll... these are the files needed to support it:

MSJINT32.dll  
msjter32.dll  
OLEAUT32.dll  
ole32.dll    
MSVCRT20.dll  
RPCRT4.dll    
GDI32.dll    
USER32.dll    
ADVAPI32.dll  
KERNEL32.dll  
ntdll.dll    
MPR.dll      
msjt3032.dll  
dao3032.dll  

Hope this helps.



0
 

Author Comment

by:qas
ID: 6966214
Your comments are very usefull DrDelphi, but I'm sure there is a way I can get these files with the installation of a software or something.  The thing is that even if a could get the files on the net (pretty easy) I can't really know where to put them in my PC.

I've reinstalled Delphi without success...  never got Access97 on that PC so I don't think the files come with it...

any more hints ? (or paths ??)

Thanks again!
0
 

Author Comment

by:qas
ID: 6966237
well ok...

2 DLLs were missing (MSJINT32.dll and msjter32.dll) so I found and copied them in my windows/system folder.  Didn't work.  Tried to register them... still don't work....
0
 
LVL 6

Expert Comment

by:DrDelphi
ID: 6966534
You know, there was a thing that I had run across a while back with versions of OlePro32 and OleAut32 having to be in synch. I wonder if you are experiencing a problem due to this?  Take a look at this link for an idea of what I mean.

http://www.microsoft.com/Data/MDAC21info/21035132manifest.htm


0
 
LVL 6

Expert Comment

by:DrDelphi
ID: 6966553
0
 

Author Comment

by:qas
ID: 6966711
hey!

I just installed MDAC 2.7 RTM (2.70.7713.4) from the link you handed me without any positive results.  Sorry...

I'll be scanning for hints in MSDN.

If you get more ideas please let me know.

Thanks again.

(PS: does reinstalling Access would be some helping or am I just wasting time ?)
0
 
LVL 6

Accepted Solution

by:
DrDelphi earned 100 total points
ID: 6968085
Couldn't hurt, I suppose. *shrugs*


0
 

Author Comment

by:qas
ID: 6968494
Hello!

Sometimes, good answers aren't as complicated as we think!  Nope, reinstalling Access didn't do it.  It was more dumb than that:  I reinstalled Delphi4's BDE from the original CD.  Works fine now.

Though I still don't know how installshield scrambles BDE with access... well....

I appreciate the time you gave to your answers so here are the points.

See ya!
0
 
LVL 6

Expert Comment

by:DrDelphi
ID: 6968560
Merci.

0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

770 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