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