Where can I find IWClassesFix.pas

<< Click to Display Table of Contents >>

Navigation:  Forum >

Where can I find IWClassesFix.pas

Forum link

 


 

06-17-2020, 12:31 PM:

 

My software runs without problems with IW 15.1.22.

 

With IW 15.2.3 there is a problem with TIWForm.Dispose when changing pages. The debugger looks for IWClassesFix.pas and does not find it in the sources of IW 15.2.3.

 

Where can I find this file?

 


 

06-20-2020, 02:55 AM:

 

This file is not distributed with our source code because it contains parts of copyrighted code (from Delphi itself) which is partly replicated.

 

The best thing to do is to disable the IWClassesFix. It won't interfere with your code and it will be much easier for you to debug it (believe me, debugging IWClassesFix is painful).

 

To disable it you just need to add one line to your main DPR file

 

Code:

 

program Program1;

 

uses

 

  IWStart,

 

  Unit1 in 'Unit1.pas' {IWForm1: TIWAppForm},

 

  ServerController in 'ServerController.pas' {IWServerController: TIWServerControllerBase},

 

  UserSessionUnit in 'UserSessionUnit.pas' {IWUserSession: TIWUserSessionBase};

 

{$R *.res}

 

begin

 

  TIWServerController.FixupPatchEnabled := False;  // ADD THIS LINE

 

  TIWStart.Execute(True);

 

end.

 

 

 

This will disable it completely.

 

If you still need it anyway, feel free to write me at alexandre [at] atozed dot com

 

BTW, do you have the call stack of the exception?

 

Cheers,