News:

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

Main Menu

Recent posts

#11
Beginner questions / Re: Small C Programs to Learn ...
Last post by TimoVJL - Yesterday at 01:08:33 PM
put
#ifndef __POCC__
typedef __int64 ssize_t;        // POSIX type not present on Windows... @private@
#endif
or#ifndef __POCC__
typedef size_t ssize_t;
#endif
it should be in <sys/types.h> without any ifdefs

before headers to pdf2text.c
of mofify pdfio.h and put it there
also compile with -Go Define compability names
#12
Beginner questions / Re: Small C Programs to Learn ...
Last post by jos - Yesterday at 12:47:25 PM
Thanks, have gone through theForger, Windows API etc. Scan the net and try to read and understand code I find in C.

I feel like I'm making progress (slowly) when I start from scratch. But trying to use routines or other general programs I get so many errors and warnings! I guess my knowledge of pragma etc. limits me. But it will come eventually...

I have new problems with PDFio, trying to test and compile a file in the library example: pdf2text. (The example I got earlier works just fine?)

PS. have upgraded to Pellesc 13.00.9
#13
Add-ins / Re: Export C source as HTML or...
Last post by John Z - Yesterday at 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
#14
Add-ins / Re: Export C source as HTML or...
Last post by Robert - Yesterday at 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.

#16
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.
#17
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
#18
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/
#19
Announcements / Re: New Year, new URL
Last post by TimoVJL - January 14, 2026, 09:33:45 PM
Multitarget project file would be nice feature  ;)
#20
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?