Atozed Forums
Fatal Error Message - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Indy (https://www.atozed.com/forums/forum-8.html)
+--- Forum: Indy General Discussion (https://www.atozed.com/forums/forum-9.html)
+--- Thread: Fatal Error Message (/thread-638.html)



Fatal Error Message - tultalk - 09-06-2018

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


RE: Fatal Error Message - rlebeau - 09-06-2018

(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.


RE: Fatal Error Message - tultalk - 09-07-2018

(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


RE: Fatal Error Message - rlebeau - 09-07-2018

(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.


RE: Fatal Error Message - tultalk - 09-07-2018

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


RE: Fatal Error Message - tultalk - 09-09-2018

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


RE: Fatal Error Message - rlebeau - 09-10-2018

(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.