CDaoDatabase class

Hi,

I am using CDaoDatabase class in VS7.2 and its work perfectly.

Now I want to compile this application in VS8.0 for Windows 64 Bit platform and get this error- 

fatal error C1189: #error :  DAO Database classes are not supported for Win64 platforms

What should i do for this

Manoj Jangid




Answer this question

CDaoDatabase class

  • JeffsMSDNUserID

    As DAO is not supported under 64 bit windows, I suggest you make a 32 bit component that wraps all of your DAO behaviour and then thunk down to that 32 bit component from your 64 app. 
  • Alan de Wet

    you would create a DLL that has all functionality relating to DAO. Then you would export several functions (using __declspec(dllexport) from that DLL, and then call it from your 64 bit app.

    I suggest you read the following article:

    http://dnjonline.com/article.aspx ID=jun07_access3264


  • pavvu_kk

    Hello Ted. Your suggestion is important for me. Could you please give more detailed explanation about how to implement this model Should I use Dll or static library to wrap all of DAO functions, or other compnents

    Thanks in advance for your reply.



  • CDaoDatabase class