Ron,
sorry, fRead() uses a ISBYREF() macro which seems broken as well, this is what
I meant to say.
Maurilio.
Ron Pinkas wrote:
> Maurilio,
>
> You are confusing PRG level hb_IsByRef( @cVar ) which is broken, with C
> MACRO HB_IS_BYREF( pItem )m which works fine.
>
> Ron
>
> On Apr 8, 2008,
Maurilio,
You are confusing PRG level hb_IsByRef( @cVar ) which is broken, with
C MACRO HB_IS_BYREF( pItem )m which works fine.
Ron
On Apr 8, 2008, at 8:45 AM, Maurilio Longo wrote:
> Ron Pinkas wrote:
>> Maurilio,
>>
>> Below is a working, reduced, self contained, sample:
>
> Thanks a lot!
>
Ron Pinkas wrote:
> Maurilio,
>
> Below is a working, reduced, self contained, sample:
Thanks a lot!
>
> [FWIW, HB_IsByRef() has been broken since latest synch with Harbour's
> item api. It will have to implemented as PCODE in order to be fixed.
>
That's a problem, since, for example, fRead
Maurilio,
Below is a working, reduced, self contained, sample:
[FWIW, HB_IsByRef() has been broken since latest synch with Harbour's
item api. It will have to implemented as PCODE in order to be fixed.
Ron
PROCEDURE Main()
Test()
RETURN
PROCEDURE CallBack( cBuff )
? cBuff
?
Hi,
I'm surely doing something wrong... but what?
Why is hb_IsByRef() returning .F. and NIL instead of .T.?
And why is hb_vmPushItemRef() not 'creating' a by-reference variable?
Thanks for any help.
Maurilio.
--
__
| | | |__| Maurilio Longo
|_|_|_|| farmaconsult s.r.l.
r
Hi all,
I have a C function which is a call-back of a .dll, I need to call a .prg
level function to pass to it the handling of that call-back action.
int my_c_func( void * buff )
{
...
}
my_c_func() gets called from the .dll and receives an allocated buffer, I want
to pass it to a .prg l
6 matches
Mail list logo