News:

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

Main Menu

Recent posts

#51
Work in progress / Re: Pelles C in russian
Last post by TimoVJL - August 14, 2026, 10:21:40 PM
Just download translation project with rsrc file from http://www.pellesc.se/ and translate it for language dll.
#52
Work in progress / Pelles C in russian
Last post by Dadatel - August 14, 2026, 06:29:42 PM
so, im gonna just patch rsrc0009.dll
right now not a bit of result is done but still

if ya can help me then just idk dm me on discord:
dadatel.cs
#53
Beginner questions / Re: Working Directory woes
Last post by PhilG57 - August 13, 2026, 12:52:56 AM
Sorry for the long delayed response; I work a bit during the summer and don't get to play as much as I would like.

Your ideas are spot on but don't seem to make a difference. When opening the dialog, I am shown as default one of my parent directories. This HAS to be a screw-uo on my part but it will take me some time to find my bug. Many thanks.
#54
Tips & tricks / Re: An old code
Last post by Vortex - August 12, 2026, 08:41:05 AM
Hi Timo,

Nice work.
#55
Tips & tricks / An old code
Last post by TimoVJL - August 11, 2026, 04:04:21 PM
An IFileOpenDialog example from year 2015.
Not sure why i have even made test with this code  ???

EDIT: IFileOpenDialog2.zip compiled with Pelles C 14.50
#56
Announcements / Re: CMake 4.4.0 Supports Pelle...
Last post by larryli - August 07, 2026, 08:53:54 AM
CMake 4.4 adds native recognition of the Pelles C compiler (compiler id PellesC), so CMake can configure and drive Pelles C builds without extra toolchain files. However, this support is limited to CMake's own generators — specifically Ninja (and other CMake-generated build systems). CMake does not generate or drive Pelles C's native IDE project format (.ppj); building a .ppj still requires Pelles C's own pomake tool, independent of CMake.
#57
Beginner questions / Re: Unresolved External Symbol
Last post by TimoVJL - August 04, 2026, 09:49:43 PM
If you need float:
float strtof(const char * restrict nptr, char ** restrict endptr);
https://en.cppreference.com/c/string/byte/atof
#58
Beginner questions / Re: Unresolved External Symbol
Last post by StevenCooper - August 04, 2026, 08:43:21 PM
Quote from: Vortex on August 04, 2026, 07:50:08 PMHi Steven,

You can set Windows Defender folder exclusions.

Yes, I know...it's what I had to do on my previous computer; I'm just concerned that by excluding a file or folder from virus scans, I may be creating a "safe haven" for real viruses.

I'm just curious why this one program, of the 3 or 4 dozen that I've written, is causing this; it does nothing different from many of the others. Is there something in my coding I change to eliminate the problem, it's just straight vanilla C code.

Now that I'm retired, I have more time to investigate these little annoyances.
#59
Beginner questions / Re: Unresolved External Symbol
Last post by Vortex - August 04, 2026, 07:50:08 PM
Hi Steven,

You can set Windows Defender folder exclusions.
#60
Beginner questions / Re: Unresolved External Symbol
Last post by StevenCooper - August 04, 2026, 06:46:23 PM
Just to update this thread for closure, I finally found(made) time to try installing Pelles C version 14.5 in Windows 11 Pro.
First, I uninstalled Pelles C version 11.
Second, I searched for and deleted residual folder/files...found one folder with one file in it.
    I did NOT delete my Pelles C Projects folder.
Third, I used regedit to remove the Pelle Orinius entry from HKEY_CURRENT_USER\SOFTWARE registry section, just in case it had become corrupted.
Fourth, I ran a registry cleaner to fix any other errors.
I powered off and restarted my computer, just for added measure.
I used regedit to re-insert the Pelle Orinius entry I previously saved from Pelles C Version 10 on Windows 10 Pro. I wanted my configuration restored.
I installed Pelles C version 14.5.
The very first project I re-compiled was my personal library - Srclib.lib. It compiled okay with just 2 warnings for conversion from int to short int...easily fixed by casting.
I then compiled the program that was getting the "Unresolved external symbol" error message; it compiled fine with just 2 warnings for conversion from double to float...again, easily eliminated by casting.

Version 14.5 of Pelles C appears to be working just fine on my new computer. I could quibble about the atof() function now returning a double instead of a float, but since it is documented as such, I don't have a leg to stand on (why isn't there an atod() function?).

I do still have a problem with Windows Defender pouncing on one of my programs and instantly quarentining the executable, claiming it has a severe trojan virus (this has been happening since version 10), but that's a subject for a different thread, after I have done more research on it; I suspect it's just a false positive by Windows Defender.