Page 1 of 1

installation & ZLib

Posted: Sun 03 Feb 2008 13:41
by fire.tiger
Hello,

I've just bought the ODAC Prof. edition and have some little problems
with installing it to the Delphi.
I've installed the components correctly but when I put an OraSession
on the form and try to compile it an error is raised in the MemUtils.Pas
unit with this message:
[Error] MemUtils.pas(1734): Undeclared identifier 'sError'
-- || -- 'zlibAllocMem'
...etc....
and next about 18 error with something undeclared.


It seems like I'd have a bad version of ZLib units...
I'm using a Delphi 7 Prof.

Thank you.

P.S. Sorry if there is any similar topic here,I haven's found a topic
related to "zlib".

Posted: Mon 04 Feb 2008 09:14
by Plash
Please ckeck if you have ZLib and ZLibConst units in your Delphi 7. Also check that Delphi Library path does not contain a path to another (third party) ZLib units.

Posted: Sat 09 Feb 2008 10:28
by fire.tiger
Thank you for your reply.
I've been playing with that a couple of hours but I can't figure out
why I get that strange error everytime I'm trying to compile.

I removed all third-party ZLib units so now it shows standart error that
"File not found: ZLib.dcu' (even in a new project with just Zlib added to Uses code segment)

Could you please send me your ZLib units? I probably didn't have a right
ZLib units.

Thank you.

Posted: Sun 10 Feb 2008 14:09
by fire.tiger
I solved it. Nevermind.
It was completely my mistake.
ODAC is working excellent.

Posted: Tue 12 Feb 2008 23:27
by Horace
How did you solve it Tiger ?

Posted: Wed 19 Mar 2008 12:51
by fire.tiger
Sorry for Late reply.

About your question how I solved it. It was simple - I just had another zlib units in delphi's search path and that was a problem.

Do you have the same problem ?