Page 1 of 1

I Search ZeosLib C++Builder user

Posted: 12.08.2012, 08:56
by merovingio
Hi!
I have more difficult to recompile Zeoslib under C++Builder .
I want to create Tips & trikcs C++Builder group.

My mail is merovigio@simail.it.

Posted: 12.08.2012, 19:57
by mrLion
merovingio, i am.

Re: I Search ZeosLib C++Builder user

Posted: 12.08.2012, 19:59
by mrLion
merovingio wrote: I have more difficult to recompile Zeoslib under C++Builder .
NO any problem.

Posted: 12.08.2012, 21:04
by markus
I work under C++ Builder 2010.
And no problems with compiling either:)

There were some issues with packages for cbuilder12, but it was resolved some time ago.
merovingio, maybe post error messages you got, and we'll try to help You.

Done!

Posted: 12.08.2012, 21:34
by merovingio
I have modified source code (only casting parameters in several files).
If you want i send via mail two directories (src and C++BuilderXE2).
:wink:

Posted: 12.08.2012, 22:01
by markus
You know how to make a svn diff file?
It will be better to compare changes.

and you could attach this file here. Posting email in open forum is not best idea - spam bots never sleep;)

Besides - if you made changes in zeos source then it's most probably some delphi issues
not c++ builder

Posted: 13.08.2012, 00:23
by EgonHugeist
markus,

Hey Marek, happy birthday (: !

merovingio,

can you attach your changes?

Michael

Posted: 13.08.2012, 11:24
by merovingio

Posted: 13.08.2012, 19:11
by markus
Michael,
thank You very much.
Ps. Congratulations on becoming a dad :)

merovingio,
could You at least give us list of files that You changed?
Please don't expect us to go through all zeos source to find Your few lines.

Posted: 13.08.2012, 22:08
by merovingio
Tomorrow I download original files and find lines modified.

Posted: 14.08.2012, 08:31
by merovingio
Are added to DELPHI projects.
[DCC Fatal Error] ZPlainDbLibDriver.pas(867): F1026 File not found: 'ZPlainDbLibSybaseAse125.dcu'
[DCC Fatal Error] ZPlainDbLibSybaseAse125.pas(60): F1026 File not found: 'ZPlainDbLibDriver.dcu'
[DCC Fatal Error] ZPlainDbLibDriver.pas(867): F1026 File not found: 'ZPlainDbLibMsSql7.dcu'
[DCC Fatal Error] ZDbcDbLib.pas(152): F1026 File not found: 'ZDbcDbLibMsSqlMetadata.dcu'
[DCC Fatal Error] ZDbcDbLibMsSqlMetadata.pas(254): F1026 File not found: 'ZDbcDbLibUtils.dcu'
[DCC Fatal Error] ZPlainOracleDriver.pas(60): F1026 File not found: 'ZPlainOracle9i.dcu'
[DCC Fatal Error] ZSqlStrings.pas(520): F2063 Could not compile used unit 'ZAbstractRODataset.pas'
[DCC Fatal Error] ZDbcDbLib.pas(153): F1026 File not found: 'ZDbcDbLibSybaseMetadata.dcu' This file not is in DBC directory

add below on ZAbstractRODataset
{$IFDEF VER220}
const
BaseFieldTypes: array[TFieldType] of TFieldType = (
ftUnknown, ftString, ftInteger, ftInteger, ftInteger, ftBoolean, ftFloat, // 0..6
ftFloat, ftBCD, ftDateTime, ftDateTime, ftDateTime, ftBytes, ftVarBytes, // 7..13
ftInteger, ftBlob, ftBlob, ftBlob, ftBlob, ftBlob, ftBlob, ftBlob, ftUnknown, // 14..22
ftString, ftWideString, ftLargeInt, ftADT, ftArray, ftReference, ftDataSet, // 23..29
ftBlob, ftBlob, ftVariant, ftInterface, ftInterface, ftString, ftTimeStamp, ftFMTBcd, // 30..37
ftWideString, ftBlob, ftOraTimeStamp, ftOraInterval, //38..41
ftLongWord, ftInteger, ftInteger, ftExtended, ftConnection, ftParams, ftStream, //42..48
ftTimeStampOffset, ftObject, ftSingle); // 49..51
{$ELSE}
{$IFDEF VER230}
const
BaseFieldTypes: array[TFieldType] of TFieldType = (
ftUnknown, ftString, ftSmallint, ftInteger, ftWord, ftBoolean, ftFloat,
ftCurrency, ftBCD, ftDate, ftTime, ftDateTime, ftBytes, ftVarBytes, ftAutoInc,
ftBlob, ftMemo, ftGraphic, ftFmtMemo, ftParadoxOle, ftDBaseOle, ftTypedBinary,
ftCursor, ftFixedChar, ftWideString, ftLargeint, ftADT, ftArray, ftReference,
ftDataSet, ftOraBlob, ftOraClob, ftVariant, ftInterface, ftIDispatch, ftGuid,
ftTimeStamp, ftFMTBcd, ftFixedWideChar, ftWideMemo, ftOraTimeStamp, ftOraInterval,
ftLongWord, ftShortint, ftByte, ftExtended, ftConnection, ftParams, ftStream,
ftTimeStampOffset, ftObject, ftSingle );
{$ELSE}

this file not found in "components dir"
[DCC Fatal Error] ZAbstractRODataset.pas(65): F1026 File not found: 'ZAbstractConnection.dcu'
[DCC Fatal Error] ZAbstractConnection.pas(89): F1026 File not found: 'ZDbcPooled.dcu' add at ZDBC160

Posted: 14.08.2012, 09:57
by merovingio
... add next days other.

Posted: 19.08.2012, 19:15
by EgonHugeist
markus,

thank you, Marek.

merovingio,

be sure you use the latest SVN. It would be very helpfull for all CXE2 up users to get updated files. Looking forward for you updated files.

Michael

Thanks!

Posted: 25.08.2012, 21:10
by merovingio
Thanks all!