Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++ Access database
Hi!
 
I am in the process of migrating legacy project from 32bit to 64bit environment.
So far it wasn't much of issue, but I have one module which is used for working with Access DB. As you probably know DAO Database classes are not supported for Win64 and as far as I can tell from my Google searches they are deprecated.
 
At the moment replacing Access DB with SQL Server CE or SQLite DB is out of the question (management says so), therefore I have to write a new piece(s) of code which will work(compile) on Win64 and I'm having a dilemma where to start.
I am thinking about using some existing library as it will be the least time consuming endeavor or should I rewrite particular code using OLEDB or CDatabase (great deal of program has been done with MFC)?
 
Can you recommend me such library or correct approach to solve this problem?
 
Being occasional C++ programmer doesn't help either. =/
 

 
P.S.
I've just found out there is no way to connect to .mdb file on 64bit OS with Jet, instead I should use new ACE drivers for Access 2010. It seams pretty straight forward.
Is there anything else I should consider?
Posted 24-Jul-12 1:20am
Edited 24-Jul-12 2:05am
v3

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

You'll need a licensed copy of Microsoft Office 2010 on every system you install your app on.
 
If it's an in house application that may not be a problem.
 
If it's an application that is shipped to customers, then this could add significant licensing and support costs to your product.
  Permalink  
Comments
Oshtri Deka at 24-Jul-12 18:10pm
   
Bummer. =/
Jochen Arndt at 25-Jul-12 3:00am
   
Why did you need Office to use the ACE drivers? They can be installed with the 'Microsoft Access Database Engine 2010 Redistributable'.
JackDingler at 25-Jul-12 11:32am
   
When I researched it, Microsoft was clear that this was licensed as a part of Microsoft Office, and could not be installed separately.
 
If this has changed, let me know.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 6,649
1 Sergey Alexandrovich Kryukov 6,270
2 CPallini 5,190
3 George Jonsson 3,574
4 Gihan Liyanage 2,522


Advertise | Privacy | Mobile
Web02 | 2.8.140916.1 | Last Updated 24 Jul 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100