News:

Download Pelles C here: http://www.pellesc.se

Main Menu

Recent posts

#71
User contributions / Re: DynSQLite Library - SQLite...
Last post by Robert - November 11, 2026, 06:45:04 PM
Quote from: Michele on November 11, 2026, 09:32:14 AM
Quote from: Robert on November 10, 2026, 09:35:32 PMNo. Same problem with last two updates including DynSqlite_workspace_V00.73.10.
Robert the version V00.73.11 works?
Download the workspace here.

Hi Michele:

There was some improvment but no the  V00.73.11 project still has compilation problems and does not work.

- - - - - - - - - - MemLeakCheck.lib
Building mem_dbg.obj.
Building MemLeakCheck.lib.
- - - - - - - - - - ReflectControl.lib
Building reflect.obj.
Building ReflectControl.lib.
- - - - - - - - - - DynSqlite_dll.dll
Building AboutDlg.obj.
Building AlterTable.obj.
Building Apis.obj.
Building autocomplete.obj.
Building AutoTable.obj.
Building Browser.obj.
Building collations.obj.
Building context.obj.
Building DynSQLiteLogo.obj.
Building export.obj.
Building FKSplitPicker.obj.
C:\Users\irwis\Downloads\DynSqlite_workspace_V00.73.11\include\FKSplitPicker.h(25): fatal error #1035: Can't find #include file <FkVirtualGrid.h>.
*** Error code: 1 ***
Done.

Did you fix TimoVJL's reported Errors ?
Please see
https://forum.pellesc.de/index.php?topic=11857.msg42770#msg42770
#72
User contributions / Re: DynSQLite Library - SQLite...
Last post by TimoVJL - November 11, 2026, 06:09:08 PM
We should be thankful for Frankie for a that gdiplusflat.h header file.
MS header set is just a nightmare with several headerfiles's to filter from C++ junk.
#73
User contributions / Re: DynSQLite Library - SQLite...
Last post by John Z - November 11, 2026, 02:49:42 PM
Hi Michele,

Ah - ok I guess I read more into this comment than was intended:

"if the modification of your table 'Functions' as below still works for you, you can edit it easily using SQLiteStudio on DynSQLite."

as meaning it couldn't edit without changing the fields, and removing the dual primary keys.

Apologies,
John Z
#74
User contributions / Re: DynSQLite Library - SQLite...
Last post by Michele - November 11, 2026, 01:42:41 PM
Quote from: John Z on November 11, 2026, 01:14:42 PMI modified the DB per the request (as I understood it) using the the same tool, and attached it here for testing in the DynSQLite program.  The changes do not break my Hint_SA code. The DB is very small if you .7z it, or use .zip

However - Why does a database need to be changed to use a specific editor?  There is nothing inherently wrong with the database, yes changing HeaderC and LibraryC to numeric is not unreasonable but as is should not be breaking an editor.  Not that uncommon to have multiple primary keys either imo, even though I had not implemented using both.

I have not download DynSQLite lib and program since the first posting, waiting for the dust to settle a bit. Hadn't tried to build it yet either....

John Z

Note: If testing in Hint_SA rename the db to the original win32_functions.db3 (hard coded in the program)

Hello John Z, your database structure doesn't break the DynSQLite editor, you can use it on your original database without any problem.
The library got a feature that analyzes the table's foreign key and shows a more friendly visualization in the editor for such fields.
In your database you join 2 tables, on headers and libraries, without a foreign key declaration (relaxed schema), if you declare the 2 foreign keys the editor automatically shows the available FK values using the most human friendly text field in the referenced table.
So for quick fixes, or to add more entries, you can easily select the header or library using the name instead of the numeric key, and take advantage of the filter available on top of the selection combo to locate faster the header/library you want. DynSQLite will take care to insert the correct key.
Using an integer for key reference speeds up database work removing eventual conversions.
The modification to the data base could have been done directly with DynSQLite using tools->modify_table using the dialog editor showed in my former posts.
It was a suggestion in hope that the feature I tried to give to my library could make things easier, not a request.  :) 
#75
User contributions / Re: DynSQLite Library - SQLite...
Last post by John Z - November 11, 2026, 01:14:42 PM
OK same here VAX/VMS DBMS, Ingres, Oracles, MS SQL, Access, ISAM DB (anyway I'm still no expert)

I used 'DB Browser for SQLite Version 3.13.1' to create the DB. 
https://sqlitebrowser.org/

I modified the DB per the request (as I understood it) using the the same tool, and attached it here for testing in the DynSQLite program.  The changes do not break my Hint_SA code. The DB is very small if you .7z it, or use .zip

However - Why does a database need to be changed to use a specific editor?  There is nothing inherently wrong with the database, yes changing HeaderC and LibraryC to numeric is not unreasonable but as is should not be breaking an editor.  Not that uncommon to have multiple primary keys either imo, even though I had not implemented using both.

I have not download DynSQLite lib and program since the first posting, waiting for the dust to settle a bit. Hadn't tried to build it yet either....

John Z

Note: If testing in Hint_SA rename the db to the original win32_functions.db3 (hard coded in the program)
#76
User contributions / Re: DynSQLite Library - SQLite...
Last post by TimoVJL - November 11, 2026, 10:16:49 AM
Quote from: MrBcx on November 10, 2026, 10:32:03 PMI don't do much with databases anymore ( retired 12 years ago ) but when I was doing DB work,
most of it involved MS Access and Sql Server.
Same here, retired few years ago, and had to at worklife to suffer of MS Sql Server, Oracle, Progress, and with a their client drivers.
MS SQL Server was an easy part. For Oracle have to make a special installer for minimal client database drivers.
#77
User contributions / Re: DynSQLite Library - SQLite...
Last post by Michele - November 11, 2026, 09:32:14 AM
Quote from: Robert on November 10, 2026, 09:35:32 PMNo. Same problem with last two updates including DynSqlite_workspace_V00.73.10.
Robert the version V00.73.11 works?
Download the workspace here.
#78
User contributions / Re: DynSQLite Library - SQLite...
Last post by Michele - November 11, 2026, 09:29:51 AM
Quote from: TimoVJL on November 10, 2026, 09:56:01 PMA that win32_functions.db3 isn't mine.
It is in John Z project.
I tested the modified database and it works well.
If John Z accept the modification SQLiteStudio can be used more friendly to edit the library.
#79
User contributions / Re: DynSQLite Library - SQLite...
Last post by Michele - November 11, 2026, 09:27:04 AM
Quote from: MrBcx on November 10, 2026, 10:32:03 PMI don't do much with databases anymore ( retired 12 years ago ) but when I was doing DB work,
most of it involved MS Access and Sql Server.  One thing I very much liked about MS Access was the
(Q)uery (B)y (E)xample feature for quickly and easily creating various sql statements, like Select
queries, Joins, Views, etc.  Adding a QBE feature is not an easy thing to accomplish but AI could
probably help a lot, if you decide to take on the challenge.
Not an easy task, could be a good feature, I'll give a try as I can.
What I would add in short are features that increment the flexibility of the library, i.e. I already introduced a flag that can be applied at each distinct column of a table that hide its value in editing, useful when using the table data editor in a custom program and the user doesn't want that field to show up or be changed, normally the primary key.
Maybe can be useful a similar flag to hide the value also in the browser.
These permits, together with per column validation functions, to use the generalized library functions to build custom interface for proprietary programs.
#80
User contributions / Re: DynSQLite Library - SQLite...
Last post by Michele - November 10, 2026, 11:06:13 PM
I touched again the sources to force workspace zip to include a folder with the gdiplus headers.
I have the frankie SDK installed, and didn't realized that pellesC still comes without those files (why Mr Pelle doesn't include them?).
The updated library DynSqlite_workspace_V00.73.11.zip is available for download on sourceforge.net, download the workspace here.
Robert please let me know if it compiles now.