Alexdataset install error lazarus / 16-Databases ---------------------------------------------------------------------- Anonymous · 2005-03-04 10:34 I'm trying to install a component called Alexdataset which is used with UIB.  I'm using Lazarus-0.9.6-20050225-win32.  I receive the errors listed below.  How can I fix the code? C:\lazarus\components\Alexsoft\jedi.inc(331,4) Error: Mode switch "DELPHI" not allowed here C:\lazarus\components\Alexsoft\jedi.inc(331,4) Error: Mode switch "DELPHI" not allowed here C:\lazarus\components\Alexsoft\jedi.inc(331,4) Error: Mode switch "DELPHI" not allowed here C:\lazarus\components\Alexsoft\FBMisc.pas(4,2) Error: Mode switch "OBJFPC" not allowed here C:\lazarus\components\Alexsoft\jedi.inc(331,4) Error: Mode switch "DELPHI" not allowed here C:\lazarus\components\Alexsoft\FBParams.pas(33,24) Error: Duplicate identifier "Owner" C:\lazarus\components\Alexsoft\FBParams.pas(33,24) Hint: Identifier already defined in unit CLASSES at line 384 C:\lazarus\components\Alexsoft\FBParams.pas(43,1) Fatal: There were 6 errors compiling module, stopping ---------------------------------------------------------------------- knightcoder · 2005-03-04 11:35 Hi, Maybe you should also post this on the forum of UIB, so the developer can fix his. I tried to install it and it gave me the same errors. I commented the line and manually defined this directive on each unit. About the Error: Duplicate identifier "Owner", just change Owner to AOwner on this function and everything should install ok. ---------------------------------------------------------------------- Anonymous · 2005-03-04 17:22 I've seen a smiliar post there but no one has replied. ---------------------------------------------------------------------- Marc · 2005-03-07 12:58 aFaik, the mode directif needs to be placed at the beginning of a unit. From the error at line 133, I don't think that it is the case ---------------------------------------------------------------------- Anonymous · 2005-03-08 21:09 get new version from http://alexs75.narod.ru/Files/alexsDataSet_1_7.zip