News:

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

Main Menu

Recent posts

#31
General discussions / Re: Is it OK for other project...
Last post by Robert - June 27, 2025, 07:51:12 PM
https://www.smorgasbordet.com/pellesc/termsofuse.htm

Pelles C is freeware for any use: personal, commercial, etc. No registration is required to download it, and you can use it anonymously.
Pelles C can be freely distributed, but it can not be sold.
Pelles C is provided 'as-is', without any expressed or implied warranty. In no event will the author be held liable for any damages arising from the use of this software.

Pelles C is totally free. However, some users may want to express their gratitude by donating some money.
If Pelles C is a major part in building a product sold for money, it seems fair (to me) to donate a little bit of that money to Pelles C - but this is never required.

Donations will help to pay for this website, my time spent on support, and any possible new versions.
#32
General discussions / Re: Is it OK for other project...
Last post by TimoVJL - June 27, 2025, 11:02:43 AM
From a that Orange C licence:
QuoteThe windows header files are derived from Pelles C.  Pelles C is derived from LCC.
The licensing for Pelles C is that things derived from Pelles C cannot be used commerically.
LCC also doesn't want things to be used commerically, but it has an additional stipulation
that there has to be acknowledgement of use.  These header files remain under the Pelles C
and LCC licenses and are not covered by the GNU license that the rest of the runtime library
abides by.
#33
General discussions / Is it OK for other project to ...
Last post by dimmed - June 27, 2025, 07:30:05 AM
I'm talking about the legal issue. There is another C compiler project named Orange C:

https://github.com/LADSoft/OrangeC

They have imported the Windows API headers from an old version of Pelles C to replace their outdated one. You can still find the relevant commits and issues on their Github repository. The Orange C developer said this is OK according to the license of Pelles C, but it seems they have never contacted Mr. Pelle Orinius officially.
#34
User contributions / Re: Dll to Poasm 64 bit includ...
Last post by jack - June 23, 2025, 01:34:28 AM
👍
#35
User contributions / Re: Hint_SA (Standalone)
Last post by John Z - June 22, 2025, 12:43:12 PM
Final release (hopefully) of Hint_SA.

More code clean-up.  Better search for future db updates which might have only a header or library.
Can be used without a mouse.

I'm working on updating the current db3 file. It will be posted alone after any significant updates are complete. No db structural changes expected so just downloading a newer db3 will be all that is needed.

As before the full project and sources in hint_sa_v111.zip, the db3 is 7z inside. 
Just the exe, db3, and readme in the just_program_hint_sa_v111.7z.

Feedback is welcomed -

John Z
#36
User contributions / Dll to Poasm 64 bit include fi...
Last post by Vortex - June 22, 2025, 11:22:35 AM
DllToInc64 tool created with the Basic to C translator BCX. The zip file includes the .c and .bas files.

D:\BCX>DllToInc64.exe
Usage : DllToInc64.exe DllFile.dll [optional -u]
Version 1.0
-u : Create include file for UNICODE API functions.

Example :

DllToInc64.exe kernel32.dll
#37
Expert questions / Re: swprintf question
Last post by John Z - June 22, 2025, 02:14:12 AM
Thanks for the explanation Pelle!

👍

John Z
#38
Expert questions / Re: swprintf question
Last post by Pelle - June 21, 2025, 03:58:30 PM
Quote from: John Z on June 21, 2025, 12:02:04 PMFeature or Bug  :)  ?
Yes.

For historical reasons in Microsoft mode, there is no diagnostic for the implicit conversion from -1 to -1U (or 0xFFFFFFFF...). A modern version of the MSVC compiler seems happy to complain here, so perhaps this should be changed.

Another chance to detect a problem with your code is in the static code analyzer (bounds checker). This fails because -1U in this case is reported internally as a store size of 0, meaning "don't know". This is a problem that should be fixed, if I can figure out an easy way to do so.

#39
Expert questions / Re: swprintf question
Last post by John Z - June 21, 2025, 03:13:34 PM
Hi Vortex,

Here is a mini project for it.

John Z
#40
Expert questions / Re: swprintf question
Last post by Vortex - June 21, 2025, 01:12:48 PM
Hi John,

Could you send the complete code here?