[fpc-devel] Incompatibilities between win32 windows unitandwince windows unit

Olivier Rinaudo orinaudo at gmail.com
Sun Jan 7 19:19:45 CET 2007

originally win32 api was converted with fpc tool automatically
this is why it's closer to c than delphi equ declarations.

as yury indicated , compatibility adaptation should be done in redef

2007/1/7, peter green <plugwash at p10link.net>:
> > I'm not particularly happy with "pascalization" of direct interfaces
> > myself.
> me neither, my understanding of this problem is that borland pascalised
> the windows unit in delphi and freepascal followed suite for win32.
> but for whatever reason the same was not done for wince.
> since wince support is so new i'd normally say just change wince to match
> win32 but that will break a lot of wince using code in strange ways (as you
> will effectively be passing windows a pointer to a pointer when the windows
> api expects a pointer to data).
> maybe the answer is to build two windows units, one called windows and
> only availible on win32 which will be effectively a delphi compatibility
> unit and marked as such in the docs and one called say winapi that will be a
> direct translation without any of this pascalisation.
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20070107/85f2abc9/attachment.html>

More information about the fpc-devel mailing list