linkDLL "sql.dll" INT SqlCursorClose(WORD, POINTER) SqlCusrsorOpen( 0 -- did table DescribeTable( !>= 1 hrecBuff GlobalAlloc(66, globalLock( .(328, |) -- init control struct ctrlDump FetchFirst( GetStatus( temp 1(0, && CRLF ) - 1) FetchNext( 1(0, globalUnlock( globalFree( terPage enterPage enterPage results cursList reset cursList option query s_execute HCursor getStatus DescribeTable GlobalAlloc globalLock wctrlDump FetchFirst GetStatus FetchNext GetStatus globalUnlock globalFree reset results recBuff hrecBuff table ptrControl hUser hCursor ptrStatus 4hControl, ptrControl, hColumn, ptrColumn, hTable, ptrTable, hStatus, ptrStatus e"About SQL.TBK" c"Help" "dba.exe" "The Quasar Database Administrator could xbe loaded" & CRLF &\ "Run DBA.EXE 4attempting access" linkDLL "c:\ $\sql.dll" INT SqlCursorClose(WORD, POINTER) SqlCursorOpen( ;DescribeColumn( YDescribeTable( vExecute( i, STRING) FetchFirst( ]pointers instead strings FetchLast( the fetches because FetchPrevious( -- buffer explicitly allocated FetchNext( FetchPositioned( , LONG, GetStatus( SqlLogin( Logout( kernel" gGlobalAlloc( GlobalLock( GlobalUnlock( gGlobalFree( GlobalSize( tbkdlg. opendlg( globalAlloc(66,358) globalLock( table descriptor -- cover functions -- These will have same pwithout 'Sql' aboutSQLTBK loggedIn ("User Name" f"SYSTEM" uname ("Password" f"QUASAR" userHandle ?,pw) ctrlDump Failed" "failed" hUser stat SqlLogout( FALSE "control" "Error detail:"&& Msg:"&& 1(66, "Hilite Length:"&& .(322, #Offset:"&& .(324, "Padding:" && .(326, "Record Buff. :" && .(328, "Result Code:" && .(330, cursorHandle , hCursor SqlDescribeTable( -- record , colNumber SqlDescribeColumn( S_execute , query SqlExecute( SqlFetchFirst( SqlFetchLast( SqlFetchNext( , pos, , hCusrsor, SqlFetchPrevious( SqlGetStatus( "status" Deletes:"&& Inserts:"&& Selects:"&& Updates:"&& /(12, "Elapsed Time (msec):" && /(16, globalUnlock ( globalFree aboutSQLTBK enterBook ctrlDump leaveBook CursorOpen DescribeColumn S_execute Logout FetchFirst CursorClose FetchLast FetchNext Login FetchPosition DescribeTable FetchPrevious GetStatus enterBook About SQL.TBK dba.exe The Quasar Database Administrator could not be loaded Run DBA.EXE before attempting access c:\temp\sql.dll SqlCursorClose SqlCursorOpen SqlDescribeColumn SqlDescribeTable SqlExecute SqlFetchFirst SqlFetchLast SqlFetchPrevious SqlFetchNext SqlFetchPositioned SqlGetStatus SqlLogin SqlLogout kernel GlobalAlloc GlobalLock GlobalUnlock GlobalFree GlobalSize tbkdlg.dll opendlg q globalAlloc globalLock globalAlloc globalLock globalAlloc globalLock globalAlloc globalLock hControl ptrControl hColumn ptrColumn hTable ptrTable hStatus ptrStatus aboutSQLTBK about Login User Name SYSTEM Password QUASAR SqlLogin wctrlDump Login Failed failed userHandle uname ptrControl loggedIn Logout SqlLogout wctrlDump Logout Failed failed userHandle ptrControl loggedIn hUser ctrlDump control Error detail: Error Msg: Hilite Length: Hilite Offset: Padding: Record Buff. Size: Result Code: ptrControl CursorOpen SqlCursorOpen wctrlDump CursorOpen Failed failed cursorHandle ptrControl hUser CursorClose SqlCursorClose wctrlDump CursorClose Failed failed cursorHandle ptrControl hCursor hUser DescribeTable SqlDescribeTable wctrlDump DescribeTable Failed failed ptrControl ptrTable hCursor hUser DescribeColumn SqlDescribeColumn wctrlDump DescribeColumn Failed failed ptrControl ptrColumn colNumber hCursor hUser S_execute SqlExecute wctrlDump S_execute Failed failed ptrControl query hCursor hUser FetchFirst SqlFetchFirst wctrlDump FetchFirst Failed failed ptrControl buffer hCursor hUser FetchLast SqlFetchLast wctrlDump FetchLast Failed failed ptrControl buffer hCursor hUser FetchNext SqlFetchNext wctrlDump FetchNext Failed failed ptrControl buffer hCursor hUser FetchPosition SqlFetchFirst wctrlDump FetchPosition Failed failed ptrControl buffer hCursor hUser FetchPrevious SqlFetchPrevious wctrlDump FetchPrevious Failed failed hCursor ptrControl buffer hCusrsor hUser GetStatus SqlGetStatus wctrlDump GetStatus Failed failed status Number of Deletes: Number of Inserts: Number of Selects: Number of Updates: Elapsed Time (msec): ptrControl ptrStatus hCursor hUser leaveBook globalUnlock globalFree globalUnlock globalFree globalUnlock globalFree globalUnlock globalFree hControl hColumn hTable hStatus