Page 1 of 1

Help: Antonio and FWH 2.7 + xHB Comercial users

PostPosted: Mon Mar 06, 2006 2:04 pm
by Maurilio Viana
Antonio and All,

I have a serious problem with FWH 2.7 (february/2006) and
xHarbour from xHarbour.com (february/2006):

When I compile my project occur an error:
"unresolved external symbol _hb_dynsymSymbol" and I can figure were cause this error.
xHarbour.com uses a FiveHCM.lib and FiveHMX.lib.
We construct our own FiveHMX.lib with a .xbp project generated by xHarbour.com but when we compile our exe project this error appears :-(

If anybody can help me I will be glad because we can´t use february release of xHarbour´s SQLRDD and we was waiting for this for 3 months.

With xHarbour.org work fine (BCC) but xHB.com uses Pelles C.

Best regards
Maurilio

PostPosted: Mon Mar 06, 2006 2:18 pm
by Frank Demont
You have to link in (till new version from xharbour) :


#pragma begindump
#include "hbapi.h"
HB_EXPORT PHB_SYMB hb_dynsymSymbol( PHB_DYNS pDynSym )
{
return pDynSym->pSymbol;
}
#pragma enddump

PostPosted: Mon Mar 06, 2006 2:20 pm
by Rossine
Olá Maurilio,

Eu também tive este erro e para resolvê-lo inclui o trecho abaixo dentro do WINDOW.PRG e gerando a lib novamente:

Code: Select all  Expand view
//----------------------------------------------------------------------------//

#pragma BEGINDUMP

#include "hbapi.h"
#include "hbapiitm.h"

PHB_SYMB hb_dynsymSymbol( PHB_DYNS pDynSym )
{
return pDynSym->pSymbol;
}

#pragma ENDDUMP

//----------------------------------------------------------------------------//


Eu achei esta resposta aqui mesmo no forum dias atrás.

Abraços,

Rossine.

PostPosted: Mon Mar 06, 2006 2:42 pm
by Maurilio Viana
English:
Thanks to Frank and Rossine
I was desperate with this error and here I found 2 solutions.
Because this I love FW :-)

Brazilian Portuguese:
Obrigado ao Rossine e ao Frank
Eu estava desesperado com este erro e aqui encontrei 2 soluçôes
Por isso que eu adoro o FW :-)

Regards/Saudações
Maurilio