Welcome to the SQLitening support forums!
Started by littlebigman, May 01, 2010, 05:37:45 AM
QuotePS: Out of curiosity, would an HTTP-capable server application (ie. where the client would use any HTTP client library to talk to an SQLite server using the text-based HTTP protocol) have significant drawbacks compared to SQLitening?
Quote#========================<[ SQLitening API's ]>=========================SQLitening comes with three different API's as follows: Basic --- Dll name is SQLitening.Dll --- Include name is SQLitening.Inc --- All routines begin with sl. Special --- Dll name is SQLiteningS.Dll --- Include name is SQLiteningS.Inc --- All routines begin with sls. Universal --- Dll name is SQLiteningU.Dll --- Include name is SQLiteningU.Inc --- All routines begin with slu.All DLL's are written in PowerBASIC and use the SDECL (aka STDCALL) convention for parameter passing. SDECL specifies that the declared procedure uses the "Standard Calling Convention" as defined by Microsoft. When calling an SDECL procedure, parameters are passed on the stack from right to left and the stackl is automatically cleaned before execution returns to the calling code. PowerBASIC allocates strings using the Win32 OLE string engine. This allows you to pass strings from your program to DLLs, or API calls that support OLE strings. Which API or DLL should you use?Basic:: Always try to use the Basic API. If you language supports passing OLE strings both ByVal and ByRef then you should be able to use the Basic API. OLE strings are allocated using the Win32 OLE string engine. There are some routines in the Basic API that will probably only work with PowerBASIC. slSelAry is one that passes an array and therefore may only work in PowerBASIC. You may need to modify the include file (SQLitening.Inc) to support your language Special:: If your language supports OLE string passing but only ByRef (Visual Basic) then the Special API will probable work for you. The language must also support optional parameter passing. The slSelAry is not available in this API. You will need to modify the include file (SQLiteningS.Inc) to support your language This DLL is a front-end to the Basic API. Universal:: If your language does not support OLE strings then the Special API will probable work for you. This API will work for any language that can call a standard Dll. The parameter passing is patterned after the Windows API. The slSelAry is not available in this API. You will need to modify the include file (SQLiteningU.Inc) to support your language This DLL is a front-end to the Basic API. Documentation about parameter passingis located in the include file.
QuoteIs it possible for those of us without access to PowerBasic to get plain text listing of the Example*.BAS that come with version 1.40 in the hope that we could learn a thing or two from them.