Download Pelles C here: http://www.pellesc.se
Quote from: Pelle on January 11, 2026, 11:02:49 PMWhy not create a new programming language?Quote from: alderman2 on January 11, 2026, 09:51:45 PMI don't think they're the ones you should lean on, but rather those who still program the basic language C.Sure. The question is what this means in practice.
C on Windows in 2026+ will mainly be hobbyists (certainly for this project), where the latest and greatest isn't that important.
At my first real programming job in ~1985 I could have gone the Unix route (probably), but it wasn't much of an option back then... and 40+ years later it's still not an option...
After Windows and Unix there are roughly zero desktop operating-systems to choose from...
Microsoft have managed to mess up Windows quite a bit in recent years, focusing on irrelevant things (for enough people to matter), so it's not an obvious choice - except there are few other options. Now that I'm almost finished with ARM64 (still a potential flop), it's not clear what I should do. Write more examples? Not that exiting to be honest...
I'm not an innovator, and right now I can't find much inspiration anywhere...
Quote from: alderman2 on January 11, 2026, 09:51:45 PMI don't think they're the ones you should lean on, but rather those who still program the basic language C.Sure. The question is what this means in practice.
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
Page created in 0.043 seconds with 15 queries.