Subject | Engine Version in IB_Components.pas |
---|---|
Author | Alan |
Post date | 2009-10-06T05:58:13Z |
IB_Components returns the engine version with with (pre V4.9)
dbVersion := Copy(pchar(@Results[ItemPtr+2]), 1,
byte( Results[ItemPtr+1]) );
Now, in V4.9.6 this doesn't work, why?
dbVersion := Copy( AnsiString( PByte( @Results[ItemPtr+2] )),
1,
byte( Results[ItemPtr+1]) );
Anyone know what it should be?
Alan
dbVersion := Copy(pchar(@Results[ItemPtr+2]), 1,
byte( Results[ItemPtr+1]) );
Now, in V4.9.6 this doesn't work, why?
dbVersion := Copy( AnsiString( PByte( @Results[ItemPtr+2] )),
1,
byte( Results[ItemPtr+1]) );
Anyone know what it should be?
Alan