News:

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

Main Menu

Recent posts

#11
Beginner questions / Re: How to determine compiler ...
Last post by PhilG57 - April 10, 2026, 05:47:28 PM
Hey, many thanks.  The following seems to work great:
#if __POCC_STDC_VERSION__ == 199901
#pragma message("diff.c: Compiler standard is C99.")
#else
#if __POCC_STDC_VERSION__ == 201112
#pragma message("diff.c: Compiler standard is C11.")
#else
#if __POCC_STDC_VERSION__  == 201710
#pragma message("diff.c: Compiler standard is C17.")
#else
#pragma message("diff.c: Compiler standard is unknown.")
#endif
#endif
#endif

Of course, now I'm wondering if there is any way to get this information at run time...
Thanks again.
#12
General discussions / Re: Chinese(simplify) translat...
Last post by John Z - April 10, 2026, 11:56:09 AM
Hi ander_cc,

Quite a lot of work.  But without the string tables  . . . still needs a lot of English understanding. Only if completed would Pelle would consider posting as a language option.

Quote from: ander_cc on April 10, 2026, 11:03:38 AMDue to my limited capability, I have not translated the String Table. The Dialog and Menu have all been translated, with the layout of a small number of Dialog windows adjusted to ensure all text is fully displayed. But some testing is needed.

see attach zip file.
---
Pelles C v14的简体中文翻译,包括全部对话框和菜单,拷贝到安装目录 .\PellesC\Bin\Intl 中即可。

Also please always include English for the posts.  Translated above:

"This is the Simplified Chinese translation for Pelles C v14, covering all dialog boxes and menus. Simply copy it to the installation directory: .\PellesC\Bin\Intl."

John Z

Update: Installed and it is working . . . 👍
#13
General discussions / Chinese(simplify) translation ...
Last post by ander_cc - April 10, 2026, 11:03:38 AM
Due to my limited capability, I have not translated the String Table. The Dialog and Menu have all been translated, with the layout of a small number of Dialog windows adjusted to ensure all text is fully displayed. But some testing is needed.

see attach zip file.
---
Pelles C v14的简体中文翻译,包括全部对话框和菜单,拷贝到安装目录 .\PellesC\Bin\Intl 中即可。
#14
General discussions / Re: I want to translate pelles...
Last post by ander_cc - April 10, 2026, 10:46:10 AM
Quote from: John Z on April 09, 2026, 10:38:00 AMHi ander_cc,

You can find the basic procedure here:
https://web.archive.org/web/20250325220454/https://wiki.pellesc.de/doku.php/translating

Also attached below as a pdf -

But you probably need the version 14 rsrc0009.zip which you can get from  here:
 http://www.pellesc.se


享受
John Z

Thank you very much!
#15
Expert questions / Re: Link error with minhook
Last post by Vortex - April 10, 2026, 09:52:04 AM
Sorry but is it allowed to discuss about API hooking in this forum?
#16
Expert questions / Re: Link error with minhook
Last post by TimoVJL - April 10, 2026, 08:57:10 AM
That ANON_OBJECT_HEADER is a problem for linking.
Check library with pope.exe
#17
Expert questions / Link error with minhook
Last post by unwake - April 10, 2026, 04:09:53 AM
https://github.com/TsudaKageyu/minhook/releases/tag/v1.3.4
Minhook has dynamic and static lib, link with dynamic lib is ok, but link with static lib "libMinHook.x64.lib", say error:
POLINK: fatal error: Unsupported anonymous format in object 'x64\Release\libMinHook\hook.obj'.
can you fix it ?
#18
Announcements / Re: New Year, new URL
Last post by Kochise - April 09, 2026, 08:45:15 PM
Quote from: Pelle on January 11, 2026, 11:02:49 PM
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...
C is here to stay, and sure has turned into a sh*thole (C23 finally set what true/false should be)

https://c-for-dummies.com/blog/?p=6151

If you really need something to drive your motivation, I'd say PellesC is not PellesWindowsC, hence you're open to support other platforms, while your IDE can still work on Windows.

I worked on PocketPC 2002 with PellesC when it was still a thing (otherwise it was Microsoft Embedded Visual C++ 4.0) and now with the many SBC running under ARM64 and RISC-V, it would be nice to have a lightweight IDE/compiler to rule them all without having to install one SDK per SBC, often weighting several GB each.

Please consider this request, starting replacing the infamous ArduinoIDE 2.x with something more functional (with a capable serial monitor), then add support for more SBC and CPU.

And perhaps also Android C/NDK support...

Thank you.
#19
Beginner questions / Re: How to determine compiler ...
Last post by Michele - April 09, 2026, 07:45:51 PM
If your scope is to use it in #if/#else#endif constructs to conditionally compile code based on the used standard you can use the symbols "__STDC_VERSION__  ", defined only when /Ze isn't used, or "__POCC_STDC_VERSION__" when /Ze is used.

From the help file:
Quote__STDC_VERSION__ Never defined when the /Ze option is used. The supported ISO C standard.
Defined as the integer constant 199901L when the /std=C99 option is used.
Defined as the integer constant 201112L when the /std=C11 option is used.
Defined as the integer constant 201710L when the /std=C17 option is used.
Defined as the integer constant 000000L (TBD) when the /std=C2X option is used. 
#20
Beginner questions / Re: How to determine compiler ...
Last post by John Z - April 09, 2026, 06:58:56 PM
Hi Phil57,

Use the Menu: Project - Project Options, select Compiler in the tree view,  Now in that right side screen you will see 'C standard' and a drop down box.  The value in the box is the current C standard being used.

Use the 'C standard' drop down box to change to any other one you want.

'Project Options' is near the bottom of the Main Menu Project drop-down Menu btw.


John Z