Using Win32 functions in Visual FoxPro Image Gallery
ODBC API
..msdn
SQLAllocEnv
SQLAllocHandle
SQLBindCol
SQLBrowseConnect
SQLConfigDataSource
SQLConnect
SQLCreateDataSource
SQLDataSources
SQLDisconnect
SQLDriverConnect
SQLDrivers
SQLExecDirect
SQLFetch
SQLFreeEnv
SQLFreeHandle
SQLGetConfigMode
SQLGetConnectAttr
SQLGetDiagRec
SQLGetEnvAttr
SQLGetFunctions
SQLGetInfo
SQLGetInstalledDrivers
SQLGetPrivateProfileString
SQLInstallerError
SQLManageDataSources
SQLNativeSql
SQLRowCount
SQLSetConfigMode
SQLSetEnvAttr
SQLTables
Code examples:
List of ODBC drivers installed (read from the [ODBC Drivers] section)
SQLGetInstalledDrivers
..msdn    Add comment     W32 Constants      Translate this page
SQLGetInstalledDrivers reads the [ODBC Drivers] section of the system information and returns a list of descriptions of the installed drivers.
Code examples:
List of ODBC drivers installed (read from the [ODBC Drivers] section)
Declaration:
BOOL SQLGetInstalledDrivers(
    LPSTR lpszBuf,
    WORD  cbBufMax,
    WORD * pcbBufOut);
FoxPro declaration:
DECLARE INTEGER SQLGetInstalledDrivers IN odbccp32;
    STRING  @ lpszBuf,;
    INTEGER   cbBufMax,;
    INTEGER @ pcbBufOut

Parameters:
lpszBuf
[Output]
List of descriptions of the installed drivers.

cbBufMax
[Input]
Length of lpszBuf.

pcbBufOut
[Output]
Total number of bytes (excluding the null-termination byte) returned in lpszBuf.
Return value:
The function returns TRUE if it is successful.
My comment:
[My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\ODBC Drivers]
Word Index links for the SQLGetInstalledDrivers :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2003-01-29 11:04:01
Modified: 2003-01-29 11:06:22
Visited in last 7 days: 18
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (23.20.86.177)
10 sec.Function: 'SetMailslotInfo'
1 day(s)Function: 'AVIStreamReadFormat'
 
Function group: 'System Shutdown'
 Function: 'CopyFileTransacted'
 Updates
 
Function group: 'Shell Functions'
 Login
 Function: 'GetCurrentHwProfile'
 
Function group: 'Dynamic-Link Library'
 Function: 'CeCreateFile'
Google
Advertise here!