Thread: smart device database problem

  1. #1
    Registered User
    Join Date
    Nov 2007
    Posts
    74

    smart device database problem

    hi all,
    i want to connect the mfc smart device to odbc database but i found that smart device does not have such function to connect when setting up the environment, and i just type those code using crecordset and cdatabase class function and it didn't work, can anybody tell me what should i do?
    thanks!

  2. #2
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,868
    Can you create a DSN in the device's OS?
    [I have previously posted code on how to programmatically add a DSN.]

    Please post you current code to connect to the DB, otherwise we are guessing at what could be going wrong.
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Visual Studio C++ MFC Smart Device problem.
    By rosicky2005 in forum Windows Programming
    Replies: 0
    Last Post: 10-16-2007, 04:49 AM
  2. A question related to strcmp
    By meili100 in forum C++ Programming
    Replies: 6
    Last Post: 07-07-2007, 02:51 PM
  3. Bin packing problem....
    By 81N4RY_DR460N in forum C++ Programming
    Replies: 0
    Last Post: 08-01-2005, 05:20 AM
  4. database problem
    By ashb in forum C++ Programming
    Replies: 4
    Last Post: 04-01-2005, 04:26 PM
  5. Replies: 4
    Last Post: 06-30-2004, 03:11 PM