Thread: connecting to another computer

  1. #1
    yinhowe
    Guest

    Lightbulb connecting to another computer

    Hi all,
    Is there a way I can connect to another computer using c programming? What do i need to do if I want to access a file in another computer.

    thanks and regards,
    howe

  2. #2
    Refugee face_master's Avatar
    Join Date
    Aug 2001
    Posts
    2,052
    >> Is there a way I can connect to another computer using c programming?

    remote or local?

  3. #3
    yinhowe
    Guest

    Talking

    remote
    it's like I want to use Cprogramming to connect to a server so that I can modify or update the database in that particular server.

    is it possible?

  4. #4
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,130
    If you want to use databases I'm pretty sure the database provider has a driver for this for download. It's called ODBC for Open DataBase Connectivity. If you are using the MFC you can access such datasources using the CDatabase class.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  5. #5
    Registered User
    Join Date
    Aug 2002
    Posts
    351
    databases like mysql usually have a c api that have have functions that allow you to connect remotely.

    have a look at the mysql c api docs at www.mysql.com.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. connecting to a computer inside a LAN
    By hardi in forum Networking/Device Communication
    Replies: 6
    Last Post: 10-25-2006, 04:43 PM
  2. Connecting to my computer from elsewhere
    By maxorator in forum Windows Programming
    Replies: 19
    Last Post: 05-04-2006, 10:08 PM
  3. Replies: 34
    Last Post: 02-26-2006, 01:16 PM
  4. Tabbed Windows with MDI?
    By willc0de4food in forum Windows Programming
    Replies: 25
    Last Post: 05-19-2005, 10:58 PM
  5. tcp/ip not connecting to my computer
    By Rune Hunter in forum C# Programming
    Replies: 11
    Last Post: 03-14-2005, 04:26 PM