Page 1 of 1

problem of the zeoslib or of the lazarus 0.9.11

Posted: 24.11.2005, 16:36
by silviogs
Hello friends

how to solve this problem of the zeoslib in the lazarus 0.9.11 :(

---------------------------
Error
---------------------------
Runtime error 210 at $004026C5

$004026C5 FPC_CHECK_OBJECT, line 468 of C:/lazarus/source/fpc/2.1/rtl/inc/generic.inc

$0089F91F ZDBCDBLIB_init, line 735 of C:/lazarus/components/zeoslib/src/dbc/ZDbcDbLib.pas

$0040E085 fpc_initializeunits, line 611 of C:/lazarus/source/fpc/2.1/rtl/inc/system.inc

$0040103E main, line 63 of lazarus.pp

questions :
what did in the lazarus change for the zeoslib not to work?

210 Object not initialized
When compiled with range checking on, a program will report this error if you call a virtual method without having called istr constructor.


ZDbcDbLib.pas

initialization
DBLibDriver := TZDBLibDriver.Create;
DriverManager.RegisterDriver(DBLibDriver); // the mistake is in this line when it initializes the lazarus

finalization
if Assigned(DriverManager) then
DriverManager.DeregisterDriver(DBLibDriver);
DBLibDriver := nil;


Thank you very much

Silvio Guedes

Posted: 02.12.2005, 17:14
by silviogs
Hi friends :(

some developer can answer?

respectfully

Silvio Guedes