On Wed, 9 Apr 2008, Bee wrote:

> > You should rewrite the whole unit in a cross-platform manner.
> 
> Is it possible? I read somewhere that the behavior API of Windows is pretty
> much different to API of Linux (and other uni*x platform). Maybe I'll end up
> writing a specific unit for each platform. :(

You should make abstraction of what this unit tries to achieve; 
After that you can see how this can be done in a cross platform manner.

If you just try to re-implement the windows API calls with 'cross-platform'
ones, then you are bound to fail... (the createevent etc. is rather specific)

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to