News:

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

Main Menu

Recent posts

#41
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.
#42
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.

#43
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
#44
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
#45
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
#46
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
#47
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
#48
User contributions / Re: Hint_SA (Standalone)
Last post by John Z - October 10, 2026, 06:23:57 PM
No, I didn't understand that you were asking for a test.
I read you wanted win32.chm to be somewhere.

Help me understand.

John Z
#49
User contributions / Re: Hint_SA (Standalone)
Last post by TimoVJL - October 10, 2026, 06:06:01 PM
So you abandon my test totally, why ?
#50
User contributions / Re: Hint_SA (Standalone)
Last post by John Z - October 10, 2026, 05:58:20 PM
Quote from: TimoVJL on October 10, 2026, 04:12:42 PMPossible a poide problem.
A that Win32.chm works in a my tests.

I might find an Add-In soluation, if someone needs that.
Perhaps an ini-file for Win32.chm path.

The Hint Add-in just expects Win32.chm to be in the Pelles IDE Help directory, where the other .chm file are also located. ex: C:\Program Files\PellesC\Bin\Help

I don't see that as a major issue, but if so it can be fixed easily in the Hint Add-in by asking the user to find the file the first time used.

John Z