Hello Teo,

Thanks for your answer and help.


JLC>
JLC>Somehow this is the reason (I don't know yet exactly the details, but
JLC>the
JLC>problem is in the includes ("#include 'hbvmpub.h'") on the final C
JLC>code
JLC>obtained from the prg).
JLC>
JLC>So, for the moment, please use a separate C file to contain the
JLC>HB_FUNC():
JLC>
JLC>/---------------- start C code --------------------/
JLC>#include "hbvmopt.h"
JLC>#include "hbstack.h"
JLC>
JLC>HB_FUNC( __GETMESSAGE2 )
JLC>{
JLC>
JLC>hb_retc(hb_stackItem(hb_stackBaseItem()->item.asSymbol.stackstate-
JLC>>lBaseItem )->item.asSymbol.value->szName);
JLC>}
JLC>/---------------- end C code --------------------/
JLC>
JLC>
JLC>this will compile fine .
JLC>

It seems that I am a Little bit lost :-(

I can not make your sample works ok.  Is something related with
HB_STACK_MACROS define ?  I did a full search on Harbour source code of
'stackBaseItem' and 'hb_stackItem' words and I could not find any clue (at
least I couldn’t).

So... any help or clue are welcome.

Thanks and regards,
José Luis Capel


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

Reply via email to