473,405 Members | 2,310 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,405 software developers and data experts.

I'm not sure if Jet 4.0 is correctly installed

Hi,
I made a program with Visual C++ 6 and MFC that uses mdb files with Jet 4.0
through DAO. It works on well my XP Machine (name "A"). It works even on
fresh installs of Windows 2000 or XP where I never installed development
tools nor anything such as MDAC, Jet ou DAOSDK.
But on one of my XP machine (name "B") my program no longer works. I
realised that the programm crashes when I attempts to read or to create a
mdb file.
I monitored the files my program accesses with Filemon.exe and noticed an
interresting fact. On B, according to Filemon, my program never tries to
access msjet40.dll whereas on A it does.
On B the following code fails miserably :
AfxDaoInit();
DAODBEngine* pDBEngine = AfxDaoGetEngine( );
if ( !pDBEngine )
{
AfxMessageBox("You have no DAO installed", MB_ICONSTOP|MB_OK);
return FALSE;
}
but it works well on A.
Please note that the file msjet40.dll do exist on B.
I suppose that B lacks some part of DAO.

Should I install something or write some registry values ?
Do you know how I can make my program work again ?

Thanks,
Manu
May 10 '06 #1
1 1670
Problem solved : dao360 was present but unregistered
needed to do "regsvr32 dao360dll"

Manu
May 11 '06 #2

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

Similar topics

2
by: Catt_231 | last post by:
I keep getting this silly Error since installing the lastest Windows XP updates... Error while trying to run project: Unable to start debugging on the web server. Could not start ASP.NET or ATL...
2
by: TonyR | last post by:
I'm getting the following error when I run a .asmx. "Error while trying to run project: Unable to start debugging on the web server. Could not start asp.net or atl server debugging. Verify that...
4
by: bahr | last post by:
Hello, I am fairly new to asp.net so please be patient with me! I am working on standing up a website to run alone on someones laptop. So far, i have been working on the registration pages which...
3
by: tony_pez | last post by:
First timer be gentle. I have this code I am trying to put into a vb.net addin for ol2003. I get the error Outlook.Application and Outlook.Selection is not declared. I have installed the PIA's...
6
by: BookerW | last post by:
Ok interesting, on my local machine And i did not do a good job of keeping track of the exact order.... but on my local machine in which i have vis studio 2003 installed and IIS for win XP,...
12
by: korund | last post by:
How to make javascript alert with non-english text displaying correctly on computers where english only is default system & language settings? For web page the solution is just use meta tags:...
2
by: rachana | last post by:
Hi, I am trying to deploy a asp.net website developed using Visual Studio 2005 on server. Application works fine on development machine, but when trying to run on server I get following error...
6
by: Ray | last post by:
I've just installed Python 2.4.3 on windows 2000. On the download page it says that if python is installed the version number will be displayed if you enter "python" in a command line window, but...
8
by: =?Utf-8?B?R2Vvcmdl?= | last post by:
Hello everyone, I am migrating my C++ COM server to managed code (C# COM server). I am using the same client to use the same COM class in COM server. The C++ version COM server works properly,...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.