[fpc-pascal] tlhelp32 for WinCE

Sven Barth pascaldragon at googlemail.com
Fri Oct 1 10:12:47 CEST 2010


Am 01.10.2010 10:10, schrieb Marco van de Voort:
> In our previous episode, Sven Barth said:
>> As I need to implement tlhelp32 for Windows Mobile I plan to contribute
>> this back to FPC as well.
>>
>> I'm using jwatlhelp32 from winunits-jedi as a base and now I have two
>> possibilities to proceed:
>>
>> - extend jwatlhelp32 for WinCE and add it to the units compiled for
>> WinCE (as I don't think that winunits-jedi is compiled for WinCE, I
>> might need to adjust it's Makefile.fpc rather much)
>> - copy jwatlhelp32 as tlhelp32 to wince-units and adjust it there
>>
>> Which solution should I chose?
>
> Copy. CE and win32/win64 are afaik separate SDKs. Moreover heavy changes to
> jwa* would make synchronizing with upstream (which I do once an year if
> there are significant differences) more difficult.

That's why I asked ^^

Should I reduce the unit to WinCE related stuff as well? E.g remove 
$externalsym (and other C++ Builder stuff), remove Ansi types and 
functions (WinCE provides only the Widestring versions).

Regards,
Sven



More information about the fpc-pascal mailing list