News:

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

Main Menu

Recent posts

#71
Work in progress / Re: A support library to simpl...
Last post by Michele - October 21, 2026, 12:15:45 AM
Here we are, I publish the alpha version of library 'DynSQLite' and sample application 'DynSQLite Studio'.
There is still a lot of debug and fixing of code (actually has repetitions and over-coding) as is normal for the first release.
In the project workspace I left the binary if you want test them immediately, if you prefer yuo can remove them and recompile the workspace.
I added the sqlite dll, header and library, they come from the binary release that you can download from the SQLite site if you want. This is important because DynSQLite, to analyze the DB, need some functions that aren't present in the PellesC reduced version. If you compile and try to run the app inside the IDE, without the DLL in the exe folder, it will automatically link with the native PellesC SQLite DLL causing the program to fail (A message box will tell you that some entries in DLL are missing).

EDIT: Amended the project directories.
To test the program you can download big databases from the net, like the northwind.db (One is here) whic contains images blobs, and employee.db (A copy here) very large DB useful to check efficiency of the browser control.
Other database useful for trigger evaluation is sakila_master.db (a copy here).

It would be grateful if you give me your feedback on usefulness of this library and report of bugs and feature requests.
Even more appreciated code enhancements.
Waiting to hear from you.
#72
General discussion / Re: Testing code with other C ...
Last post by TimoVJL - October 20, 2026, 09:18:46 PM
I like to test codes for compability reasons.

TLPeViewUC.c had some cases, like
int i;
...
i  = 0;
and it wasn't used later and was a testing leftover.

char *pName = 0;
...
pName = (char*)pImportBName->Name;


EDIT 2026-10-22: A TLWHView needed a lot of changes to sources and headers for making it compilable with Clang with only using Pelles C Windows headers and libraries and msvcrt.dll
#73
General discussion / Re: Testing code with other C ...
Last post by Vortex - October 20, 2026, 08:18:54 PM
Hi Timo,

Pelles C can detect unused variables too. I guess you found a specific case. Could you share your code if it's possible?
#74
General discussion / Testing code with other C comp...
Last post by TimoVJL - October 20, 2026, 05:04:34 PM
If program code avoid crt, it might be easy to compile it with different compilers.
I use clang-cl.exe as a reference C compiler to see more warnings, but some projects was quite easy to build with clang and with polink with Pelles C libraries.
With clang i saw many unused variables and dead code.
#75
Add-ins / Re: Hint Add-IN
Last post by Michele - October 16, 2026, 11:33:38 PM
Quote from: TimoVJL on October 16, 2026, 11:02:19 PM
Quote from: Michele on October 16, 2026, 10:52:21 PMFor sake of precision, my name is Michele, an italian male name.
Sorry about that, i wrote just too fast and having bad fingers  :(
Not a problem at all  :)
I Added a table creator/editor to DynSQLite.
#76
Add-ins / Re: Hint Add-IN
Last post by TimoVJL - October 16, 2026, 11:02:19 PM
Quote from: Michele on October 16, 2026, 10:52:21 PMFor sake of precision, my name is Michele, an italian male name.
Sorry about that, i wrote just too fast and having bad fingers  :(
#77
Add-ins / Re: Hint Add-IN
Last post by Michele - October 16, 2026, 10:52:21 PM
Quote from: TimoVJL on October 16, 2026, 03:49:00 PMA tool for checking database before Michelle publish his
https://forum.pellesc.de/index.php?msg=21897
Hello TimoVJL, I'm almost ready to release the app. I will do in next days just cleaning up.
For sake of precision, my name is Michele, an italian male name.
#78
Add-ins / Re: Hint Add-IN
Last post by TimoVJL - October 16, 2026, 03:49:00 PM
A function database is a nice idea.
For example GDIPlusFlat function defines could add to source code or private header directly.

A tool for checking database before Michele publish his
https://forum.pellesc.de/index.php?msg=21897
#79
Add-ins / Re: Hint Add-IN
Last post by John Z - October 16, 2026, 12:32:10 PM
Well no downloads of the last version :( , anyway -

Here is a new version of the Hint Add-in. This Hint version 2, is updated to include the features in the recent Hint_SA version.  Using Pelles Menu Tools - Options - Add-ins - 'PellesC win32 API Function Hint' then select the Options button, one can choose their preferred web search provider and if they want the output to just go to the Pellec Output tab rather than the output Dialog window.

It also includes a few minor tweaks here and there.

The database has not changed but is included here just in case needed.  Hint Add-in and Hint_SA both use the same database and the same Win32.chm.

Sources are included as well as a ready to use Hint.dll.

John Z

Are there other search providers that would be helpful to add? Send me a message through Pelles.
#80
Bug reports / Re: Merging 4 byte loads into ...
Last post by TimoVJL - October 14, 2026, 02:08:40 PM
Bug have been since version 11  :(