DAO Doesn't work after recompile with VS 2005

Using DAO functionality (I know I need to use ADO, but don't have the time right now)
If I compile the project in VS 6, it works fine
Compile in VS 8, I get this error -2147221164 on a Windows 98 machine.
I installed DAO 3.5 on the machine, but it didn't fix the problem.
newbie-netterAsked:
Who is Participating?
 
Eduard GherguConnect With a Mentor Leader SibiuCommented:
Hello!

You can have a look at:
http://msdn2.microsoft.com/en-us/library/1s0dx3s7.aspx  (Calling DAO Directly While Using MFC DAO Classes)
http://msdn2.microsoft.com/en-us/library/yb6xfda3(VS.80).aspx (Custom DFX Routines for DAO Database Classes)
0
 
OnegaZhangCommented:
Do you follow steps in the following post to deploy your application?
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=52788&SiteID=1
Running an .exe file compiled in VC++ 2005 on a different computer
0
 
lakshman_ceConnect With a Mentor Commented:
Also at this link and check to see if you have latest MDAC version installed on the target system.
http://msdn2.microsoft.com/en-us/library/fse6sb94.aspx
0
 
newbie-netterAuthor Commented:
Thanks for the input.  I intend to try Lakshman's idea next time I have access to this computer.
It does work OK on Win2K machines.
0
All Courses

From novice to tech pro — start learning today.