Executable Works on Windows 11 but Not on Server 2022

66 views
Skip to first unread message

Riko Abadi

unread,
Jan 1, 2026, 12:12:16 AMJan 1
to The Ring Programming Language
I created a Windows GUI executable and tried to run it on Windows Server 2022, but it didn’t work. Do you have any suggestions? There’s no error message. It works fine when I run it locally on my PC with Windows 11.

Youssef Saeed

unread,
Jan 1, 2026, 3:56:42 AMJan 1
to The Ring Programming Language
Hello Riko,

I have some Windows Server 2025 VMs, and for example, I tried to create an executable of the poetryanalysis sample, and it's working perfectly!

image.png

The issue might be that when you created the executable with ring2exe, you didn't include the `-dist` flag or a GUI library argument (such as `-qt`).

Best regards,
Youssef

Riko Abadi

unread,
Jan 1, 2026, 12:51:55 PMJan 1
to The Ring Programming Language
Screenshot 2026-01-02 004156_windows_server-RING.png


I already tried using ring2exe with the -dist -gui -allruntime arguments, but it still didn’t work. I also downloaded Ring language 1.24, but the app still fails. I built it from the application/employee folder, but no luck either.

I downloaded Ring language 1.24 on Windows Server 2022, and I’m running it on bare metal, not a VM.

If I run the app using Ring Notepad (not from the application/employee folder) and start it in Debug mode, the app opens without any issues. But when I use ring2exe, the application doesn’t work at all and there’s no error message.

Is this some kind of dependency hell? Is it not really portable / plug-and-play like Golang, where you just click once and the app works as expected?


Riko Abadi

unread,
Jan 1, 2026, 1:17:03 PMJan 1
to The Ring Programming Language

  I also tried building a console application with simple code.
See "Enter the first number : " Give nNum1
See "Enter the second number : " Give nNum2
See "Sum : " + ( 0 + nNum1 + nNum2 )

Only the first line, "Enter the first number :", appears, then the program exits. When I use the debugger, the console responds all the way until SUM.

So basically, on Windows Server 2022, I believe the Ring language is not working properly, unless Ring requires some dependency to be installed, such as a Microsoft runtime redistributable. I haven’t tried installing the runtime redistributable yet.  

Riko Abadi

unread,
Jan 1, 2026, 1:28:55 PMJan 1
to The Ring Programming Language
The issue was resolved by installing Microsoft Visual C++ Redistributable. 
The Ring Lang application can now function properly.  Thank you

Mahmoud Fayed

unread,
Jan 1, 2026, 1:36:55 PMJan 1
to The Ring Programming Language
Hello Riko

>> "The issue was resolved by installing Microsoft Visual C++ Redistributable. "

Thanks for sharing the solution, in old versions of Ring we used to distribute Microsoft Visual C++ Redistributable 
But avoided that in later versions like Ring 1.24 

Greetings,
Mahmoud

Riko Abadi

unread,
Jan 1, 2026, 2:01:36 PMJan 1
to The Ring Programming Language
Thank you so much, Mahmoud.
Your programming language, Ring, has been incredibly helpful to me.
Keep up the amazing work!
Just a small suggestion, maybe you could add a donation link so we can continue supporting all the great work you’re doing.

Mahmoud Fayed

unread,
Jan 1, 2026, 2:17:06 PMJan 1
to The Ring Programming Language
Hello Riki

>> " Thank you so much, Mahmoud.
Your programming language, Ring, has been incredibly helpful to me."

You are welcome :D

>> "Just a small suggestion, maybe you could add a donation link so we can continue supporting all the great work you’re doing."

Thanks for your suggestion. Since the very beginning of Ring’s development, we have never planned to ask for monetary donations. 

Our philosophy is that the project should grow through genuine interest and the natural enthusiasm of its contributors. Personally, I’m fortunate to have enough financial stability, so I don’t need or seek donations. I also choose not to use money to motivate contributions; I want people to participate out of passion in their free time, or out of real need when Ring becomes part of their real‑world projects.

We move the language forward by sharing our time and knowledge—through development, libraries, samples, testing, real‑world usage, and more.

So, if you are using Ring, sharing your experiences with others, and promoting the language within your community, you are already making a meaningful contribution to the success of this project.

Greetings,
Mahmoud
Reply all
Reply to author
Forward
0 new messages