473,394 Members | 1,817 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

How to use DAO 3.6 DLL

Hi,

I have an application (written using VC++ 4.2). This connects to an
Access (95) database using DAO. Now due to some issues we decided to
move to the latest JET DLL (MSJET40.DLL). This DLL uses DAO360.DLL as
the COM wrapper.

Now to start with, I converted the DB to an Access 2000 DB. Then I just
renamed the msjet40.dll to msjt3032.dll and started the application
(this was just to test if things go smoothly with MSJET40). I found out
that even though msjet40 was getting loaded (albeit under the name of
msjt3032.dll), the DAO dll getting loaded was dao3032.dll. I basically
want to know how could I use DAO 3.6 alongwith MSJET40. Does it not get
loaded by default? If not, how do i get MSJET40 use DAO360.DLL?

I am not well acquainted with Jet and DAO programing, so please pardon
me if I am doing some crazy things; but kindly let me know as to how
could I proceed with this. Any kind of suggestions/advice/link to
reference material etc will be highly useful for me.

Thanks a lot in advance.
Ankit

Nov 13 '05 #1
5 7488
On 19 Aug 2005 03:01:16 -0700, "Ankit" <an**********@gmail.com> wrote:

Sorry, but you are doing crazy things. Renaming a DLL filename is NOT
all that's needed to make Windows believe it's a different DLL. It is
also a technique that is highly non-portable. Don't do it.

-Tom.

Hi,

I have an application (written using VC++ 4.2). This connects to an
Access (95) database using DAO. Now due to some issues we decided to
move to the latest JET DLL (MSJET40.DLL). This DLL uses DAO360.DLL as
the COM wrapper.

Now to start with, I converted the DB to an Access 2000 DB. Then I just
renamed the msjet40.dll to msjt3032.dll and started the application
(this was just to test if things go smoothly with MSJET40). I found out
that even though msjet40 was getting loaded (albeit under the name of
msjt3032.dll), the DAO dll getting loaded was dao3032.dll. I basically
want to know how could I use DAO 3.6 alongwith MSJET40. Does it not get
loaded by default? If not, how do i get MSJET40 use DAO360.DLL?

I am not well acquainted with Jet and DAO programing, so please pardon
me if I am doing some crazy things; but kindly let me know as to how
could I proceed with this. Any kind of suggestions/advice/link to
reference material etc will be highly useful for me.

Thanks a lot in advance.
Ankit


Nov 13 '05 #2
Hi Tom, I actually did realise that its not gonna work. So I did put in
calls to LoadLibrary, passing MSJET40.DLL as an argument to it. Now the
application does load MSJET40.DLL but still does not load DAO360.DLL
and hence gives errors. Looks like DAO360.DLL does not gets loaded with
MSJET40 by default. Any idea as to what is needed to get DAO360 loaded?

Thanks,
Ankit

Nov 13 '05 #3
"Ankit" <an**********@gmail.com> wrote in
news:11*********************@g14g2000cwa.googlegro ups.com:
Hi Tom, I actually did realise that its not gonna work. So I did
put in calls to LoadLibrary, passing MSJET40.DLL as an argument to
it. Now the application does load MSJET40.DLL but still does not
load DAO360.DLL and hence gives errors. Looks like DAO360.DLL does
not gets loaded with MSJET40 by default. Any idea as to what is
needed to get DAO360 loaded?


Since Active Directory uses Jet 4 as its data store, every Windows
PC from Win2K on includes Jet for in the standard Windows
installation. Now, that doesn't include DAO, of course -- that you
only get with Access, so far as I know.

To load DAO3.6 you have to reference the DAO3.6 DLL in your VB
project (however that is accomplished).

Sounds to me like you need a newer version of VB, which comes with
Jet/DAO included.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Nov 13 '05 #4
"Larry Linson" <bo*****@localhost.not> wrote in
news:YTuNe.4346$xp.4029@trnddc02:
I think he can download the Microsoft Data Access Components
(MDAC) in whatever version is current, and it will include both
DAO360.DLL and Jet40.DLL. I don't know how you set References in
Visual C++, but I suspect you need references to both those DLLs.

I believe the MDAC dropped ADO support for Jet after v 2.5, but as
far as I know, it still has DAO for Jet. But, if you don't get
what you want with the current version, try to find MDAC 2.5.


Actually, didn't they just drop the Jet engine from the MDAC? That
would make since, given that it's already installed on all Windows
machines from Win2K on.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Nov 13 '05 #5
You can download the Jet Engine separately from the same page as the MDAC -
just scroll down farther.

--
---------------------------------------------------------------------
DataGet & PocketLog www.dataget.com
Data Collectors www.baxcode.com
--------------------------------------------------------------------

"David W. Fenton" <dX********@bway.net.invalid> wrote in message
news:Xn**********************************@216.196. 97.142...
"Larry Linson" <bo*****@localhost.not> wrote in
news:YTuNe.4346$xp.4029@trnddc02:
I think he can download the Microsoft Data Access Components
(MDAC) in whatever version is current, and it will include both
DAO360.DLL and Jet40.DLL. I don't know how you set References in
Visual C++, but I suspect you need references to both those DLLs.

I believe the MDAC dropped ADO support for Jet after v 2.5, but as
far as I know, it still has DAO for Jet. But, if you don't get
what you want with the current version, try to find MDAC 2.5.


Actually, didn't they just drop the Jet engine from the MDAC? That
would make since, given that it's already installed on all Windows
machines from Win2K on.

Nov 13 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: William C. White | last post by:
Does anyone know of a way to use PHP /w Authorize.net AIM without using cURL? Our website is hosted on a shared drive and the webhost company doesn't installed additional software (such as cURL)...
2
by: Albert Ahtenberg | last post by:
Hello, I don't know if it is only me but I was sure that header("Location:url") redirects the browser instantly to URL, or at least stops the execution of the code. But appearantely it continues...
3
by: James | last post by:
Hi, I have a form with 2 fields. 'A' 'B' The user completes one of the fields and the form is submitted. On the results page I want to run a query, but this will change subject to which...
0
by: Ollivier Robert | last post by:
Hello, I'm trying to link PHP with Oracle 9.2.0/OCI8 with gcc 3.2.3 on a Solaris9 system. The link succeeds but everytime I try to run php, I get a SEGV from inside the libcnltsh.so library. ...
1
by: Richard Galli | last post by:
I want viewers to compare state laws on a single subject. Imagine a three-column table with a drop-down box on the top. A viewer selects a state from the list, and that state's text fills the...
4
by: Albert Ahtenberg | last post by:
Hello, I have two questions. 1. When the user presses the back button and returns to a form he filled the form is reseted. How do I leave there the values he inserted? 2. When the...
1
by: inderjit S Gabrie | last post by:
Hi all Here is the scenerio ...is it possibly to do this... i am getting valid course dates output on to a web which i have designed ....all is okay so far , look at the following web url ...
2
by: Jack | last post by:
Hi All, What is the PHP equivilent of Oracle bind variables in a SQL statement, e.g. select x from y where z=:parameter Which in asp/jsp would be followed by some statements to bind a value...
3
by: Sandwick | last post by:
I am trying to change the size of a drawing so they are all 3x3. the script below is what i was trying to use to cut it in half ... I get errors. I can display the normal picture but not the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.