Error ao atualizar para FWH 7.04

Error ao atualizar para FWH 7.04

Postby saviotti » Wed May 16, 2007 4:20 pm

Antonio,

Veja,

xLINK: error: Unresolved external symbol '_hb_dynsymSymbol'.
xLINK: error: Unresolved external symbol '_HB_FUN_REGETZOOM'.
xLINK: error: Unresolved external symbol '_HB_FUN_REINSERTPICTURE'.
xLINK: error: Unresolved external symbol '_HB_FUN_REPAGEBREAK'.
xLINK: error: Unresolved external symbol '_HB_FUN_REPASTESPECIAL'.
xLINK: error: Unresolved external symbol '_HB_FUN_RESETOLEINIT'.
xLINK: error: Unresolved external symbol '_HB_FUN_RESETOLEUNINIT'.
xLINK: error: Unresolved external symbol '_HB_FUN_RESETOLECALLBACK'.
xLINK: error: Unresolved external symbol '_HB_FUN_REGETOLEINTERFACE'.
xLINK: error: Unresolved external symbol '_HB_FUN_RESETZOOM'.
xLINK: error: Unresolved external symbol '_HB_FUN___CLSCNTCLASSES'.
xLINK: error: Unresolved external symbol '_hb_vmPushEvalSym'.
xLINK: error: Unresolved external symbol '_hb_objHasMessage'.
xLINK: fatal error: 13 unresolved external(s).

Gracias,

Mário
saviotti
 
Posts: 43
Joined: Thu Feb 15, 2007 7:45 pm
Location: Brasil

Postby Antonio Linares » Wed May 16, 2007 5:28 pm

Mario,

Please add this function to your PRG:
Code: Select all  Expand view  RUN
#pragma BEGINDUMP

#define _HB_API_INTERNAL_
#include <hbapi.h>
#include <hbapiitm.h>

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

#pragma ENDDUMP
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42151
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Antonio Linares » Wed May 16, 2007 5:32 pm

Code: Select all  Expand view  RUN
#pragma BEGINDUMP

#define _HB_API_INTERNAL_
#include <hbapi.h>
#include <hbapiitm.h>

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

extern HB_SYMB  hb_symEval;

void hb_vmPushEvalSym( void )
{
   hb_vmPushSymbol( &hb_symEval );
}

BOOL hb_objHasMessage( PHB_ITEM pObject, PHB_DYNS pMessage )
{
   BOOL bSymbol = FALSE;

   PHB_FUNC pFunc = hb_objGetMthd( pObject, pMessage->pSymbol, FALSE, NULL, FALSE, &bSymbol );

   if( bSymbol )
   {
      return ((PHB_SYMB) pFunc)->value.pFunPtr != NULL;
   }
   else
   {
      return pFunc != NULL;
   }
}

#pragma ENDDUMP
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42151
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Antonio Linares » Wed May 16, 2007 5:35 pm

Mario,

You need an upgraded xHB for __CLSCNTCLASSES()
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42151
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby saviotti » Wed May 16, 2007 5:43 pm

E estas funções onde achar ?

xLINK: error: Unresolved external symbol '_HB_FUN_REGETZOOM'.
xLINK: error: Unresolved external symbol '_HB_FUN_REINSERTPICTURE'.
xLINK: error: Unresolved external symbol '_HB_FUN_REPAGEBREAK'.
xLINK: error: Unresolved external symbol '_HB_FUN_REPASTESPECIAL'.
xLINK: error: Unresolved external symbol '_HB_FUN_RESETOLEINIT'.
xLINK: error: Unresolved external symbol '_HB_FUN_RESETOLEUNINIT'.
xLINK: error: Unresolved external symbol '_HB_FUN_RESETOLECALLBACK'.
xLINK: error: Unresolved external symbol '_HB_FUN_REGETOLEINTERFACE'.
xLINK: error: Unresolved external symbol '_HB_FUN_RESETZOOM'.

Não teria outra solucion para __CLSCNTCLASSES() ? Não estou podendo comprar um atualização agora.

Gracias

Mário
saviotti
 
Posts: 43
Joined: Thu Feb 15, 2007 7:45 pm
Location: Brasil

Postby Antonio Linares » Wed May 16, 2007 5:50 pm

Mario,

Try this one:

USHORT hb_clsMaxClasses( void );

HB_FUNC( __CLSCNTCLASSES )
{
hb_retnl( hb_clsMaxClasses() );
}

Are you using Class TRichEdit ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42151
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby saviotti » Wed May 16, 2007 6:05 pm

Antonio,

Coloquei minha [trichedi.prg] para compilar junto com o projeto e não acusa os erros.

Mas agora a aplicação não se arranca mais :

Image
saviotti
 
Posts: 43
Joined: Thu Feb 15, 2007 7:45 pm
Location: Brasil

Postby Antonio Linares » Wed May 16, 2007 6:06 pm

Mario,

Prueba samples\tutor01.prg y samples\tutor02.prg
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42151
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby saviotti » Wed May 16, 2007 6:14 pm

Não me arranca :



Image
saviotti
 
Posts: 43
Joined: Thu Feb 15, 2007 7:45 pm
Location: Brasil

Postby Antonio Linares » Wed May 16, 2007 6:17 pm

Mario,

Entonces vas a tener que usar el build de xHarbour que proporcionamos con FWH, usando Borland ó Microsoft.

Tu versión de xHB no es compatible con el pcode más reciente
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42151
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby saviotti » Thu May 17, 2007 6:57 pm

Antonio

Acabo de ordenar e instalar xHB 99.70, el tutor01.prg já me arranca, agora o meu projeto apresenta estes erros :

xLINK: error: Unresolved external symbol '_HB_FUN_PEEKBYTE'.
xLINK: error: Unresolved external symbol '_HB_FUN__LASTKEY'.
xLINK: error: Unresolved external symbol '_HB_FUN_ISWIN64'.
xLINK: error: Unresolved external symbol '_HB_FUN_ISAPPTHEMED'.
xLINK: error: Unresolved external symbol '_HB_FUN_TSTATUSBAR'.
xLINK: error: Unresolved external symbol '_HB_FUN_GETENHMETAFILE'.
xLINK: error: Unresolved external symbol '_HB_FUN_PLAYENHMETAFILE'.
xLINK: error: Unresolved external symbol '_HB_FUN_DELETEENHMETAFILE'.
xLINK: error: Unresolved external symbol '_HB_FUN_FWRARROW'.
xLINK: error: Unresolved external symbol '_HB_FUN_XBRWSCROLL'.
xLINK: error: Unresolved external symbol '_HB_FUN_FWBMPASC'.
xLINK: error: Unresolved external symbol '_HB_FUN_FWBMPDES'.
xLINK: error: Unresolved external symbol '_HB_FUN_DRAWTEXTEX'.
xLINK: error: Unresolved external symbol '_HB_FUN_FWDARROW'.
xLINK: error: Unresolved external symbol '_HB_FUN_DRAWTHEMED'.
xLINK: error: Unresolved external symbol '_HB_FUN_DRAWPBACK'.
xLINK: error: Unresolved external symbol '_HB_FUN_FWDISPBEGIN'.
xLINK: error: Unresolved external symbol '_HB_FUN_FWDISPEND'.
xLINK: error: Unresolved external symbol '_HB_FUN_CREATETOOLTIP'.
xLINK: error: Unresolved external symbol '_hb_stack'.
xLINK: error: Unresolved external symbol '_hb_vmMessage'.
xLINK: error: Unresolved external symbol '_HB_FUN_RELOADASRTF'.
xLINK: error: Unresolved external symbol '_HB_FUN_RESAVEASRTF'.
xLINK: error: Unresolved external symbol '_HB_FUN_MAPILOGOFF'.
xLINK: error: Unresolved external symbol '_HB_FUN_MAPISENDMAIL'.

Poderias me ajudar ?

Gracias

Mário
saviotti
 
Posts: 43
Joined: Thu Feb 15, 2007 7:45 pm
Location: Brasil

Postby Antonio Linares » Thu May 17, 2007 7:00 pm

Mario,

Hoy hemos publicado FWH 7.05, por favor descárgalo e instálalo y prueba con él, gracias
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42151
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby saviotti » Fri May 18, 2007 12:24 pm

