[fpc-devel] Extending win32 definition

Florian Klaempfl florian at freepascal.org
Mon Mar 6 08:41:27 CET 2006


Martin Smat wrote:
> Hi,
> 
> I would like to extend the win32 RTL definition files about new records,
> constants and functions defined in Win98 and later.
> I have several questions:
> 
> 1. can I simply add the new definitions into already existing files
> (defines.inc, struct.inc)?

Yes.

> 2. does not it break the compatibility with Win95? Especially adding new
> functions. I can see that the functions are already defined (in the file
> redef.inc) but are commented out.

No. The windows unit is smartlinked. Only if you use these functions you get
into trouble.



More information about the fpc-devel mailing list