User forums > Using Code::Blocks

Installing Code::Blocks Windows XP SP3

<< < (6/7) > >>

stahta01:

--- Quote from: benezan on April 11, 2023, 04:56:40 pm ---
--- Quote from: nenin on April 11, 2023, 08:25:40 am ---I installed EN VC runtime (UCRT) on PL WinXP:  Microsoft Visual C++ 2015-2019 Redistributable (x86) - 14.24.28127, 06/02/2020  15:07:05 .    No problems.

--- End quote ---

I checked and found out that I already have a newer Redistributable installed on my PC: 14.27.29016
I think it doesn't make sense to uninstall that and re-install the older one, does it.

--- End quote ---

Note: if the Redistributable does not have UCRT in the description I would guess it would not fix the problem.

I would try replacing the Code::Blocks DLLs if it still has run-time errors.

Tim S.

nenin:

--- Quote from: benezan on April 11, 2023, 04:56:40 pm ---
--- Quote from: nenin on April 11, 2023, 08:25:40 am ---I installed EN VC runtime (UCRT) on PL WinXP:  Microsoft Visual C++ 2015-2019 Redistributable (x86) - 14.24.28127, 06/02/2020  15:07:05 .    No problems.

--- End quote ---

I checked and found out that I already have a newer Redistributable installed on my PC: 14.27.29016
I think it doesn't make sense to uninstall that and re-install the older one, does it.

--- End quote ---
Of course no, you dont need downgrade. UCRT might become  important for usage of the some modern libraries.

nenin:

--- Quote from: benezan on April 11, 2023, 04:45:29 pm ---
--- Quote from: stahta01 on April 10, 2023, 06:51:27 pm ---Note: One person tried the DLLs from here https://github.com/acotty/CodeBlocks_Unofficial_Testing/tree/master/src/exchndl/Win_XP/win32 instead of the old CB DLLs. IIRC, they said it worked.

--- End quote ---
I've tried those 5 files and it doesn't work for me. I still get the same error message "C:\Programme\CodeBlocks\exchndl.dll is not a valid windows file".

--- End quote ---
It is strange, I downloaded it:

--- Code: ---c:\Users\****\Downloads\exchndl.dll
on x64 Professional Edition Version 10.0 (build 19045)
File Version Information :
Version language : Angielski (Stany Zjednoczone)
      CompanyName : Jose Fonseca
      FileDescription : ExcHndl library.
      FileVersion : 0.8.2
      InternalName : ExcHndl
      LegalCopyright : Copyright 2002-2015 Jose Fonseca
      OriginalFilename : exchndl.dll
      ProductName : Dr. Mingw
      ProductVersion : 0.8.2
Creation Date : 12/04/2023  07:40:20
Last Modif. Date : 12/04/2023  07:40:20
Last Access Date : 12/04/2023  07:41:32
FileSize : 29198 bytes ( 28.514 KB,  0.028 MB )
FileVersionInfoSize : 1436 bytes 
File type : Dynamic Link Library (0x2)
Target OS : Win32 API (Windows NT) (0x40004)
File/Product version : 0.8.2.0 / 0.8.2.0
Language : Angielski (Stany Zjednoczone) (0x409)
Character Set : 1200 (ANSI - Unicode (BMP of ISO 10646)) (0x4B0)

Build Information :
Debug Version : yes
Patched Version : no
Prerelease Version : no
Private Version : yes
Special Build : no
--- End code ---
This is exactly the same file I found in C::B 17.12.0.0 distribution.

seahawkibiza:
Ok, after reading about the Universal CRT deployment I found the following:

Because it lacks support for SHA-256 code signing certificates, runtime library support for Windows XP is no longer available in the latest Visual C++ Redistributable for Visual Studio 2015, 2017, 2019, and 2022. The last Redistributable to support Windows XP shipped in Visual Studio 2019 version 16.7. Use a Redistributable that has a file version starting with 14.27. If your Windows XP apps are deployed with or updated to a later version of the redistributable, the apps won't run.

The link to the las working download: https://my.visualstudio.com/Downloads?q=Redistributable%20for%20Visual%20Studio%202019%20Version%2016.7

I installed this version on a fresh installation of WinXP-SP3. After this I installed Code::Blocks, but Code::Blocks comes up with an error message (see attachment).

On the other side, Microsoft writes this:
The preferred method to centrally install the Universal CRT is to use Microsoft Windows Update. The Universal CRT is a Recommended update for all supported Microsoft Windows operating systems, so by default, most machines install it as part of the regular update process. The initial release of the Universal CRT was KB2999226. A later update with various bug fixes was made in KB3118401, and there have been more updates with further bug fixes and new features.


Both updates are .msu files, they are only installable under Windows Vista (Trusted Installer). It seems, that this way is impossible.

The last version for WinXP is Visual Studio Express 2010, which you can download on my.visualstudio.com (after registration).
I installed the whole Visual Studio on XP, because in this complete program should be all included.

But after install Visual Studio the same (see attachment 2).

As the last try, I used a fresh Win-XP SP3, installed C::B and downloaded the mentioned dlls. I replaced in the C::B folder and this works perfectly.

The next step is, how to run TDM-32 Compiler on WINXP.






benezan:
Arrrgggg!!!! I feel so tired... :-\

The problem was that I tried to download the files at https://github.com/acotty/CodeBlocks_Unofficial_Testing/tree/master/src/exchndl/Win_XP/win32 by right click, save as... But this doesn't download the actual file but an HTML file that has the same name (*.dll) but garbage content. Instead, you have to click on the link which opens another page with a download button. Have I already mentioned that I HATE the github frontend? This is why! (I use GIT every day without problems but no github)

And tadaaa  :D Codeblocks runs fine. I still have some minor issues with some of the plugins but that should be resolvable.

Despite of my dump mistake, I'd still recommend including those files in the official distribution or at least mention where to get them in the readme file.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version