On Tue, 23 Sep 2008, Szak�ts Viktor wrote:

Hi,

>> hb_vmPushSymbol( hb_itemGetSymbol( pSymTest ) );
>> does not work
>> hb_vmPushSymbol( hb_dynsymSymbol( pSymTest ) );
>> works.
> Hm, this seems like a different subject, I'm not
> really sure what is the difference, but I don't
> remember changing any of these recently.

If pSymTest is PHB_DYNS then:
   hb_vmPushSymbol( hb_dynsymSymbol( pSymTest ) );

or better:
   hb_vmPushDynSym( pSymTest );

should be used.

But if it's PHB_ITEM with symbol inside then:
   hb_vmPushSymbol( hb_itemGetSymbol( pSymTest ) );

or better:
   hb_vmPush( pSymTest );

should be used.

best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to