Sign in Join

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

Mailing lists / fpc-devel / 2009-11

Questions about the Windows RTLs

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

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

Sven Barth

Hi together! (again :P)

While working on the Native NT RTL and (some minutes ago) submitting the DLL_PROCESS_ATTACH patch, I got questions about two differences in the RTL of the three Windows targets.

1. What's the reason of this INDIRECT_MAIN_INFORMATION constructs (and the corresponding types)? And why are they only used in Win32 (although Win64 seems to be prepared for those as well - but the define is missing)?

2. Why are setjmp methods used inside the Win32/64 dll entry function, but not inside the WinCE one? (I personally prefer the WinCE one, it is clearer to read and understand :) )

Regards,
Sven

Reply by email