Hello jp, >Thanks Ralf, that seems to be more stable - the process is not crashing >anymore (ran it twice, no errors).
Glad to read this! >Pardon my ignorance - I am still using cdecl, how can I use 'register'? >Doesn't sqlite expects cdecl? There is no ignorance involved: The sqlite3.dll of course expects cdecl. It is only DISQLite3 which does not require cdecl but allows to use Delphi's default register calling convention. DISQLite3 is a special build of sqlite3 specially targeted at Delphi. Since it does not use the sqlite3.dll (it compiles straight into applications), it was possible to apply register calling conventions throughout (internally as well as for the external API). Register was choosen because according to the Delphi help "The default register convention is the most efficient, since it usually avoids creation of a stack frame." My tests have confirmed this to be true for DISQLite3. It is available from http://www.yunqa.de/delphi/sqlite3/. Regards, Ralf ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------