Author Topic: Getting Codeblocks 20.03 to work on Windows 2003 R2 64 bit  (Read 3072 times)

Offline JimC

  • Single posting newcomer
  • *
  • Posts: 4
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?

Offline Grit Clef

  • Multiple posting newcomer
  • *
  • Posts: 95
  • Where there is a will, there is a way.
Re: Getting Codeblocks 20.03 to work on Windows 2003 R2 64 bit
« Reply #1 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.
-Windows 7, 32-bit
-CodeBlocks r13542, gcc 14.2.0, debug version

Offline nenin

  • Almost regular
  • **
  • Posts: 228
Re: Getting Codeblocks 20.03 to work on Windows 2003 R2 64 bit
« Reply #2 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.