http://www.smorgasbordet.com/pellesc/download.htm (http://www.smorgasbordet.com/pellesc/download.htm)
What a happy day :thumbsup:
Works like a charm. However, you won't see any symbols in Olly if you use this version of polink.exe in your assembly programs. Keep the old polink version. You have been warned :cool:
Release Candidate #2 is available :
http://www.smorgasbordet.com/pellesc/download.htm (http://www.smorgasbordet.com/pellesc/download.htm)
I wonder why Pelle doesn't name the setup file as per the version number.
It helps to download and store the installers together.
Something like:
pellesc_setup_1200.exe
pellesc_setup_1300rc1.exe
I assume Windows treating files named "setup.exe" special is still a thing!
I've wondered that too, I am not a fan of the setup.exe installer name for Pelles C, I've come across it months later and had utterly no idea what it was :skrewy:
Hi shantanu,
If you are on Windows 10\11, you can try the command-line tool curl to download and rename the installer.
Thanks for a tip :thumbsup:
wget -O setup_v13.exe http://www.smorgasbordet.com/pellesc/1300/setup.exe
This works too:
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <commdlg.h>
#include <urlmon.h>
#pragma comment(lib, "urlmon.lib")
void __cdecl mainCRTStartup(void)
{
HRESULT hRC = URLDownloadToFile(NULL, "http://www.smorgasbordet.com/pellesc/1300/setup.exe", "pocinst13.exe", BINDF_GETNEWESTVERSION, NULL);
ExitProcess(0);
}
Quote from: shantanu on May 02, 2025, 02:20:44 AMI assume Windows treating files named "setup.exe" special is still a thing!
As well as files with "installer" in their name.
Hi Timo,
Here is where to get wget for Windows :
https://eternallybored.org/misc/wget/ (https://eternallybored.org/misc/wget/)
Release Candidate 3 is available :thup:
Weee!
Thanks for informing me Timo, I don't check the Pelles forums as often as here.
Announcement by Pelle :
Version 13.00 is now released
QuoteChanges from Release Candidate #3:
Fixed compiler problem initializing array of compatible integer type, but not exact character type, from string literal.
Fixed compiler problem with intrinsic function ending up as a call to a runtime function, and the intrinsic function was used in a small leaf function not otherwise requiring an aligned stack, and the runtime function did (conditionally) more calls on the unaligned stack causing and exception (at least with Windows API functions).
Fixed compiler problem with __declspec(selectany) sometimes placing the immediately following data object(s) in the same (wrong) section. May pass unnoticed, but could trigger an exception if a read/write object was placed in a read-only section (and later written to). Ugh.
Fixed assembler problem with first optional argument to INSTR directive, and @InStr() macro, not being accepted unless it starts with an integer constant (now identifiers are also allowed).
Added IDE syntax coloring of false and true C keywords (no language mode for this, but the C23 spelling of bool was already done so...)
http://www.smorgasbordet.com/pellesc/download.htm (http://www.smorgasbordet.com/pellesc/download.htm)
Very nice! Thanks for sharing Vortex, and thanks to Pelle, although he'll probably never see it :D