. . . . . . "Testing ODBC DSNs on Windows, with C++ Demo\r\n\r\n" . . . . . "Testing ODBC DSNs on Windows, with C++ Demo\r\n\r\n" . . . . "
    \r\n
  1. \r\n

    C++ Demo is a simple ODBC-based Interactive SQL processor written, as may be obvious from its name, in C++. The binary executable may be found at:

    \r\n
    <OPENLINK_INSTALLATION_DIRECTORY>\\samples\\odbc
    \r\n

    As with other sample applications we ship, when source code is available, it may be found alongside the executable.

    \r\n
  2. \r\n
  3. \r\n

    Be sure to launch the tool appropriate to the Driver and DSN you are testing:

    \r\n
      \r\n
    • \r\n Driver/DSN: Windows - 64-bit\r\n
      \r\n Default location: C:\\Program Files\\OpenLink Software\\UDA\\Samples\\Odbc\\cppdemo.exe\r\n
    • \r\n
    • \r\n Driver/DSN: 32-bit Windows - 64-bit\r\n
      \r\n Default location: C:\\Program Files (x86)\\OpenLink Software\\UDA\\Samples\\Odbc\\cppdemo.exe\r\n
    • \r\n
    • \r\n Driver/DSN: 32-bit Windows - 32-bit\r\n
      \r\n Default location: C:\\Program Files\\OpenLink Software\\UDA\\Samples\\Odbc\\cppdemo.exe\r\n
    • \r\n
    \r\n
  4. \r\n
  5. \r\n

    Once the app has launched, select menu item Environment >> Open Connection. The ODBC Driver Manager will present a list of available ODBC DSNs. Select the DSN to which you wish to connect (\"Informix 7 on Local\" has been selected, below).

    \r\n

    You will be presented with a Login Dialog. Enter the user name and password for the target database, and click Connect.

    \r\n
  6. \r\n
  7. \r\n

    You should now be connected to the chosen data source. Use the SQL >> Execute SQL menu item to get the SQL input dialog. Enter any valid SQL statement (see example in the screenshot), and click OK.

    \r\n
  8. \r\n
  9. \r\n

    You will be presented with the results of your query. Close the connection by selecting the Environment >> Close Connection menu item. Exiting the application through any normal Windows pattern will also close the connection.

    \r\n
  10. \r\n
" . . . "Testing ODBC DSNs on Windows, with C++ Demo\n\n" . . "Usage Guide" . . "
    \n
  1. \n

    C++ Demo is a simple ODBC-based Interactive SQL processor written, as may be obvious from its name, in C++. The binary executable may be found at:

    \n
    <OPENLINK_INSTALLATION_DIRECTORY>\\samples\\odbc
    \n

    As with other sample applications we ship, when source code is available, it may be found alongside the executable.

    \n
  2. \n
  3. \n

    Be sure to launch the tool appropriate to the Driver and DSN you are testing:

    \n
      \n
    • \n Driver/DSN: Windows - 64-bit\n
      \n Default location: C:\\Program Files\\OpenLink Software\\UDA\\Samples\\Odbc\\cppdemo.exe\n
    • \n
    • \n Driver/DSN: 32-bit Windows - 64-bit\n
      \n Default location: C:\\Program Files (x86)\\OpenLink Software\\UDA\\Samples\\Odbc\\cppdemo.exe\n
    • \n
    • \n Driver/DSN: 32-bit Windows - 32-bit\n
      \n Default location: C:\\Program Files\\OpenLink Software\\UDA\\Samples\\Odbc\\cppdemo.exe\n
    • \n
    \n
  4. \n
  5. \n

    Once the app has launched, select menu item Environment >> Open Connection. The ODBC Driver Manager will present a list of available ODBC DSNs. Select the DSN to which you wish to connect (\"Informix 7 on Local\" has been selected, below).

    \n

    You will be presented with a Login Dialog. Enter the user name and password for the target database, and click Connect.

    \n
  6. \n
  7. \n

    You should now be connected to the chosen data source. Use the SQL >> Execute SQL menu item to get the SQL input dialog. Enter any valid SQL statement (see example in the screenshot), and click OK.

    \n
  8. \n
  9. \n

    You will be presented with the results of your query. Close the connection by selecting the Environment >> Close Connection menu item. Exiting the application through any normal Windows pattern will also close the connection.

    \n
  10. \n
" . . . . . . "Testing ODBC DSNs on Windows, with C++ Demo\n\n" . . . .