News:

Download Pelles C here: http://www.smorgasbordet.com/pellesc/

Main Menu

Recent posts

#61
Chit-Chat / Re: All IP are baned!
Last post by John Z - September 03, 2025, 12:11:57 AM
HI bitcoin,

Well not much you can do when the government decides on a ban for a country.  You didn't mention the countries, but I'm often in China.  The Great Firewall blocks many, many things.  Many standard VPN's are also blocked.  Karing on GitHUb seems to get through mostly though.  I've tried the top two most often recommended VPN's 'Express' and 'Nord' - 'Nord' always failed, 'Express' could get through occasionally.

The other way to get some service is if your cellular service allows is a mobile hotspot.  Much harder to have a mobile service block.  Not going to be for long downloads though as many hotspot allowances are in the 5gig range or less.  T-Mobile does offer a 50Gig/monthly option.

John Z
#62
Bug reports / Re: Crash IDE with 'asm' keywo...
Last post by John Z - September 02, 2025, 11:59:27 PM
Hi bitcoin,

Confirming your finding.  On Win 11 23H2 it hangs the IDE.  System shows IDE CPU usage goes to 23% with some ups and downs from other things running.  IDE needed to be killed with TM.

John Z
#63
Chit-Chat / All IP are baned!
Last post by bitcoin - September 02, 2025, 10:51:21 PM
After 2 or 3 years, I was finally able to access the forum. All my IPs in one country were blocked. The same happened with the second country. I bought a VPN — same result. I bought a SOCKS proxy — also blocked. Only after buying a second VPN was I able to get in. Why is this happening? What can I do?
#64
Bug reports / Crash IDE with 'asm' keyword
Last post by bitcoin - September 02, 2025, 10:50:15 PM
Write any code with an asm block, for example __asm{ nop; nop; }. Put the cursor between the word asm and the opening brace { and press Enter. The program will freeze and crash
#65
Tips & tricks / Windows API tutorial for FreeB...
Last post by Vortex - August 31, 2025, 11:19:42 AM
The tutorial set originally designed for FreeBASIC could be useful for Win32API programming with Pelles C :

Quotevvanag, this is Vanya's Windows API tutorial for FreeBASIC: https://users.freebasic-portal.de/freebasicru/book.html. It is written in Russian, but there is a button for translation into many languages, select "English". From the menu select "Articles" ---> "FreeBASIC + API (series of articles)". Very helpful!

https://www.freebasic.net/forum/viewtopic.php?p=308895#p308895

The tutorials by Vanya :

https://users.freebasic-portal.de/freebasicru/api.html
#66
General discussions / Re: Older version that run on ...
Last post by WiiLF23 - August 27, 2025, 03:54:16 AM
You should indicate whether your inquiring about NT 5.1 (XP) IDE support or the C compiler binary itself, as many use Notepad++ and CLI the build process via hotkey configuration. Bypasses all of the bugs and occasional memory violation issues Pelles C (latest) sometimes produces, while rendering LOC's much faster (and dark-mode is very nice).

As the source is closed, it is anyone's guess. Or alternatively, build on Vista+ and target NT 5.1 in your build config in Pelles C project settings, which absolutely will run on XP (32-bit) no problem. Its the API changes that your "mature" codebase will melt down upon if targeting Vista+ and expecting "XP out of the box support" for example, at a later date.

Best to consider early OS support from day 1 and maintain as the code grows.

Maybe this is bidirectionally confusing in regards the first post.
#67
Bug reports / Re: Debugging code that calls ...
Last post by MrBcx - August 21, 2025, 04:01:04 PM
Before I retired, there were several times when our IT Dept's security measures completely
brought our engineering software to a halt.  I'm talking about professional software that
we spent tens of thousands of dollars annually licensing.  When that software stopped working,
my staff stopped working, and it fell to me to work with our IT guys to get things restored.

Typically, the IT staff could create a group policy that exempted my staff from certain
enterprise level security measures that were running and thus allowed our software to return
to business. But it was always a  fire drill when our software suddenly stopped working. 

#68
Bug reports / Re: Debugging code that calls ...
Last post by Vortex - August 21, 2025, 07:59:05 AM
Hi DMac,

On the command prompt, you can view the group policies with :

gpresult /z
This can give a clue about the security measures.
#69
Bug reports / Re: Debugging code that calls ...
Last post by DMac - August 21, 2025, 06:10:44 AM
I loaded v13 on my home laptop running Windows 10 pro x64 22H2, and launched the example project building both x86 and x64 and had no issues launching the open file dialog in debug mode.

I'm now inclined to think that the various security configurations the IT department employs must be interfering with the open file dialog call from debug mode.  Not only this but it caused the save file dialog to malfunction in another application on that machine after running the test project.  This necessitated a reboot to restore functionality.

Even though both my home and work machine share the same OS and build, the home machine seems to be more stable generally.

In light of this I guess it is safe to say this is not actually a Pelles C Bug.👍



#70
Bug reports / Re: Debugging code that calls ...
Last post by John Z - August 20, 2025, 12:07:57 AM
Timo's finding is confirmed in Win 23H2 .

Running without debug one can click the Open File Dialog button as many times as wanted.  Running under debug issues start to show up on the second click of the Open File Dialog button.  I needed to do a break on the debug menu then hit Go/Debug button again to get access to the dialog.

John Z