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 <[EMAIL PROTECTED]>:
> 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 - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
_______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
