News:

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

Main Menu

Recent posts

#71
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
#72
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
#73
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
#74
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
#75
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
#76
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
#77
User contributions / Re: Hint_SA (Standalone)
Last post by TimoVJL - October 10, 2026, 06:06:01 PM
So you abandon my test totally, why ?
#78
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
#79
User contributions / Re: Hint_SA (Standalone)
Last post by TimoVJL - October 10, 2026, 04:12:42 PM
Quote from: John Z on October 10, 2026, 03:48:51 PM
Quote from: TimoVJL on October 10, 2026, 12:38:47 PMSadly a that Win32.chm don't work with poide :(

However with the Hint Add-in it is easily accessible automatically from within the IDE...

John Z
Possible 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.
#80
User contributions / Re: Hint_SA (Standalone)
Last post by John Z - October 10, 2026, 03:48:51 PM
Quote from: TimoVJL on October 10, 2026, 12:38:47 PMSadly a that Win32.chm don't work with poide :(

However with the Hint Add-in it is easily accessible automatically from within the IDE...

John Z