[fpc-pascal] help: converting windows API to linux
Michael Van Canneyt
michael at freepascal.org
Wed Apr 9 10:36:05 CEST 2008
On Wed, 9 Apr 2008, Bee wrote:
> Hi all,
>
> I've been trying to convert a Delphi unit to FPC. The problem is the unit
> utilizes lots of low level windows APIs, such as: VirtualProtect, CreateEvent,
> CloseHandle, etc. Due my lack of linux low level API knowledge, I hope someone
> here could show me where to find a complete guide about similar linux API of
> the windows counterpart, including the description, the parameter lists, the
> API behavior differences, and which FPC unit should be used (instead of just
> windows unit).
>
> Or maybe I should just rewrite the whole unit from scratch on linux? :-D
You should rewrite the whole unit in a cross-platform manner.
Michael.
More information about the fpc-pascal
mailing list