Mode switch delphi not allowed here

Hi,
I tried to install version 1591 to lazarus 3.4. But I got an error of “Mode switch Delphi not allowed here” in “RemObject.inc”. Any suggestion for this issue?

Thanks!
Timothy

Hi,

I can’t reproduce this:

Hi,
I retried to remove all things and reinstall it again. It shows the same error as below.

Hi,

How I can reproduce it?

Hi,
I remarked {$MODE DELPHI} and then I installed successfully. Thanks.

image
image

May I know anything is missing? Besides, am I convert delphi to Lazarus by Lazarus’s tool?

Hi,

why do you convert Remoting SDK/Data Abstract packages?
we already ship lazarus packages (.lpk) …

Hi,
Sorry that I haven’t clarify more clearly. Am I convert my delphi project to lazarus by Lazarus’s tool?

Hi,

As I understand, firstly you should install RO/DA into Lazarus.


check your project options and set Delphi mode:

it should solve issue with RemObjects.inc