Page 1 of 1

Zeosdbo_rework lazarus 0.9.11 solved

Posted: 19.01.2006, 19:31
by silviogs
Hello friends

problem:

Error --------------------------- Runtime error 210 at $00402641 $00402641 FPC_CHECK_OBJECT, line 468 of C:/lazarus/source/fpc/2.0/rtl/inc/generic.inc $00860392 ZVARIANT_init, line 1486 of C:/lazarus/components/zeosdbo_rework/src/core/ZVariant.pas $0040DD6D fpc_initializeunits, line 603 of C:/lazarus/source/fpc/2.0/rtl/inc/system.inc $0040103E main, line 66 of lazarus.pp

I would like to share with the friends the solution of the zeosdbo_rework with the lazarus 0.9.11:

in a previous answer a friend of the forum(lazarus) asked that in the zeos.inc changed $R+ for $R -, in spite of not having worked and many attempts decided to change all the + for - in the following options and the result was surprisingly, the zeosdbo_rework worked in the lazarus 0.9.11

forum:

http://www.lazarus.freepascal.org/index ... forum&f=13

see the change:

// Settings for Debug mode
{$C+} change
{$I+} change
{$R-} // {$R+} would it be in this point?
{$L+} change
{$Q+} change
{$IFNDEF FPC}
{$O-}
{$W+}
{$ENDIF}

thank you very much to all that helped me

Respectfully

Silvio Guedes
analyst/programmer of systems
Brazil

Posted: 21.01.2006, 12:37
by Loesje
But it's still a bug (4510) in fpc svn-version 2.1.1, if you use a released version, you won't have this problem.

So you can change this yourself, if you want. But I woudn't change this in ZEOSdbo-cvs.