Marco van de Voort | 1 Oct 2010 10:10
Picon
Favicon

Re: tlhelp32 for WinCE

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.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@...
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Sven Barth | 1 Oct 2010 10:12

Re: tlhelp32 for WinCE

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
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@...
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
(Continue reading)

Marco van de Voort | 1 Oct 2010 10:16
Picon
Favicon

Re: tlhelp32 for WinCE

In our previous episode, Sven Barth said:
> > 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).

In the copy, yes I think you can. It will never pass upstream (in the
unlikely case Embarcadero comes up with WinCE anythime soon, they probably
will start over again anyway)
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@...
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Sven Barth | 1 Oct 2010 10:21

Re: tlhelp32 for WinCE

Am 01.10.2010 10:16, schrieb Marco van de Voort:
> In our previous episode, Sven Barth said:
>>> 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).
>
> In the copy, yes I think you can. It will never pass upstream (in the
> unlikely case Embarcadero comes up with WinCE anythime soon, they probably
> will start over again anyway)

When they'll come up with a native compiler for WinCE there will only be 
a .NET based WinCE to be used :P

I'll report at Mantis once I'm done.

Regards,
Sven
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@...
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Gmane