CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    May 2007
    Posts
    25

    How to connect to access by ODBC in VC++ 2010

    I have created user DSN using odbcad32.exe. As it seems only connection with
    office 2007 32 bit available drivers.But when for DataSource( while adding CRecordSet) class ,I mention this DSN,VC++ 2010 professional edition(original)
    crashes without any warning,Please help me on this issue?
    Is there any another simple way of database connection for VC++?(I found ADO is bit difficult for VC++)

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: How to connect to access by ODBC in VC++ 2010

    Victor Nijegorodov

  3. #3
    Join Date
    May 2007
    Posts
    25

    Re: How to connect to access by ODBC in VC++ 2010

    Access 2007

  4. #4
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: How to connect to access by ODBC in VC++ 2010

    Quote Originally Posted by shivditya View Post
    Access 2007

    DId you try any of connection strings from Microsoft Access accdb ODBC Driver?
    Victor Nijegorodov

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured