News:

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

Main Menu

Recent posts

#21
Work in progress / Re: A support library to simpl...
Last post by Michele - October 11, 2026, 11:25:43 PM
Thanks Vortex, I'm completing the DLL version and fixing some minor bugs.
I forget to mention that the browser, a customized listview control, use a working thread to fill the list, this allows an efficient and fast handling of huge databases.
#22
Work in progress / Re: A support library to simpl...
Last post by Vortex - October 11, 2026, 07:45:53 PM
Hi Michele,

Thanks. We will wait for an attachment to test your library.
#23
Add-ins / Re: Chm help helper
Last post by John Z - October 11, 2026, 06:00:32 PM
Hmmm - strange because I see CloseHandle no problem, using the win32.chm under Pelles Help set as above in Tools.

I also see it when the Hint Add-in calls win32.chm on its own.

Something unusual happening there - something corrupted maybe?


For CreateProcessW - Yes this is just not in the win32.chm file.  That file contains no "A" or "W" trailing identifiers at all.  This is a drawback to win32.chm which came out so long ago, but Hint Add-in and Hint_SA do include the W format so that the pointers are shown correctly.

John Z
#24
Work in progress / Re: A support library to simpl...
Last post by Michele - October 11, 2026, 04:40:20 PM
I forget to say that the help of Gemini speeded up everything.
The program compiles with PellesC, Clang and MSVC.
#25
Work in progress / A support library to simplify ...
Last post by Michele - October 11, 2026, 04:37:50 PM
I'm writing a library, named 'DynSQLite', to simplify the use of SQLite in user programs.
The library carry a table browser that allows CRUD (Create, Read, Update and Delete) actions on each row, and to inspect blob fields as hex or image, even save, or load, a table, supported formats CSV, JSON, XML and SQL script.
The package include also a SQL editor/executor, that comes with syntax highlighter and auto-completion.
I wrote a demo program, SQLite-Browser, that is completely based on DynSQLite, the images attached shows some samples of use.
The software is almost completed in version Beta, I'll publish soon in the hope that could be useful to someone else.

#26
Add-ins / Re: Chm help helper
Last post by TimoVJL - October 11, 2026, 03:44:36 PM
I tested it first, but i had problems with it.
For example check CloseHandle and what you see ?

DialogBox -> CommDlgExtendedError
EndDialog -> CCHookProc

no help :
CreateProcessW
#27
Add-ins / Re: Chm help helper
Last post by John Z - October 11, 2026, 03:02:54 PM
Timo - That looks good.

There is another method too -

It can also be added through the Tools - Customize - Help Files, Attached screen shot -

John Z
#28
Add-ins / Chm help helper
Last post by TimoVJL - October 11, 2026, 02:14:05 PM
If Win32.chm don't work well with poide, this might help.
Just make ChmHelpAW.ini file to Libraries -> Documents folder with:
[Settings]
HelpFile=C:\your folder\Win32.chm
Source is for Pelles C 13, 14
#29
Assembly discussions / Re: Magic division
Last post by Vortex - October 10, 2026, 09:52:09 PM
Here is the signed version :

.386
.model flat,stdcall
option casemap:none

printf PROTO C :DWORD,:VARARG

ExitProcess PROTO :DWORD

.data

msg         db '-15000 / 3 = %d',0

.code

start:

    mov     eax,-15000
    mov     ecx,eax
    mov     edx,055555556h
    imul    edx
    sar     ecx,31
    sub     edx,ecx
    invoke  printf,ADDR msg,edx

    invoke  ExitProcess,0

END start
#30
Assembly discussions / Magic division
Last post by Vortex - October 10, 2026, 08:50:06 PM
Here is an example of an alternative division method :

.386
.model flat,stdcall
option casemap:none

printf PROTO C :DWORD,:VARARG

ExitProcess PROTO :DWORD

.data

msg         db '4500 / 3 = %u',0

.code

start:

    mov     eax,4500
    mov     edx,0AAAAAAABh
    mul     edx
    shr     edx,1
    invoke  printf,ADDR msg,edx

    invoke  ExitProcess,0

END start