Welcome, Guest
Username: Password: Remember me
Discussions for CodeTyphon Studio Installation and Setup.
  • Page:
  • 1

TOPIC:

Procedure entry point CoWaitForMultipleObjects at ole32.dll not found 1 year 3 months ago #17888

  • Wolfgang
  • Wolfgang's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
Hi,during installation of latest version ct8.1 on windows7sp1 64bit the following message appears:

Message at DOS windows: 

and when click on ok of error message:  

It was an update from ct8.0. Installation of ct8.0 a few month ago was without problems. And I used ct8.0 a hour ago also without problems.

Thanks for your efforts.
Best regards
Wolfgang 
Attachments:

Please Log in or Create an account to join the conversation.

Last edit: by Wolfgang.

Procedure entry point CoWaitForMultipleObjects at ole32.dll not found 1 year 3 months ago #17889

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1090
  • Thank you received: 157
Sorry, but CT 8.1 support only Win10 and Win11.

We don't have Win XP, Win 7, Win 8.0 and Win 8.1 in Our LAB.

Windows 7 support ended on January 14, 2020

Windows 8.1 support ended on January 10, 2023
 
PilotLogic Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Matis A..

Procedure entry point CoWaitForMultipleObjects at ole32.dll not found 1 year 3 months ago #17890

  • Wolfgang
  • Wolfgang's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
Thank you for the quick reply. I wonder, because ct8.0 worked fine on Windows7. This means, there are bigger changes to ct8.1.

Please Log in or Create an account to join the conversation.

Procedure entry point CoWaitForMultipleObjects at ole32.dll not found 1 year 3 months ago #17891

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1090
  • Thank you received: 157
Try this:
Copy GNU make.exe ver 4.4.0 from CT 8.0 to CT 8.1
-C:\codetyphon\fpc\fpc32\bin\i386-win32\make.exe
-C:\codetyphon\fpc\fpc64\bin\x86_64-win64\make.exe

CT 8.1 use the latest GNU make.exe ver 4.4.1
 
PilotLogic Core Programmer
The following user(s) said Thank You: Wolfgang

Please Log in or Create an account to join the conversation.

Last edit: by Matis A..

Procedure entry point CoWaitForMultipleObjects at ole32.dll not found 1 year 3 months ago #17892

  • Wolfgang
  • Wolfgang's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
Problem still remains. I'll stay with ct8.0. Thank you for your effort.

Please Log in or Create an account to join the conversation.

Procedure entry point CoWaitForMultipleObjects at ole32.dll not found 1 year 2 months ago #17916

  • Greg
  • Greg's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 12
  • Thank you received: 3
Hi everyone.

I don't think it's entirely true that CT 8.1 doesn't support Win7...
I suspect, the problem described here is not related to the sudden end of support for Windows 7 by the CodeTyphon Team, but is related to an unexpected FPC Trunk bug: gitlab.com/freepascal.org/fpc/source/-/issues/40297
This issue is closed now and has a fix. So, we can use the solution described there.

-=Temporary workaround=-
To install new instance of CodeTyphon Studio v8.1 on Windows 7:
1. Go to CodeTyphonIns\installbin\allzips\src directory.
2. Use 7-Zip to unpack fpc_src.7z.
3. Replace the following files with the attached ones:
- packages/fcl-base/src/syncobjs.pp
- rtl/win/systhrd.inc
4. Use 7-Zip to pack again fpcsrc to fpc_src.7z.
5. Remove unnecessary fpcsrc directory.
6. Go to CodeTyphonIns\installbin\allzips\binfpc.
7. Use 7-Zip to unpack i386-win32.7z and x86_64-win64.7z.
8. Edit each .exe file in both directories (i386-win32 and x86_64-win64) with any hex editor and change "CoWaitForMultipleObjects" to "CoWaitForMultipleHandles" or just use some tool like FileBinReplace to automate the whole process to a few seconds.
9. Use 7-Zip to pack again both directories: i386-win32 and x86_64-win64.
10. Remove unnecessary directories: i386-win32 and x86_64-win64 to i386-win32.7z and x86_64-win64.7z.
11. Go to CodeTyphonIns\installbin\allzips directory.
12. Use 7-Zip to unpack binCenter.7z.
13. Edit x86_64-win64-win32\CodeTyphon.exe and i386-win32-win32\CodeTyphon.exe files with any hex editor and change "CoWaitForMultipleObjects" to "CoWaitForMultipleHandles".
14. Use 7-Zip to pack again binCenter to binCenter.7z.
15. Remove unnecessary binCenter directory.
11. Install CodeTyphon Studio v8.1 with your "fixed" CT install on your Windows 7.

I have tested this solution with Windows 7 x64 without problems (2023.06.10). I wanted to share this information with you earlier but I waited over a month for a forum account.

I hope that next versions of CodeTyphon Studio will work without any problems on Windows 7 as soon as the FPC Trunk version gets this fix and CodeTyphon Team add it to own fpc repository or already did. I think CT will work with Windows 7 as long as Free Pascal Team also will support Windows 7.

I'm new one to this forum but I've been following the development of CodeTyphon for a long time. Really good job.
++ Regards to the entire CodeTyphon Team and whole Free Pascal community. ++

 
The following user(s) said Thank You: Rain, Vbxler

Please Log in or Create an account to join the conversation.

Procedure entry point CoWaitForMultipleObjects at ole32.dll not found 1 year 2 months ago #17917

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1090
  • Thank you received: 157
Thanks

Please, give us time to test and report here
PilotLogic Core Programmer

Please Log in or Create an account to join the conversation.

Procedure entry point CoWaitForMultipleObjects at ole32.dll not found 1 year 2 months ago #17919

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4523
  • Thank you received: 1108
Finally, we found an old PC with Win7 in our LAB,
new harddive, new CPU fan, new memory, etc

The next CodeTyphon version 8.20 will support and Windows 7.

Screen from our tests...

 
PilotLogic Architect and Core Programmer
Attachments:
The following user(s) said Thank You: Rain, Wolfgang, Vbxler, LuZZZZi

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Procedure entry point CoWaitForMultipleObjects at ole32.dll not found 1 year 3 weeks ago #18015

  • Wolfgang
  • Wolfgang's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
Hi Sir,
problem solved, ct8.20 is running on Win7.
Many thanks for your effort!
Best Regards Wolfgang

Please Log in or Create an account to join the conversation.

Procedure entry point CoWaitForMultipleObjects at ole32.dll not found 1 year 3 weeks ago #18016

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4523
  • Thank you received: 1108
Thanks Sir
have fun..
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • Page:
  • 1