Attempting to allow WIN16 compilation of the db/dbtable classes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
George Tasker 2000-01-27 22:47:49 +00:00
parent d76fe38b29
commit 0bd55cfa2c
2 changed files with 8 additions and 2 deletions

View File

@ -193,13 +193,17 @@ SQLDataSources (
* Copy DSN information
*/
STRNCPY (szDSN, sect[cur_entry], cbDSNMax);
/*
glt??? pcbDSN = strlen(szDSN);
*/
/*
* And find the description that goes with this entry
*/
_iodbcdm_getkeyvalbydsn (sect[cur_entry], strlen (sect[cur_entry]),
"Description", (char*) szDesc, cbDescMax);
/*
glt??? pcbDesc = strlen(szDesc);
*/
/*
* Next record
*/

View File

@ -26,6 +26,7 @@
#ifndef _ISQL_H
#define _ISQL_H
#ifndef WIN16
#ifdef WIN32
#define SQL_API __stdcall
#else
@ -36,6 +37,7 @@
typedef void *HWND;
#endif
#endif
typedef void *SQLHWND;