This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
dev:odbc:examples:simpleselect [2009/12/07 03:00] tdo |
dev:odbc:examples:simpleselect [2012/10/26 14:57] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| {{page>:top_add&nofooter&noeditbtn}} | {{page>:top_add&nofooter&noeditbtn}} | ||
| <html><div align="center"><span style="color:red">DRAFT</span></div></html> | <html><div align="center"><span style="color:red">DRAFT</span></div></html> | ||
| - | ====== C++ ODBC Simple Connection/SELECT ====== | + | ====== C++ Omnidex ODBC Simple Connection/SELECT ====== |
| - | * SQLConnect can only use System and Machine datasources | + | ^ [[dev:home | Dev ]] ^ [[dev:odbc:examples:simpleselect | C++ ]] ^ [[dev:odbc:sample |C# ]] ^ [[dev:jdbc:examples:simpleselect | Java ]] ^ [[dev:odbc:examples:php_select | PHP ]] ^ |
| + | |||
| + | ===== Quick Notes ===== | ||
| + | |||
| + | * SQLConnect can only use System and Machine datasources so use SQLDriverConnect. | ||
| * SQLDriverConnect can use a Omnidex File DSN with the FILEDSN= prefix. | * SQLDriverConnect can use a Omnidex File DSN with the FILEDSN= prefix. | ||
| * Make sure odxodbc.dll is in the c:\Windows\system32 directory | * Make sure odxodbc.dll is in the c:\Windows\system32 directory | ||
| * Make sure an OdxNet process is running | * Make sure an OdxNet process is running | ||
| + | |||
| ===== C++ Sample Code ===== | ===== C++ Sample Code ===== | ||
| You can cut and paste this code and modify the the SQLDriverConnection call and the SELECT statement to test on your Omnidex Environment. | You can cut and paste this code and modify the the SQLDriverConnection call and the SELECT statement to test on your Omnidex Environment. | ||