FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Warning W8065
Posts: 181
Joined: Thu Apr 17, 2008 02:38 PM
Warning W8065
Posted: Sun Jun 22, 2014 04: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

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Warning W8065
Posted: Sun Jun 22, 2014 05:25 PM

Mauri,

At the top, place this:

include <hbapi.h>

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 181
Joined: Thu Apr 17, 2008 02:38 PM
Re: Warning W8065
Posted: 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:

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Warning W8065
Posted: 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
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: Warning W8065
Posted: 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
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Warning W8065
Posted: Sun Jun 22, 2014 10:58 PM

Mauri,

Are you using Harbour or xHarbour ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 181
Joined: Thu Apr 17, 2008 02:38 PM
Re: Warning W8065
Posted: 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 )

Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: Warning W8065
Posted: 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

Continue the discussion