Antonio,
Atualizei para FWH 7.05 e agora TUTOR01.PRG e o meu projeto não se arranca mais :
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