mysql C API with XAMPP?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • poreko
    New Member
    • Nov 2006
    • 38

    #1

    mysql C API with XAMPP?

    Hi
    I would like to connect to mysql using C but I have not been successful. I am using XAMPP and Visual C++ express edition.
    Can anyone guide me through the process?
    Thanks
  • Tassos Souris
    New Member
    • Aug 2008
    • 152

    #2
    You can check these:
    MySQL :: Using Visual C++ 6.0 to connect to MySQL
    MySQL C API by Example

    Comment

    • poreko
      New Member
      • Nov 2006
      • 38

      #3
      hi

      Actually it is not the coding side of it that i am struggling with. I dont know how to comfigure the compiler and include the different directories and so on.

      Comment

      • Tassos Souris
        New Member
        • Aug 2008
        • 152

        #4
        The first link says something about that in the beginning.. read the first lines of the first post

        Comment

        • weaknessforcats
          Recognized Expert Expert
          • Mar 2007
          • 9214

          #5
          Select Project Properties/Configuration Properties/Linker/Input. Then on the dialog to the right add you libraries as additional dependencies.

          This gets the library name added to your project. To set the path to it, select from the TaskBar Tools/Options/Projects and Solutions/VC++ Directories. Then use the drop-down menu for "show directories" to select library files. Then add your path.

          Visual Studio will search the paths in the order they appear in the list box.

          Comment

          Working...