DynSQLite Library - SQLite support library

Started by Michele, November 09, 2026, 12:12:02 AM

Previous topic - Next topic

John Z

Hi Michele,

Started to look more into your masterpiece - Two minor things at the start.
When opening a DB there is very little notification that it has been opened successfully. I did eventually notice the Title bar text change, but perhaps something more affirmative could be done.

Secondly if 'mistakenly'  ;)  opening a .pdf, or .txt, or non-database file the program crashes.  Might want to validate, as a minimum, that the selected file has an extension which is one of the three you allow.

Then check the header to be sure it is a valid SQLite db before trying to load it - valid SQLite 3 database begins with a 16-byte magic header string that spells out SQLite format 3 followed by a null terminator.

Cheers,
John Z