[fpc-devel] Incompatibilities between win32 windows unit and wince windows unit

Marco van de Voort marcov at stack.nl
Sun Jan 7 11:01:46 CET 2007


> > wince.
> > 
> > Is there any special reason why it?s like that? Should we try to get
> > both units as compatible as possible? Can I send a patch for that?
> 
> I'm not an expert on the windows unit but I encountered similar problems
> among platforms and I think we should defenetly go for compat. The best
> thing you can do (so nobody can say anything) is "complement" both ends.
> So eg:
> 
> you got this in 2 windows unit:
> 
> W1. function A(const data): Pointer;
> 
> W2. function A(data: Pointer): Pointer;

This is not as perfect as it looks, since you get overloading errors if you
have more than one such argument. Don't if not necessary.



More information about the fpc-devel mailing list