installation & ZLib

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
fire.tiger
Posts: 9
Joined: Thu 31 Jan 2008 20:29

installation & ZLib

Post by fire.tiger » Sun 03 Feb 2008 13:41

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".

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Mon 04 Feb 2008 09:14

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.

fire.tiger
Posts: 9
Joined: Thu 31 Jan 2008 20:29

Post by fire.tiger » Sat 09 Feb 2008 10:28

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.

fire.tiger
Posts: 9
Joined: Thu 31 Jan 2008 20:29

Post by fire.tiger » Sun 10 Feb 2008 14:09

I solved it. Nevermind.
It was completely my mistake.
ODAC is working excellent.

Horace
Posts: 40
Joined: Thu 11 May 2006 23:37

Post by Horace » Tue 12 Feb 2008 23:27

How did you solve it Tiger ?

fire.tiger
Posts: 9
Joined: Thu 31 Jan 2008 20:29

Post by fire.tiger » Wed 19 Mar 2008 12:51

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 ?

Post Reply