Atozed Forums
CodeInsight stops working when adding IntraWeb source paths to library path - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: CodeInsight stops working when adding IntraWeb source paths to library path (/thread-2785.html)



CodeInsight stops working when adding IntraWeb source paths to library path - Mike_A - 07-06-2022

Hi there,

I have installed IntraWeb 15.2.60 in Delphi 11.1. If a add the source paths to the library path CodeInsight stops working.
So I activated LSP logging and found the following line in agent1.log:

07:19:52.275 [19184] LOGĀ  : TDelphiLSPKernel.GetDiagnostics(.\HPQROnlineAntrag.dpr) 2051 D:\Delphi11\Komponenten\IntraWeb 15\Lib\server\IWStandAloneServer.pas(102:71): F2051 Unit IWServerSession was compiled with a different version of IWHTML40Interfaces.HTML40FormInterface

I have added the source paths after and before the original installation path, always with the same result.

This error is not shown when compiling the project in the IDE.

Any ideas how this can be solved? Or is it a problem that can only be solved by Embarcadero?

Thanks in advance

Michael


RE: CodeInsight stops working when adding IntraWeb source paths to library path - Alexandre Machado - 07-10-2022

Hi,

no, that's not a thing that EMB will fix. I'll need to test it myself and see what I get. Is your project configured to optimize/inline methods?


RE: CodeInsight stops working when adding IntraWeb source paths to library path - Mike_A - 07-11-2022

Hi,

{$INLINE ON} is the default setting. I didn't change it.

Hi,

if I change this setting to OFF there is no changed behavior of LSP but I also get this error message, when compiling the project:

[dcc32 Fatal Error] IWWebEditor.pas(363): F2051 Unit IWServerSession was compiled with a different version of IWHTML40Interfaces.HTML40FormInterface