News:

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

Main Menu

Recent posts

#91
Projects developed with Pelles C / Re: Some of my programs were d...
Last post by alderman2 - February 25, 2026, 12:26:01 AM
Quote from: MrBcx on February 24, 2026, 10:40:58 PM
Quote from: alderman2 on February 24, 2026, 08:57:40 PMMrBcx:

Are you a developer/owner of BCX?
I have it installed on my computer. Interesting program.


Yup ... I created BCX in 1999, open sourced it in 2004 and since 2019, I'm the maintainer again
with the help of other long time users.  Hopefully you find it interesting in a good way.   ;D

Fantastic! I'm impressed!
I have created a library of more than 800 functions with code that makes programming faster. One line to create a Windows, one line to create a button, etc. I have given them names so that you immediately understand what they are for. I started this in 1993 and most of it was finished in 2003. It is quite old code so I sometimes have to update them. For example, not all functions work with 64 bit.

I'll definitely take a closer look at BCX when I have time.
#92
Projects developed with Pelles C / Re: Some of my programs were d...
Last post by MrBcx - February 24, 2026, 10:40:58 PM
Quote from: alderman2 on February 24, 2026, 08:57:40 PMMrBcx:

Are you a developer/owner of BCX?
I have it installed on my computer. Interesting program.


Yup ... I created BCX in 1999, open sourced it in 2004 and since 2019, I'm the maintainer again
with the help of other long time users.  Hopefully you find it interesting in a good way.   ;D
#93
Projects developed with Pelles C / Re: Some of my programs were d...
Last post by alderman2 - February 24, 2026, 08:57:40 PM
MrBcx:

Are you a developer/owner of BCX?
I have it installed on my computer. Interesting program.
#94
Projects developed with Pelles C / Re: Some of my programs were d...
Last post by MrBcx - February 24, 2026, 04:26:41 PM
Pelles C has always been a well-crafted and reliable compiler system.

The BCX BASIC to C/C++ Translator can be reliably built and is routinely tested and used
with Pelles C, LccWin32, MinGW, MS Visual C++, and LLVM-CLANG.  BCX has long relied on a
powerful compiler extension provided by both Pelles C and LccWin32 - that is, default
arguments, originally a C++ feature. 

If you're ever wanting for ideas, translating almost any BCX BASIC app, example, or demo
to plain c can give you a jump start.

The BCX Editor and Form Designer are two large apps that build and run flawlessly using
Pelles compiler ( and others ).  I'm attaching a couple of screenshots. 

#95
Projects developed with Pelles C / Re: Some of my programs were d...
Last post by alderman2 - February 23, 2026, 09:42:14 PM
Thanks!
Yes, I've been programming for a long time. I've developed my own library that makes it faster to code software. I started with it in 2002 and it's still going strong.
#96
Projects developed with Pelles C / Re: Some of my programs were d...
Last post by Michele - February 23, 2026, 02:42:23 PM
Wow!  :)
You're very productive!  :)
#97
Assembly discussions / Re: Saving the volatile regist...
Last post by TimoVJL - February 23, 2026, 10:48:52 AM
Good example for using shadow place in x64
#98
Projects developed with Pelles C / Some of my programs were devel...
Last post by alderman2 - February 23, 2026, 10:22:52 AM
It would be too many posts to post all my programs in separate posts. I'll include a link to some of them.
Sad that this thread has gone quiet. Would be interesting to see other people's software.

Here are some of my programs:
https://exmag.se/ladda-ner-mjukvara/
#99
Assembly discussions / Re: Saving the volatile regist...
Last post by Vortex - February 22, 2026, 07:41:16 PM
Here is another attempt :

include SaveRegs.inc

SaveRegs MACRO

    mov     QWORD PTR [rbx],rcx
    mov     QWORD PTR [rbx+8],rdx
    mov     QWORD PTR [rbx+16],r8
    mov     QWORD PTR [rbx+24],r9

ENDM

.data

msg     db 'Hello!',0
msg2    db 'rcx,rdx,r8 and r9 are saved.',0
title   db 'MsgBox',0
title2  db 'Macro test',0

.data?

mainRsp dq ?

.code

start:

    sub     rsp,8+4*8

    push    rsp
    pop     mainRsp

    invoke  main,ADDR msg2,ADDR title2,10,20

    invoke  ExitProcess,0

main PROC uses rsi rdi rbx x:QWORD,y:QWORD,w:QWORD,z:QWORD PARMAREA=4*SIZEOF QWORD

    LOCAL   temp1:QWORD

    mov     rbx,mainRsp
    SaveRegs

    xor     rsi,rsi
    mov     rdi,1

    invoke  MessageBox,0,ADDR msg,ADDR title,0
   
;   The first call to MessageBox destroys rcx,rdx,r8 and r9

    invoke  MessageBox,0,[rbx],[rbx+8],0
   
    ret

main ENDP

END start
#100
Feature requests / ADDIN_ENUM_PROJECT_FILES struc...
Last post by John Z - February 21, 2026, 02:55:09 AM
The Addin_EnumProjectFiles uses ADDIN_ENUM_PROJECT_FILES structure.
The request is to add a flag to the structure and set the flag if the file is in excluded state.
Current there seems to be no method to determine if a file is excluded using the Addin messages.

Addin's can include and exclude but seems nothing is able to report back the state of a source file.

John Z