Atozed Forums

Full Version: Fatal Error Message
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Error Message when I opened an old project D5

Indy Unit IdThreadMgr was compiled with a different version of IdException.EIdException

How do i determine the nature of this problem and how ro fix it?

Different Indy version?

Thanks
(09-06-2018, 05:24 PM)tultalk Wrote: [ -> ]Error Message when I opened an old project D5

Indy Unit IdThreadMgr was compiled with a different version of IdException.EIdException

How do i determine the nature of this problem and how ro fix it?

Different Indy version?

The IdThreadMgr unit was in Indy 8 and 9, but it does not exist in Indy 10 (it was replaced with the IdSchedulerOfThread unit and descendants). The IdException unit still exists in Indy 10, though. IIRC, Delphi 5 had Indy 8 pre-installed. So you will have to update the project to use Indy 9 or 10 instead.
(09-06-2018, 05:58 PM)rlebeau Wrote: [ -> ]The IdThreadMgr unit was in Indy 8 and 9, but it does not exist in Indy 10 (it was replaced with the IdSchedulerOfThread unit and descendants).  The IdException unit still exists in Indy 10, though.  IIRC, Delphi 5 had Indy 8 pre-installed.  So you will have to update the project to use Indy 9 or 10 instead.

Chianged more errors

  SysUtils, Classes, extctrls, dialogs,
  IdSchedulerOfThread, IdThreadMgrDefault, IdBaseComponent, IdComponent,
  IdUDPServer, IdTCPServer, IdTCPClient, IdSocketHandle, IdGlobal,
  IdAntiFreezeBase, IdAntiFreeze, Math;

I had changed to Indy 10 from 9.

Error IdThread and red above highlighted

What else has changed?

Thanks

Robert
(09-07-2018, 11:34 AM)tultalk Wrote: [ -> ]Chianged more errors

  SysUtils, Classes, extctrls, dialogs,
  IdSchedulerOfThread, IdThreadMgrDefault, IdBaseComponent, IdComponent,
  IdUDPServer, IdTCPServer, IdTCPClient, IdSocketHandle, IdGlobal,
  IdAntiFreezeBase, IdAntiFreeze, Math;

IdThreadMgrDefault is another unit that existed in Indy 8 and 9 but does not exist in Indy 10 (it was replaced with IdSchedulerOfThreadDefault).

(09-07-2018, 11:34 AM)tultalk Wrote: [ -> ]Error IdThread and red above highlighted

The IdThread unit does exist in Indy 10.
Tried to go back to Indy 9 and conflict with winsock2 in another package IndySystem50.Don't want to run into endless string of problems.
What do i need to do to restore Indy 9?

Thanks
All fixed back at 9.0.11. Removed Indy 10 stuff and reinstalled 9. No more errors.

Pretty weird getting riod of all the I 10 stuff. Lingers on somehow.

Best regards
(09-09-2018, 03:07 AM)tultalk Wrote: [ -> ]All fixed back at 9.0.11.

That is still a very old version. The last version of Indy 9 was 9.0.50.