Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2003
    Posts
    3

    Question Unanswered: Memory leak problem

    Hello Everyone,
    greetings,
    I wrote an application using MFC CDatabase and Crecordset classes to access the MS Access Database.My application continuesly open and close connection. When I test it with Rational Purify, it shows Memory leaks in CDatabase::OpenEx and Crecordseten statement.

    I didnt use any dynamic allocation in my application and i close all connections properly.

    I want to know is MFC CRecordset and CDatabase classes leaks memory or this is the problem with my application itself.

    Plz suggest me to get out with this precarious situation.
    Thanks
    Regards
    Tapesh

  2. #2
    Join Date
    Feb 2002
    Posts
    2,232
    Which version of mdac are you using ?

  3. #3
    Join Date
    Dec 2003
    Posts
    3
    Sir,
    Thanks for your reply.
    I am using MDAC version 2.7.
    Waiting for your earliest reply.
    Regards
    Tapesh

  4. #4
    Join Date
    Feb 2002
    Posts
    2,232
    Usually this is associated with mdac problems. Check for service packs for 2.7 or install 2.8. Have you tried this with another database - like oracle/sql server/mysql ... ?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •