Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2005 Apr : Differences between D4 and D5

www.cryer.info
Managed Newsgroup Archive

Differences between D4 and D5

Subject:Differences between D4 and D5
Posted by:"Tilmann Reh" (tilmannreh@despammed.com)
Date:Thu, 28 Apr 2005 11:14:06

(Xp+Fup2 borland.public.delphi.language.delphi.win32)

Hello,

I am trying to port GNU gettext (which works with D5..7) to Delphi 4 (which I
have, and which is sufficient for me).

There are three functions which are obviously different:

1. FreeAndNil(param) - missing in D4, probably can be substituded by
   param.free in most cases, but might do more than just "free".

2. GetStrProp(param1, param2) - obviously at least the type of the second
   parameter is incompatible between D4 and D5.

3. GetObjectProp(param1, param2) - missing in D4.

Could someone shed some light on the exact declaration (and function) of these
functions in D5, so I can implement a proper substitute for D4?

Thanks,

--
Dipl.-Ing. Tilmann Reh
http://www.autometer.de - Elektronik nach Maß.

Replies:

www.cryer.info
Managed Newsgroup Archive