2006/7/27, Florian Klaempfl <[EMAIL PROTECTED]>:
Carlo Kok wrote:
> Alexandre Leclerc wrote:
>> 2006/7/26, Bogusław Brandys <[EMAIL PROTECTED]>:
>>> 32-bit assembler parts supports now FPC calling convention (FPC is using
>>> EAX and EDX differently when calling virtual methods or something
>>> similiar, don't quite remember (it was hardest part by the way))
>> I got a problem with imported functions in PS... the Result value is
>> not sent back. (I sent a post to the ROPS newsgroup.) Do you think it
>> is a FPC issue? Or a compiler/registry trick?
>>
>
> The result value of floats isn't send back properly, which is a known
> issue, other result values should work fine.
>
Of FPC or in general?
I can't compare with Delphi, but when invoking an Imported function
from Lazarus into PS I was not able (in PS) to get the return value
(which is a string). But there are no errors, only nothing. The
function is declared as a standard function (not a function of
object). The Import sample, once converted to lazarus, shows the thing
pretty simply.
--
Alexandre Leclerc
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives