News:

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

Main Menu

Recent posts

#11
Announcements / Re: New Year, new URL
Last post by Michele - Yesterday at 10:22:43 AM
👍 👍 👍
#12
Announcements / Re: New Year, new URL
Last post by jurgenve - Yesterday at 02:15:49 AM
Happy new year and best wishes for 2026.

Thank you for all the effort.
Rest of the website and its information will become alive again, I presume?




#13
Announcements / Re: New Year, new URL
Last post by TimoVJL - Yesterday at 02:00:12 AM
Thanks Pelle !
Nice way to start a New Year  8)
#14
Announcements / Re: New Year, new URL
Last post by John Z - Yesterday at 01:59:36 AM
Great change
👍 👍 👍

John Z
#15
Announcements / New Year, new URL
Last post by Pelle - January 10, 2026, 09:18:21 PM
www.smorgasbordet.com/pellesc  =>  www.pellesc.se

( with some minor polishing later, maybe... )
#16
General discussions / Re: smorgasbordet.com/pellesc/...
Last post by bitcoin - January 10, 2026, 01:04:31 AM
Where is Pelle ? Is he alive? :'(
#17
Assembly discussions / Getting memory capacity
Last post by Vortex - January 08, 2026, 07:39:06 PM
Here is an example based on the API function GetPhysicallyInstalledSystemMemory :

include     GetMemory.inc

.data

fc1         db 'Compute name = %s'
            db 13,10,0

fc2         db 'The computer %s '
            db 'has %u Gb of memory.',0

nSize       dd 32

.data?

CompName    db 32 dup(?)
Memory      dq ?

.code

start:

    invoke  GetComputerName,\
            ADDR CompName,ADDR nSize

    invoke  printf,ADDR fc1,\
            ADDR CompName

    invoke  GetPhysicallyInstalledSystemMemory,\
            ADDR Memory

    mov     eax,DWORD PTR Memory
    mov     edx,DWORD PTR Memory+4

    mov     ecx,1024*1024
    div     ecx

    invoke  printf,ADDR fc2,ADDR CompName,eax
           
    invoke  ExitProcess,0

END start
#18
Add-ins / Re: Line Counter Add-IN
Last post by John Z - January 06, 2026, 12:12:03 PM
Updated DLL for Pelles C Version 13. Minor bug fix too.


John Z
#19
Beginner questions / Re: Read PDF text with PDFio
Last post by jos - January 05, 2026, 01:04:59 PM
Thank you very much.

Master, now it works! I'll try to go through it and compare what I missed or what I did wrong.
#20
Beginner questions / Re: Read PDF text with PDFio
Last post by TimoVJL - January 05, 2026, 09:46:05 AM
Project with only source and zlib-libs in cdecl format.

zlib project is at:
https://forum.pellesc.de/index.php?msg=41804


https://www.msweet.org/pdfio/pdfio.html