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

    Unhappy Vc++2010 & sql 2008

    hi .
    I'm asking on how to link SQL 2008 with Visual C++ 2010 . including steps plz..


    thanks for advance

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

    Re: Vc++2010 & sql 2008

    Maybe you will start with MSDN?
    Something like Visual Studio 2010 SQL Server Database Projects?
    Victor Nijegorodov

  3. #3
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Location
    Florida
    Posts
    12,637

    Re: Vc++2010 & sql 2008

    There are several ways. You could use ODBC and the MFC classes CDatabase and CRecordset. The steps are well documented on MSDN.

  4. #4
    Join Date
    May 2012
    Posts
    9

    Unhappy Re: Vc++2010 & sql 2008


    MSDN shows me how to set up the SQL server 2008, But still doesn't show me how to link it to microsoft Visual C++ 2010

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

    Re: Vc++2010 & sql 2008

    To create a database project:
    http://social.msdn.microsoft.com/For...e-bc149b2df2a9

    If you mean something else then please define "to link SQL 2008 with Visual C++ 2010"
    Victor Nijegorodov

  6. #6
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Location
    Florida
    Posts
    12,637

    Re: Vc++2010 & sql 2008

    Quote Originally Posted by kimoalking View Post

    MSDN shows me how to set up the SQL server 2008, But still doesn't show me how to link it to microsoft Visual C++ 2010
    Did you check the documentation for the two classes I mentioned?

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