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
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Problems with CRecordset DoDataExchange !!!???

Problems with CRecordset DoDataExchange !!!???

Scheduled Pinned Locked Moved C / C++ / MFC
c++databasehelpdebuggingquestion
1 Posts 1 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.
  • A Offline
    A Offline
    Ariel
    wrote on last edited by
    #1

    Hi there, Well I have a strange problem. I'm Using Access 2000 DB and i'm connected through ODBC Drivers in MFC using CRecordset. I have a Table with a field of type Date/Time in Access 2000 DB , which the CRecordset uses : RFX_Date(pFX, _T("[FirstInstallDate]"), m_FirstInstallDate); (to exchange data between the Recordset itself and the Database.) all i do before this is : rsRecSet.m_FirstInstallDate = CTime::GetCurrentTime(); and the definition is : CTime m_FirstInstallDate; Everytime i get to this line i have a notification in DEBUG MODE : Microsoft Visual C++ : Unhandled exception in MyApp.exe (MFC42D.DLL): 0xC0000005: Access Violation. and the App. is stuck and i can't go on .... but the record is written and in a right way ... ???? and when i run the same App. in RELEASE MODE it Closes with Abotion Message. Does somone have any idea ???? Thanks alot, Ariel.

    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