> > 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
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
Yes it's possible, but nobody said it would be easy. :-) I've done this
a few times before. IBM's website had some good documentation on porting
Wi
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 plat
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. :(
-Bee-
has Bee.ography at:
http
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 s
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 abo