Page 1 of 1

error: _hb_objHasMessage

Posted: Thu Jun 29, 2006 9:35 pm
by syda
ola,

depois de atualizar para FWH Junho/2006 ocorre este erro:

xLINK: error: Unresolved external symbol '_hb_objHasMessage'.
xLINK: fatal error: 1 unresolved external(s).

uso as libs TSBUTTON, BARLIB, VGET32 e ADS.

Pesquisei no .map e encontrei a seguinte referĂȘncia:
0001:0004ab00 _hb_objHasMessage 0044bb00 f
xhbmt:classes.obj

Grata.

Posted: Thu Jun 29, 2006 10:58 pm
by Antonio Linares
Syda,

Please add this function to your PRG:

Code: Select all

#pragma BEGINDUMP

#include <hbapi.h>

BOOL hb_objHasMessage( PHB_ITEM pObject, PHB_DYNS pMessage )
{
   return hb_objGetMethod( pObject, pMessage->pSymbol ) != NULL;
}
#pragma ENDDUMP