News:

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

Main Menu

Recent posts

#71
Add-ins / Re: Export C source as HTML or...
Last post by John Z - January 16, 2026, 11:45:34 AM
Hi Robert,

My apologizes, I didn't check that the project zip was complete.  I updated the post with a project zip that includes the libs. 

I'll look further into it (UTF-8) with the link you provided.

Hopefully good memories for you :)

John Z
#72
Add-ins / Re: Export C source as HTML or...
Last post by Robert - January 16, 2026, 10:19:44 AM
Quote from: John Z on January 15, 2026, 12:26:58 PMLooking for some information on creating PDF files I found an old add-in project created by multiple authors Pelle, Timo, and Robert, way back in 2005 for Pelles C version 3 (I think), then updated and added RTF by Timo in 2013.  https://forum.pellesc.de/index.php?topic=471.15

Of course it no longer worked with the newer version of Pelle C version 13.00.9 - Soooo I've minimally hacked it to get it functional for the current version.  While it will now work with plain text, UTF-8, and UTF-16 source pages it will only accurately produce output if the text code point is within the ANSI space.  This is OK for source code but some comments won't be displayed correctly when non-ANSI characters are used.  Could be fixed too but not sure it would be worth the effort.

Project ZIP include everything for a 64 bit version.

John Z

Hi John Z:

Wow! This takes me back to the "Realm of Long Long Ago".

About the HTML Export for UTF-8:
1. The HTML header requires more info for the page to render properly.
2. I think _setmode has to be used to get proper UTF-8 output. For details see
https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/setmode?view=msvc-170

Where can I get a zlib64.lib ?
Building Export64.dll.
POLINK: fatal error: File not found: 'zlib64.lib'.
*** Error code: 1 ***

Interesting.
Thanks.

#74
Beginner questions / Re: Small C Programs to Learn ...
Last post by Vortex - January 15, 2026, 03:28:20 PM
Hi jos,

Thanks. If you are looking for API programming sources, we can help you.
#75
Add-ins / Re: Export C source as HTML, P...
Last post by John Z - January 15, 2026, 12:26:58 PM
Looking for some information on creating PDF files I found an old add-in project created by multiple authors Pelle, Timo, and Robert, way back in 2005 for Pelles C version 3 (I think), then updated and added RTF by Timo in 2013.  https://forum.pellesc.de/index.php?topic=471.15

Of course it no longer worked with the newer version of Pelle C version 13.00.9 - Soooo I've minimally hacked it to get it functional for the current version.  While it will now work with plain text, UTF-8, and UTF-16 source pages it will only accurately produce output if the text code point is within the ANSI space.  This is OK for source code but some comments won't be displayed correctly when non-ANSI characters are used.  Could be fixed too but not sure it would be worth the effort.

Project ZIP include everything for a 64 bit version.

John Z
#76
Beginner questions / Small C Programs to Learn From
Last post by jos - January 15, 2026, 08:58:58 AM
Not sure if this is the right place to put this? But here are some nice simple C programs to learn from?

https://codegnan.com/c-programming-projects/
#77
Announcements / Re: New Year, new URL
Last post by TimoVJL - January 14, 2026, 09:33:45 PM
Multitarget project file would be nice feature  ;)
#78
Announcements / Re: New Year, new URL
Last post by bitcoin - January 14, 2026, 05:28:04 PM
Hello, Pelle
How about creating some kind of library to simplify GUI application development? It's no secret that things are pretty bad in this area on Windows right now. C++ Builder was ideal, but it either died or became too complex. Qt is a heavy monster, and it's for C++ anyway. There's really nothing else. What if we made something like that for C?
#79
Announcements / Re: New Year, new URL
Last post by Robert - January 13, 2026, 09:11:31 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...

Hi Pelle:

Thank you for your continuing amazing work !

Bored ? Nothing to do ? SWAR and AVX512 may offer some entertainment.

Check out Wojciech Muła's work. A good place to start is

http://0x80.pl/notesen/2016-09-17-avx512-foundation-base64.html

Lots of code at GitHub at

https://github.com/WojciechMula

Collection of Toys at

https://github.com/WojciechMula/toys

Thanks again for providing all of us tinkers with your tool for toys.
#80
Tips & tricks / Modeless Dialog Box test
Last post by TimoVJL - January 13, 2026, 12:45:08 PM
Minimal DialogBox with statusbar and special keyboad handling.