Antonio,

Atualizei para FWH 7.05 e agora TUTOR01.PRG e o meu projeto não se arranca mais :


Image


No meu projeto não consigo linkar MENUS.C que antes era linkado normalmente :

c:\fwh\include\ClipApi.h(71): error: Expecting an enumerator identifier.

c:\fwh\include\ClipApi.h(71): error: Syntax error; found '0' expecting '}'.

c:\fwh\include\ClipApi.h(463): error: Redeclaration of 'strlen' previously declared at C:\xHB\c_include\string.h(30): found 'unsigned short __cdecl function(char *)' expected 'unsigned int __cdecl function(const char *)'.

c:\fwh\include\ClipApi.h(464): error: Redeclaration of 'strcpy' previously declared at C:\xHB\c_include\string.h(27): found 'void __cdecl function(unsigned char *, unsigned char *)' expected 'char * __cdecl function(restrict char *, restrict const char *)'.

c:\fwh\include\ClipApi.h(465): error: Redeclaration of 'strcmp' previously declared at C:\xHB\c_include\string.h(25): found 'int __cdecl function(char *, char *)' expected 'int __cdecl function(const char *, const char *)'.

c:\fwh\include\ClipApi.h(466): error: Redeclaration of 'strcat' previously declared at C:\xHB\c_include\string.h(23): found 'unsigned char * __cdecl function(unsigned char *, unsigned char *)' expected 'char * __cdecl function(restrict char *, restrict const char *)'.

c:\fwh\include\ClipApi.h(511): warning: Missing type specifier.

MENUS.C(23): warning: Missing type specifier.

MENUS.C(23): error: Syntax error; found 'HB_FUN_CREATEMENU' expecting ';'.

MENUS.C(23): warning: Missing type specifier.

MENUS.C(26): warning: Missing return value.

MENUS.C(30): warning: Missing type specifier.

MENUS.C(30): error: Syntax error; found 'HB_FUN_CREATEPOPUPMENU' expecting ';'.

MENUS.C(30): warning: Missing type specifier.

MENUS.C(33): warning: Missing return value.

MENUS.C(37): warning: Missing type specifier.

MENUS.C(37): error: Syntax error; found 'HB_FUN_TRACKPOPUP' expecting ';'.

MENUS.C(37): warning: Missing type specifier.

MENUS.C(41): warning: Missing return value.

MENUS.C(45): warning: Missing type specifier.

MENUS.C(45): error: Syntax error; found 'HB_FUN_ENABLEMENUITEM' expecting ';'.

MENUS.C(45): warning: Missing type specifier.

MENUS.C(48): warning: Missing return value.

MENUS.C(52): warning: Missing type specifier.

MENUS.C(52): error: Syntax error; found 'HB_FUN_CHECKMENUITEM' expecting ';'.

MENUS.C(52): warning: Missing type specifier.

MENUS.C(55): warning: Missing return value.

MENUS.C(59): warning: Missing type specifier.

MENUS.C(59): error: Syntax error; found 'HB_FUN_GETMITEMCOUNT' expecting ';'.

MENUS.C(59): warning: Missing type specifier.

MENUS.C(62): warning: Missing return value.

MENUS.C(66): warning: Missing type specifier.

MENUS.C(66): error: Syntax error; found 'HB_FUN_GETMITEMID' expecting ';'.

MENUS.C(66): warning: Missing type specifier.

MENUS.C(69): warning: Missing return value.

MENUS.C(73): warning: Missing type specifier.

MENUS.C(73): error: Syntax error; found 'HB_FUN_GETSYSTEMMENU' expecting ';'.

MENUS.C(73): warning: Missing type specifier.

MENUS.C(76): warning: Missing return value.

MENUS.C(80): warning: Missing type specifier.

MENUS.C(80): error: Syntax error; found 'HB_FUN_DESTROYMENU' expecting ';'.

MENUS.C(80): warning: Missing type specifier.

MENUS.C(83): warning: Missing return value.

MENUS.C(87): warning: Missing type specifier.

MENUS.C(87): error: Syntax error; found 'HB_FUN_GETSUBMENU' expecting ';'.

MENUS.C(87): warning: Missing type specifier.

MENUS.C(90): warning: Missing return value.

MENUS.C(94): warning: Missing type specifier.

MENUS.C(94): error: Syntax error; found 'HB_FUN_GETMENUSTRING' expecting ';'.

MENUS.C(94): warning: Missing type specifier.

MENUS.C(101): warning: Missing return value.

MENUS.C(105): warning: Missing type specifier.

MENUS.C(105): error: Syntax error; found 'HB_FUN_GETMENUSTATE' expecting ';'.

MENUS.C(105): warning: Missing type specifier.

MENUS.C(108): warning: Missing return value.

MENUS.C(112): warning: Missing type specifier.

MENUS.C(112): error: Syntax error; found 'HB_FUN_DRAWMENUBAR' expecting ';'.

MENUS.C(112): warning: Missing type specifier.

MENUS.C(115): warning: Missing return value.

MENUS.C(119): warning: Missing type specifier.

MENUS.C(119): error: Syntax error; found 'HB_FUN_HILITEMENUITEM' expecting ';'.

MENUS.C(119): warning: Missing type specifier.

MENUS.C(123): warning: Missing return value.

MENUS.C(127): warning: Missing type specifier.

MENUS.C(127): error: Syntax error; found 'HB_FUN_LOADMENU' expecting ';'.

MENUS.C(127): warning: Missing type specifier.

MENUS.C(132): warning: Missing return value.

MENUS.C(136): warning: Missing type specifier.

MENUS.C(136): error: Syntax error; found 'HB_FUN_APPENDMENU' expecting ';'.

MENUS.C(136): warning: Missing type specifier.

MENUS.C(140): warning: Missing return value.

MENUS.C(144): warning: Missing type specifier.

MENUS.C(144): error: Syntax error; found 'HB_FUN_SETMENU' expecting ';'.

MENUS.C(144): warning: Missing type specifier.

MENUS.C(147): warning: Missing return value.

MENUS.C(151): warning: Missing type specifier.

MENUS.C(151): error: Syntax error; found 'HB_FUN_MODIFYMENU' expecting ';'.

MENUS.C(151): warning: Missing type specifier.

MENUS.C(156): warning: Missing return value.

MENUS.C(160): warning: Missing type specifier.

MENUS.C(160): error: Syntax error; found 'HB_FUN_INSERTMENU' expecting ';'.

MENUS.C(160): warning: Missing type specifier.

MENUS.C(164): warning: Missing return value.

MENUS.C(168): warning: Missing type specifier.

MENUS.C(168): error: Syntax error; found 'HB_FUN_REMOVEMENU' expecting ';'.

MENUS.C(168): warning: Missing type specifier.

MENUS.C(173): warning: Missing return value.

MENUS.C(177): warning: Missing type specifier.

MENUS.C(177): error: Syntax error; found 'HB_FUN_ATMENUDRAWITEM' expecting ';'.

MENUS.C(177): warning: Missing type specifier.

MENUS.C(400): warning: Missing return value.

MENUS.C(417): warning: Missing type specifier.

MENUS.C(417): error: Syntax error; found 'HB_FUN_GETMEAITEM' expecting ';'.

MENUS.C(417): warning: Missing type specifier.

MENUS.C(422): warning: Missing return value.

MENUS.C(426): warning: Missing type specifier.

MENUS.C(426): error: Syntax error; found 'HB_FUN_GETDRAWITEM' expecting ';'.

MENUS.C(426): warning: Missing type specifier.

MENUS.C(431): warning: Missing return value.

MENUS.C(435): warning: Missing type specifier.

MENUS.C(435): error: Syntax error; found 'HB_FUN_GETDRAWMENU' expecting ';'.

MENUS.C(435): warning: Missing type specifier.

MENUS.C(440): warning: Missing return value.

MENUS.C(444): warning: Missing type specifier.

MENUS.C(444): error: Syntax error; found 'HB_FUN_ISMENU' expecting ';'.

MENUS.C(444): warning: Missing type specifier.

MENUS.C(447): warning: Missing return value.

MENUS.C(451): warning: Missing type specifier.

