Code::Blocks Forums

User forums => Help => Topic started by: JimC on May 28, 2024, 04:31:17 am

Title: Getting Codeblocks 20.03 to work on Windows 2003 R2 64 bit
Post by: JimC on May 28, 2024, 04:31:17 am
I've found the workarounds for Windows Server 2003 x86, but I can't see how to get Code::Blocks to work on Windows Server 2003r2 x64.

With a vanilla install it can't find api-ms-win-crt-string-l1-1-0.dll; when I install the Visual C++ Redistributable 2015 (version 14.0.23026), I get:

    The procedure entry point _o__configure_narrow_argv could not be located in the dynamic link library api-ms-win-crt-string-l1-1-0.dll

What am I doing wrong?
Title: Re: Getting Codeblocks 20.03 to work on Windows 2003 R2 64 bit
Post by: Grit Clef on May 28, 2024, 06:05:40 am
Hi.
That means your system lack the UCRT Runtime Environment. But it doesn't support systems older than Windows 7 SP1 and Windows 2008 R2 SP1. So, if you want to run CodeBlocks under Windows 2003, you need to compile CodeBlocks' source yourself, with msvcrt.
Title: Re: Getting Codeblocks 20.03 to work on Windows 2003 R2 64 bit
Post by: nenin on May 28, 2024, 07:54:30 am
But it doesn't support systems older than Windows 7 SP1 and Windows 2008 R2 SP1. So, if you want to run CodeBlocks under Windows 2003, you need to compile CodeBlocks' source yourself, with msvcrt.
It is not exactly correct. There are old ucrt distributions, which working on XP. However, it does not resolve all problems, because  there may be  missing kernel functions. By any way, C::B 20.03 can be used on XP with some replacement of the dlls (and minor glitches). 20.03 was built with gcc 8.1 msvcrt.