News:

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

Main Menu

Recent posts

#91
Announcements / Re: New Year, new URL
Last post by Pelle - January 11, 2026, 08:20:45 PM
OK, thank you all....

Some more information:

* I have given up hope for future C standards: there seem to be a lack of C experts on the committee these days. Once enough of them are gone, it seems unlikely for things to improve (ever). Some rubbish already entered C23, and C2y looks worse. The C programming language will not go away any time soon, there is just too much C code still in use, but largely the useful C code has already been written (in some older standard).

* Much of the source code on "smorgasbordet.com/pellesc" was old and outdated, so I don't really see a point in publishing it ever again, but I still have the code... so if you insist?!

* C on Windows is static since long ago, C++ on Windows seems to change every other year or so. Not much to work on here really...

* To avoid total brain-rot at 65+ I need something to work on, so the next version of Pelles C (14.00) will mainly contain new (experimental) support for ARM64 machines. Some time after the Olympics, I would expect...

* Not sure what to work on after version 14.00 though...

#92
Assembly discussions / Windows domain membership
Last post by Vortex - January 11, 2026, 06:34:18 PM
This quick code checks if your computer is a member of a domain :

include IsDomainMemb.inc

.data

m1  db 'The computer is not joined to a domain.',0
m2  db 'The computer is joined to a domain.',0
tbl dd OFFSET m1,OFFSET m2

.code

start:

    invoke  IsOS,OS_DOMAINMEMBER

    xor     ecx,ecx
    test    eax,eax
    setne   cl
    push    ecx
    shl     ecx,2
    lea     edx,[tbl+ecx]

    invoke  StdOut,DWORD PTR [edx]

    pop     eax
    invoke  ExitProcess,eax
#93
Announcements / Re: New Year, new URL
Last post by MrBcx - January 11, 2026, 03:56:46 PM
You sure have a knack for surprising us!

Happy New Year and Thanks for 13.1

                       ;D
#94
Announcements / Re: New Year, new URL
Last post by bitcoin - January 11, 2026, 03:37:00 PM
Hello , Pelle
Thanks
We need to update all links in wiki and such sites.
#95
Announcements / Re: New Year, new URL
Last post by Marco - January 11, 2026, 12:59:57 PM
Hello Pelle,

Great. Thank you!

Marco
#96
Announcements / Re: New Year, new URL
Last post by Vortex - January 11, 2026, 12:46:19 PM
Hi Pelle,

Many thanks and happy new year.
#97
Announcements / Re: New Year, new URL
Last post by Michele - January 11, 2026, 10:22:43 AM
👍 👍 👍
#98
Announcements / Re: New Year, new URL
Last post by jurgenve - January 11, 2026, 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?




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

John Z