Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2006-02

Extending win32 definition

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Martin Smat

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)?
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.

Martin.

Reply by email

Florian Klaempfl
to Martin Smat
Martin Smat wrote 8 lines
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.

Reply by email