On Thu, 16 May 2002, Yuri Prokushev wrote:
> But we have two problems. Syntax difference. FPC doesn't have APIENTRI,
> doesn't have imports. Also problems with CSTRING type. As I know FPC
> doesn't support this type. May be this is same as ANSISTRING. Some check
> required.
I've checked these:
"APIENTRY" can be search&replace'd to "cdecl; external".
CSTRING[x] is a bit more tricky. At some places, it can be replaced with
array[0..x] of char, and in some places (mostly at function parameters)
they have to be changed to pchar, and the function will need small
modifications. Unfortunately, this is not a nice and compatible solution.
According to the documentation, FPC do support ansistrings.
About imports in FPC, something like "external 'PMWIN' index 220;"
compiled successfully. I don't know if it works, but compiled.
Ok, so what do you think that some (for example me ;)) can work on
changing the Sibyl rtl to compile with FPC, and meanwhile the others can
use the SPC? Or is it a dead-end?
Doodle
-- Doodle -------------------------------------------------------------------
PapirPosta: Kocsis Peter, 5363, Nagyiva'n, O~rsi 2/c
-------------------------------------------------------------------- OS/2 ---
-----------
To unsubscribe yourself from this list, send the following message
to [EMAIL PROTECTED]
unsubscribe sibyl
end