compilar BPAINT.C de tsButton con BC++ 5.82
Posted: Sat May 29, 2010 4:38 pm
Estimados
estoy recompilando TSbutton con la version de borland C++ 5.82 pero el archivo BPAINT.C me arroja los siguentes errores, si alguien puede revisarlo y dar con la solucion
estoy recompilando TSbutton con la version de borland C++ 5.82 pero el archivo BPAINT.C me arroja los siguentes errores, si alguien puede revisarlo y dar con la solucion
- Code: Select all Expand view
- Borland C++ 5.82 for Win32 Copyright (c) 1993, 2005 Borland
..\source\function\BPAINT.C:
Error E2349 ..\source\function\BPAINT.C 100: Nonportable pointer conversion in function HB_FUN_SBTNPAINT
GetObject( ( HGDIOBJ ) ( bV22 ? hBitMap1 : LOWORD( hBitMap1 ) ), sizeof( BITMAP ),( LPSTR ) &bm ) ; //linea 100
Error E2349 ..\source\function\BPAINT.C 153: Nonportable pointer conversion in function HB_FUN_SBTNPAINT
DrawMasked( hDC, ( bV22 ? hShape : LOWORD( hShape ) ), //linea 153
rct.top + ( bPressed ? 1 : 0 ), rct.left + ( bPressed ? 1 : 0 ) ) ;
Error E2349 ..\source\function\BPAINT.C 286: Nonportable pointer conversion in function HB_FUN_SBTNPAINT
if( ( bV22 ? hBitMap1 : LOWORD( hBitMap1 ) ) ) //linea 286
Error E2349 ..\source\function\BPAINT.C 296: Nonportable pointer conversion in function HB_FUN_SBTNPAINT
DrawBitmap( hDC, ( bV22 ? hBitMap1 : LOWORD( hBitMap1 ) ), nTop, //linea 296
nLeft - ( ibmWidth * ( iClip - 1 ) ), 0, 0, 0 ) ;
Error E2349 ..\source\function\BPAINT.C 299: Nonportable pointer conversion in function HB_FUN_SBTNPAINT
DrawBitmap( hDC, ( bV22 ? hBitMap1 : LOWORD( hBitMap1 ) ), nTop, nLeft, //linea 299
( bAdjust ? nWidth - 2 : 0 ), ( bAdjust ? nHeight - 2 : 0 ), 0 ) ;
Error E2349 ..\source\function\BPAINT.C 305: Nonportable pointer conversion in function HB_FUN_SBTNPAINT
DrawMasked( hDC, ( bV22 ? hBitMap1 : LOWORD( hBitMap1 ) ), nTop, //linea 305
nLeft - ( ibmWidth * ( iClip - 1 ) ) ) ;
Error E2349 ..\source\function\BPAINT.C 308: Nonportable pointer conversion in function HB_FUN_SBTNPAINT
DrawMasked( hDC, ( bV22 ? hBitMap1 : LOWORD( hBitMap1 ) ), nTop, nLeft ) ; //linea 308
Warning W8065 ..\source\function\BPAINT.C 1016: Call to function 'GetTextExtent' with no prototype in function HB_FUN_DRAWRADIO
iExt = LOWORD( GetTextExtent( hDC, cText, iLen ) ) ; //linea 1016
Warning W8065 ..\source\function\BPAINT.C 1392: Call to function 'GetTextExtent' with no prototype in function cDrawBoxes
iWidth = LOWORD( GetTextExtent( hDC, cLabel, iLen ) ) ;//linea 1392
*** 7 errors in Compile ***