[fpc-pascal] help: converting windows API to linux

Marco van de Voort marcov at stack.nl
Wed Apr 9 12:08:39 CEST 2008


> > You should rewrite the whole unit in a cross-platform manner.
> 
> Is it possible?

There is no general rule. Sometimes you'd have to rewrite significant parts,
sometimes it is substituting a few calls.

First try to define what abstract functionality you exactly use, instead of
what you use on windows. (because some of the windows functions might have
alternative uses not as easily emulated on Windows that you don't actually
use)




More information about the fpc-pascal mailing list