MENUS.C(452): warning: Missing prototype for 'HB_FUNC'.

MENUS.C(454): warning: Missing return value.

MENUS.C(458): warning: Missing type specifier.

MENUS.C(459): error: Redefinition of 'HB_FUNC' previously defined at MENUS.C(451).

MENUS.C(462): warning: Missing prototype for 'hb_parnl'.

MENUS.C(463): warning: Missing prototype for 'hb_parl'.

MENUS.C(468): warning: Missing prototype for 'hb_parc'.

MENUS.C(468): warning: Conversion from 'const char *' to 'int' is undefined.

MENUS.C(473): warning: Conversion from 'const char *' to 'int' is undefined.

MENUS.C(501): warning: Missing return value.

MENUS.C(504): warning: Missing type specifier.

MENUS.C(505): error: Redefinition of 'HB_FUNC' previously defined at MENUS.C(458).

MENUS.C(516): warning: Missing return value.

MENUS.C(519): warning: Missing type specifier.

MENUS.C(520): error: Redefinition of 'HB_FUNC' previously defined at MENUS.C(504).

MENUS.C(524): warning: Missing return value.

MENUS.C(526): warning: Missing type specifier.

MENUS.C(527): error: Redefinition of 'HB_FUNC' previously defined at MENUS.C(519).

MENUS.C(532): warning: Overflow in converting constant expression from 'unsigned int' to 'unsigned short'.

MENUS.C(533): warning: Overflow in converting constant expression from 'unsigned int' to 'unsigned short'.

MENUS.C(534): warning: Overflow in converting constant expression from 'unsigned int' to 'unsigned short'.

MENUS.C(535): warning: Overflow in converting constant expression from 'unsigned int' to 'unsigned short'.

MENUS.C(536): warning: Overflow in converting constant expression from 'unsigned int' to 'unsigned short'.

MENUS.C(537): warning: Overflow in converting constant expression from 'unsigned int' to 'unsigned short'.

MENUS.C(538): warning: Overflow in converting constant expression from 'unsigned int' to 'unsigned short'.

MENUS.C(539): warning: Overflow in converting constant expression from 'unsigned int' to 'unsigned short'.

MENUS.C(540): warning: Overflow in converting constant expression from 'unsigned int' to 'unsigned short'.

MENUS.C(541): warning: Overflow in converting constant expression from 'unsigned int' to 'unsigned short'.

MENUS.C(542): warning: Overflow in converting constant expression from 'unsigned int' to 'unsigned short'.

MENUS.C(543): warning: Missing prototype for '_stornd'.

MENUS.C(545): warning: Missing return value.

MENUS.C(547): warning: Missing type specifier.

MENUS.C(548): error: Redefinition of 'HB_FUNC' previously defined at MENUS.C(526).

MENUS.C(553): warning: Overflow in converting constant expression from 'unsigned int' to 'unsigned short'.

MENUS.C(554): warning: Overflow in converting constant expression from 'unsigned int' to 'unsigned short'.

MENUS.C(555): warning: Overflow in converting constant expression from 'unsigned int' to 'unsigned short'.

MENUS.C(556): warning: Overflow in converting constant expression from 'unsigned int' to 'unsigned short'.

MENUS.C(557): warning: Overflow in converting constant expression from 'unsigned int' to 'unsigned short'.

MENUS.C(558): warning: Missing prototype for '_stornd'.

MENUS.C(560): warning: Missing return value.


Type: C >>>Couldn't build: MENUS.obj<<<
Type: C >>>TMAKEOBJECT<<<


Poderia me ajudar por favor.

Gracias

Mário
saviotti
 
Posts: 43
Joined: Thu Feb 15, 2007 7:45 pm
Location: Brasil

Postby Antonio Linares » Fri May 18, 2007 2:23 pm

Mario,

Aqui funciona correctamente FWH 7.05 y xHB. Por favor elimina los ficheros temporales C y OBJ que puedas tener de una versión anterior:
Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42151
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Antonio Linares » Fri May 18, 2007 2:24 pm

Mario,

El módulos menus.c que intentas compilar es el de FWH ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42151
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Next

Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 60 guests