Warning W8065

Warning W8065

Postby mauri.menabue » Sun Jun 22, 2014 4:44 pm

hi all
How fix this error :Warning W8065 ..\source\function\TSBFUNCS.C 73: Call to function 'ISLOG' with no prototype in function HB_FUN_TSDRAWCELL

#ifndef __HARBOUR__
CLIPPER TSDrawCell( PARAMS ) // ( hWnd, hDC, nRow, nColumn , nWidth ,
// uData, nAlign , nClrFore, nClrBack ,
// hFont, nBitmap, nHeightCell,
// b3DLook, nLineStyle, nClrLine, nHeadFoot,
// nHeightHead, nHeightFoot, hHeightSuper,
// lAdjBmpl, lMultiLine, nVAlign, nVertText,
// nClrTo, lDegrad, hBrush )
#else
HB_FUNC ( TSDRAWCELL )
#endif
{
HWND hWnd = (HWND) hb_parni( 1 ) ;
HDC hDC = (HDC) hb_parni( 2 ) ;
int nRow = hb_parni( 3 ) ;
int nColumn = hb_parni( 4 ) ;
int nWidth = hb_parni( 5 ) ;
LPSTR cData = ( LPSTR ) hb_parc( 6 ) ;
int nLen = hb_parclen( 6 ) ;
UINT nAlign = hb_parni( 7 ) ;
COLORREF clrFore = hb_parnl( 8 ) ;
COLORREF clrBack = hb_parnl( 9 ) ;
HFONT hFont = (HFONT) hb_parni( 10 ) ;
int nBitMap = hb_parni( 11 ) ;
int nHeightCell = hb_parni( 12 ) ;
BOOL b3DLook = hb_parl( 13 ) ;
int nLineStyle = hb_parni( 14 ) ;
COLORREF clrLine = hb_parnl( 15 ) ;
int nHeadFoot = hb_parni( 16 ) ;
int nHeightHead = hb_parni( 17 ) ;
int nHeightFoot = hb_parni( 18 ) ;
int nHeightSuper = hb_parni( 19 ) ;
HBITMAP hBitMap = (HBITMAP) hb_parni( 6 ) ; // redefine parm 6 as possible bitmap
BOOL bAdjBmp = hb_parl( 20 ) ;
BOOL bMultiLine = hb_parl( 21 ) ;
int nVAlign = hb_parni( 22 ) ;
int nVertText = hb_parni( 23 ) ;
COLORREF clrTo = hb_parnl( 24 ) ;
BOOL bDegrad = hb_parl( 25 ) ;
HBRUSH wBrush = (HBRUSH) hb_parnl( 26 ) ;
BOOL b3DInv = ( ISLOG( 27 ) ? ! hb_parl( 27 ) : FALSE ) ;
BOOL b3D = ( ISLOG( 27 ) ? TRUE : FALSE ) ;
COLORREF nClr3DL = hb_parnl( 28 ) ;
COLORREF nClr3DS = hb_parnl( 29 ) ;

Thank
User avatar
mauri.menabue
 
Posts: 146
Joined: Thu Apr 17, 2008 2:38 pm

Re: Warning W8065

Postby Antonio Linares » Sun Jun 22, 2014 5:25 pm

Mauri,

At the top, place this:

#include <hbapi.h>
regards, saludos

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

Re: Warning W8065

Postby mauri.menabue » Sun Jun 22, 2014 10:23 pm

Hi Antonio
"#include <hbapi.h>" is alredy present at top of program
anyway Thank for your help :cry:
User avatar
mauri.menabue
 
Posts: 146
Joined: Thu Apr 17, 2008 2:38 pm

Re: Warning W8065

Postby Antonio Linares » Sun Jun 22, 2014 10:35 pm

Mauri,

Look for ISLOG() definition inside hbapi.h. It should be there
regards, saludos

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

Re: Warning W8065

Postby cnavarro » Sun Jun 22, 2014 10:51 pm

Please, use HB_ISLOG(..)
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6500
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Warning W8065

Postby Antonio Linares » Sun Jun 22, 2014 10:58 pm

Mauri,

Are you using Harbour or xHarbour ?
regards, saludos

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

Re: Warning W8065

Postby mauri.menabue » Sun Jun 22, 2014 11:09 pm

The previus problem is solved in this way ISLOG ---> HB_ISLOG, ISNUM ----> HB_ISNUM bat there is new problem
at runtime see above, width previus version of harbour there are no problem anu ideas ?

Application
===========
Path and name: C:\Servizio\SERVIZIOH.exe (32 bits)
Size: 3,920,384 bytes
Compiler version: Harbour 3.4.0dev () (2014-06-16 13:38)
FiveWin Version: FWH 12.09
Windows version: 6.1, Build 7601 Service Pack 1

Time from start: 0 hours 0 mins 17 secs
Error occurred at: 23-06-2014, 00:41:49
Error description: Error BASE/1004 Message not found: TMDICHILD:DEFCONTROL
Args:
[ 1] = O TMDICHILD

Stack Calls
===========
Called from: => __ERRRT_SBASE( 0 )
Called from: => TMDICHILD:ERROR( 0 )
Called from: => (b)HBOBJECT( 0 )
Called from: => TMDICHILD:MSGNOTFOUND( 0 )
Called from: => TMDICHILD:DEFCONTROL( 0 )
Called from: => TXBROWSE:CREATEFROMCODE( 790 )
Called from: => TGESANA:ACTIVATE( 150 )
Called from: => GESANA( 79 )
Called from: => (b)BUILDMENU( 448 )
Called from: => TMENU:COMMAND( 461 )
Called from: => TWINDOW:COMMAND( 1037 )
Called from: => TMDIFRAME:COMMAND( 247 )
Called from: => TMDIFRAME:HANDLEEVENT( 0 )
Called from: => _FWH( 3177 )
Called from: => WINRUN( 0 )
Called from: => TMDIFRAME:ACTIVATE( 990 )
Called from: => MAIN( 378 )
User avatar
mauri.menabue
 
Posts: 146
Joined: Thu Apr 17, 2008 2:38 pm

Re: Warning W8065

Postby cnavarro » Sun Jun 22, 2014 11:22 pm

Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6500
Joined: Wed Feb 15, 2012 8:25 pm
Location: España


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 97 guests