News:

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

Main Menu

Recent posts

#71
Beginner questions / Re: Unresolved External Symbol
Last post by Vortex - July 20, 2026, 09:10:30 AM
Hi Steven,

You should not have to recompile everything if some files are not modified.
#72
Beginner questions / Re: Unresolved External Symbol
Last post by StevenCooper - July 20, 2026, 01:19:17 AM
Quote from: Robert on July 20, 2026, 12:47:15 AMHi Steven:

Did you clean the Project of the old .obj files before rebuilding ?

If the source of LotteryScratchOffs.obj has not been changed, the source for LotteryScratchOffs.obj will not be recompiled and the old .obj will be used.



I've always forced a complete rebuild by saving the main include file, even if I changed nothing in it; this causes the compiler to rebuild everything in the project that includes that include file.
#73
Beginner questions / Re: Unresolved External Symbol
Last post by Robert - July 20, 2026, 12:47:15 AM
Hi Steven:

Did you clean the Project of the old .obj files before rebuilding ?

If the source of LotteryScratchOffs.obj has not been changed, the source for LotteryScratchOffs.obj will not be recompiled and the old .obj will be used.

#74
Beginner questions / Re: Unresolved External Symbol
Last post by TimoVJL - July 19, 2026, 11:00:50 PM
Version 10 was latest version, that have __stod in stdlib.h and version 13 in crt.lib
So a your source code have a problem with it, not following standard C.
Some an old user libs might refer to it.

Hint, remove Pelles C reg settings while testing different versions.
REGEDIT4
[-HKEY_CURRENT_USER\Software\Pelle Orinius]
#75
Beginner questions / Re: Unresolved External Symbol
Last post by StevenCooper - July 19, 2026, 07:01:17 PM
I have found a simple solution to the current problem and the problem of Version 10 not working in Windows 11.

I uninstalled version 14.5, and installed version 11. Years ago, I had downloaded the setup.exe for version 11 and never installed it (ditto for version 12); I was perfectly happy with version 10.
#76
Beginner questions / Re: Unresolved External Symbol
Last post by StevenCooper - July 19, 2026, 06:35:43 PM
One of the first things I did was search my code for a reference to 'stod'; there are none. Next, I checked the help files for information about it...there is none.

You mentioned a macro reference to the atof() function; I looked it up in the help files to see what include file is required: "stdlib.h". It's always been included in the original code from the begining.

What has changed from version 10 to version 14 that this error is now occuring?

And how do I fix it?
#77
Beginner questions / Re: Just installed Pelles C an...
Last post by Vortex - July 19, 2026, 11:15:31 AM
Hi Pablo,

Did you remove the previous version of Pelles C? Any remnants from the old installation?
#78
Projects developed with Pelles C / Re: Simple Calendar
Last post by Marco - July 19, 2026, 10:22:53 AM
Hi John,

QuoteRight click in any open area of the controls line to set the Alert time to the current system time.
Thank you for taking the time to implement this feature.

QuoteI hope you don't mind that I acknowledge your assistance in the help file.
No problem at all! In fact, thank you. I do the same when a user reports a bug to me regarding WinContig.

Marco
#79
Beginner questions / Re: Just installed Pelles C an...
Last post by TimoVJL - July 19, 2026, 08:45:32 AM
Try it once with Admin account, if it check file like sysdefs.tag

An old Depends.exe might show if it fails with files.

#80
Beginner questions / Re: Unresolved External Symbol
Last post by TimoVJL - July 19, 2026, 08:36:12 AM
Just search it from a your code.
A macro atof use it in version 10.
/* internal stuff */
...
/* macro overrides */
#define atof(s)  __stod(s,0,0)

[155]extern _CRTIMP double __cdecl __stod(const char *, char **, long);
[172]#define atof(s)  __stod(s,0,0)
[177]#define strtod(s,endptr)  __stod(s,endptr,0)