Page 1 of 1

Error con Twbrowse

Posted: Wed Nov 01, 2006 11:29 pm
by JoseLuis
Hola amigos

Si utilizo la clase Twbrowse version 1.7 de Hernán, al compilar mediante verce me sale el siguiente error

Error: Unresolved external '_hb_dynsymSymbol' referenced from C:\FWH\LIB\TWBRW32.LIB|wbrwline

Sin embargo si lo hago con la anterior twbrw16, me funciona perfectamente, que puede ser?

Un saludo

Jose Luis

Posted: Thu Nov 02, 2006 7:56 am
by Antonio Linares
Jose Luis,

Añade este código a tu PRG:

Code: Select all

#pragma BEGINDUMP 

#include "hbstack.h" 
#include "hbapiitm.h" 

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

#pragma ENDDUMP

Posted: Sat Nov 04, 2006 4:11 pm
by JoseLuis
Gracias Antonio

Lo que pasa es que ahora me da el siguiente error:
****************************
Compilado y Enlazado de: [C:\fuentes\harbour\mocwin2006\gespaq.Exe]
Ejecución No. 3
Ejecutada a las: 17:00:27
============================================================
Harbour Compiler Alpha build 45.0 (Flex)
Copyright 1999-2005, http://www.harbour-project.org/
Compiling 'C:\fuentes\harbour\mocwin2006\PRG\gespaq.prg'...
Lines 1205, Functions/Procedures 13
Generating C source output to 'C:\fuentes\harbour\mocwin2006\OBJ\gespaq.hrb'... Done.
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
C:\fuentes\harbour\mocwin2006\OBJ\gespaq.hrb:
Error E2139 C:\harbour\Include\hbstack.h 72: Declaration missing ;
Error E2238 C:\harbour\Include\hbstack.h 73: Multiple declaration for 'PHB_ITEM'
Error E2344 C:\harbour\Include\hbstack.h 72: Earlier declaration of 'PHB_ITEM'
Error E2139 C:\harbour\Include\hbstack.h 73: Declaration missing ;
Error E2139 C:\harbour\Include\hbstack.h 75: Declaration missing ;
Error E2238 C:\harbour\Include\hbstack.h 76: Multiple declaration for 'PHB_ITEM'
Error E2344 C:\harbour\Include\hbstack.h 72: Earlier declaration of 'PHB_ITEM'
Error E2139 C:\harbour\Include\hbstack.h 76: Declaration missing ;
Error E2238 C:\harbour\Include\hbstack.h 77: Multiple declaration for 'PHB_ITEM'
Error E2344 C:\harbour\Include\hbstack.h 72: Earlier declaration of 'PHB_ITEM'
Error E2139 C:\harbour\Include\hbstack.h 77: Declaration missing ;
Error E2141 C:\harbour\Include\hbstack.h 151: Declaration syntax error
Error E2238 C:\harbour\Include\hbapi.h 269: Multiple declaration for 'HB_ITEM_PTR'
*** 13 errors in Compile ***
******************

Que puede ser?

Saludos

Jose Luis