Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. A Problem about DAO

A Problem about DAO

Scheduled Pinned Locked Moved C / C++ / MFC
helpdatabasecomquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    zzzzzzzzzz
    wrote on last edited by
    #1

    I Developed a Program that useing MDB DataBase ( Access 97 ). It Could Run Correctly In My Computer. Now I Place The Program In A New Computer That Has Installed Access2002. When The Program Running, It Report A Error " Internal Application Error". I Want To Install Dao3.5 To Solve The Problem . But When I Install The Dao , Some Info Show As Below "Another application is currently using DAO files.Close all other applications .Continue? Yes,No " When I Click "Yes", The Info Show Again And Again. Pls Tell The Me The Reason And How Should I Do?, Thank You ! rzdir7825@sina.com

    M 1 Reply Last reply
    0
    • Z zzzzzzzzzz

      I Developed a Program that useing MDB DataBase ( Access 97 ). It Could Run Correctly In My Computer. Now I Place The Program In A New Computer That Has Installed Access2002. When The Program Running, It Report A Error " Internal Application Error". I Want To Install Dao3.5 To Solve The Problem . But When I Install The Dao , Some Info Show As Below "Another application is currently using DAO files.Close all other applications .Continue? Yes,No " When I Click "Yes", The Info Show Again And Again. Pls Tell The Me The Reason And How Should I Do?, Thank You ! rzdir7825@sina.com

      M Offline
      M Offline
      Manfred Staiger
      wrote on last edited by
      #2

      With Access2000 or later you need Dao 3.6 and Jet Engine 4.0 on your PC. In your application you need to make the following call prior to calling AfxDaoInit(): //This call makes MFC take use of DAO3.6 AfxGetModuleState()->m_dwVersion = 0x0601; //Now you can call AfxDaoInit() AfxDaoInit(); It only works if you have MFC as shared dll. If you have linked MFC statically you need to change some code in CDaoDatabase. It is described anywhere in MSDN. Hope this helps. MS

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups