Author Topic: CodeBlocks 2020.03 32bit, problem on Windows Vista  (Read 15669 times)

Offline sergioferrari52

  • Multiple posting newcomer
  • *
  • Posts: 12
CodeBlocks 2020.03 32bit, problem on Windows Vista
« on: April 04, 2020, 12:24:07 am »
I installed the latest 32bit (2020.3) release on an old computer running Windows Vista.
Installation proceeds smoothly, but the following message appears at CodeBlocks startup:
The Entry Point of the OpenProcess Procedure cannot be found in the dynamic link library:
api-ms-win-core-synch-l1-1-0.dll.
I've verified that the dll exists in the directory C:\Windows\system32.
Consequently, CodeBlocks doesn't start on my machine with Vista 32-bit.
« Last Edit: April 04, 2020, 01:14:24 am by sergioferrari52 »

Offline LETARTARE

  • Lives here!
  • ****
  • Posts: 531
  • L'ami de l'homme.The friend of man.
    • LETARTARE
Re: CodeBlocks 2020.03 32bit, problem on Windows Vista
« Reply #1 on: April 04, 2020, 09:30:25 am »
Hello,
yes, because we need to get the old versions before 'svn11659' of 'cb-xxxx\src\exchndl\win32'. That's a dll and an exe.
I use these old files on 'Vista Business-32', I can't attach them, because the file limit is 512kb (it's 800kb!).
Have a nice day.
CB-13483, plugins-sdk-2.25.0 : Collector-2.0.0, AddOnForQt-3.9.1
1-Win7 Business Pack1 64bits : wx-3.2.4, gcc-8.1.0,
2-OpenSuse::Leap-15.4-64bits : wx-3.2.4;gtk3, gcc-8.2.1,
=> !! The messages are translated by Deepl

Offline LETARTARE

  • Lives here!
  • ****
  • Posts: 531
  • L'ami de l'homme.The friend of man.
    • LETARTARE
Re: CodeBlocks 2020.03 32bit, problem on Windows Vista
« Reply #2 on: April 04, 2020, 09:54:18 am »
You need to recover (by Tortoise-svn) the svn11196 version of October 14, 2017 in which you will have the right files
http://svn.code.sf.net/p/codeblocks/code/trunk/src/exchndl/win32
CB-13483, plugins-sdk-2.25.0 : Collector-2.0.0, AddOnForQt-3.9.1
1-Win7 Business Pack1 64bits : wx-3.2.4, gcc-8.1.0,
2-OpenSuse::Leap-15.4-64bits : wx-3.2.4;gtk3, gcc-8.2.1,
=> !! The messages are translated by Deepl

Offline LETARTARE

  • Lives here!
  • ****
  • Posts: 531
  • L'ami de l'homme.The friend of man.
    • LETARTARE
Re: CodeBlocks 2020.03 32bit, problem on Windows Vista
« Reply #3 on: April 04, 2020, 01:53:12 pm »
Well,
if you want to put these files with the executable 'Code::Blocks', you have to copy in the same directory as 'Codeblocks.exe' :
Code
addr2line.exe, dbghelp.dll, exchndl.dll, mgwhelp.dll, symsrv.dll, symsrv.yes 
CB-13483, plugins-sdk-2.25.0 : Collector-2.0.0, AddOnForQt-3.9.1
1-Win7 Business Pack1 64bits : wx-3.2.4, gcc-8.1.0,
2-OpenSuse::Leap-15.4-64bits : wx-3.2.4;gtk3, gcc-8.2.1,
=> !! The messages are translated by Deepl

Offline sergioferrari52

  • Multiple posting newcomer
  • *
  • Posts: 12
Re: CodeBlocks 2020.03 32bit, problem on Windows Vista
« Reply #4 on: April 04, 2020, 02:03:47 pm »
Thank you very much for the answer.

Offline Neo

  • Multiple posting newcomer
  • *
  • Posts: 16
Re: CodeBlocks 2020.03 32bit, problem on Windows Vista
« Reply #5 on: April 17, 2020, 07:17:44 am »
I have the same problem on a Windows XP VM. But the answer seems unrelated to this DLL error.

Offline fhl_wh

  • Single posting newcomer
  • *
  • Posts: 2
Re: CodeBlocks 2020.03 32bit, problem on Windows Vista
« Reply #6 on: May 09, 2020, 03:01:43 pm »
Thank you very much for the answer.
I have the same problem and have recovered several related files to the specified subversion, but there are still problems with the compiler and debugger. What should I do?
« Last Edit: May 20, 2020, 01:18:35 pm by fhl_wh »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: CodeBlocks 2020.03 32bit, problem on Windows Vista
« Reply #7 on: May 09, 2020, 05:19:41 pm »
What do you mean by problems with the compiler and debugger?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline fhl_wh

  • Single posting newcomer
  • *
  • Posts: 2
Re: CodeBlocks 2020.03 32bit, problem on Windows Vista
« Reply #8 on: May 20, 2020, 03:08:45 pm »
The names of the compiler and the debugger have changed, and the related settings need to be modified, but the debugger still has problems. You try it and you understand.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: CodeBlocks 2020.03 32bit, problem on Windows Vista
« Reply #9 on: May 20, 2020, 07:01:58 pm »
The names of the compiler and the debugger have changed, and the related settings need to be modified...

Yes, this is a known problem of the auto detection. :(

..., but the debugger still has problems.
What problems? I know about many problems, but you might be hitting something I don't know about :)

You try it and you understand.
I'm primary on Linux and the min Windows version I have is 7 64 bit.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline B Trevathan

  • Single posting newcomer
  • *
  • Posts: 2
Re: CodeBlocks 2020.03 32bit, problem on Windows Vista
« Reply #10 on: August 26, 2020, 07:14:22 am »

I have the same problem with Code::Blocks 20.03 32 bit not starting on Windows Vista Home Premium 32 bit.

After installing codeblocks-20.03-32bit-setup.exe when I try to start Code::Blocks I get this error:

codeblocks.exe - Entry Point Not Found
The procedure entry point OpenProcess could not be located in the dynamic link library api-ms-win-core-synch-l1-1-0.dll

I tried the things posted above by LETARTARE, but they did not work for me.

I uninstalled the 20.03 version and went back to the 17.12 version, that version works.

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: CodeBlocks 2020.03 32bit, problem on Windows Vista
« Reply #11 on: September 05, 2020, 07:28:09 pm »
Have you tried to download the dlls and copy them over the dlls in the codeblocks installation?

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1553
Re: CodeBlocks 2020.03 32bit, problem on Windows Vista
« Reply #12 on: September 05, 2020, 09:49:05 pm »
Frankk is a spammer, he is interested only in posting the link in his signature

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: CodeBlocks 2020.03 32bit, problem on Windows Vista
« Reply #13 on: September 05, 2020, 09:54:02 pm »
oh.... i didn't saw it...

Offline SiZiOUS

  • Single posting newcomer
  • *
  • Posts: 6
    • SiZiOUS :: Serial Koder
Re: CodeBlocks 2020.03 32bit, problem on Windows Vista
« Reply #14 on: December 28, 2020, 07:09:33 pm »
Indeed, this error is due to the Dr. MinGW crash handler embedded runtime.

Starting from the v0.9 runtime of the Exchndl (Crash Handler), old Windows OSes aren't supported anymore.
This issue is related to the dbghelp.dll library provided by Microsoft which helps to analyze crash dumps.

So if you want to have your C::B 20.03 working on an old machine (like me), you have to grab the Dr. MinGW runtime v0.8.2. You may do that directly on the Dr. MinGW repository or in the C::B source code, indeed, the svn11196 contains the v.0.8.2 runtime. As soon you have downloaded the files in the bin directory, just replace the files in your C::B installation.

If I'm posting this, it's because I have a suggestion:
Would it possible to use the v0.8.2 runtime for the win32 version, as the C::B 32-bit version is out-dated anyway?
In that way, all the 32-bit C::B releases will still be compatible with Windows XP.

Of course, for the 64-bit version, we can still use the most recent version of the Exchndl library.
I did this strategy for my own C::B release (i.e. v0.8.2 for 32-bit and latest for 64-bit).

Thank you very much!