ttaskpanel 64

Post Reply
User avatar
Patricio Avalos Aguirre
Posts: 1070
Joined: Fri Oct 07, 2005 1:56 pm
Location: La Serena, Chile
Contact:

ttaskpanel 64

Post by Patricio Avalos Aguirre »

Estimad@s

consulta alguien tiene la libreria tTaskPanel de Andres reyes funcionando en borland 64bit
al compilar me salen errores en las cabeceras stdafx.h y stdafx.h estos archivos estan en la carpeta include

Code: Select all | Expand

In file included from source\c_themeaux.c:50:
source/stdafx.h:49:9: warning: '__STDAFX_H__' is used as a header guard here, followed by #define of a different macro
      [-Wheader-guard]
#ifndef __STDAFX_H__
        ^~~~~~~~~~~~
source/stdafx.h:50:9: note: '__STADFX_H__' is defined here; did you mean '__STDAFX_H__'?
#define __STADFX_H__
        ^~~~~~~~~~~~
        __STDAFX_H__
source\c_themeaux.c:492:7: warning: implicit declaration of function 'ISCHAR' is invalid in C99
      [-Wimplicit-function-declaration]
  if( ISCHAR(1) )
      ^
source\c_themeaux.c:498:25: warning: implicit declaration of function 'ISNUM' is invalid in C99
      [-Wimplicit-function-declaration]
  else if( ISCHAR(2) || ISNUM(2) )
                        ^
source\c_themeaux.c:500:20: warning: cast to 'HINSTANCE' (aka 'struct HINSTANCE__ *') from smaller integer type 'long'
      [-Wint-to-pointer-cast]
    hInstance    = (HINSTANCE) hb_parnl(1);
                   ^
source\c_themeaux.c:528:20: warning: cast to 'HWND' (aka 'struct HWND__ *') from smaller integer type 'long'
      [-Wint-to-pointer-cast]
   SetScrollRange( ( HWND ) hb_parnl( 1 ),
                   ^
5 warnings generated.
source\c_dibbmp.c:
In file included from source\c_themegdi.c:50:
source/stdafx.h:49:9: warning: '__STDAFX_H__' is used as a header guard here, followed by #define of a different macro
      [-Wheader-guard]
#ifndef __STDAFX_H__
        ^~~~~~~~~~~~
source/stdafx.h:50:9: note: '__STADFX_H__' is defined here; did you mean '__STDAFX_H__'?
#define __STADFX_H__
        ^~~~~~~~~~~~
        __STDAFX_H__
source\c_themegdi.c:172:28: warning: cast to 'HDC' (aka 'struct HDC__ *') from smaller integer type 'long'
      [-Wint-to-pointer-cast]
   HDC               hdc = (HDC) hb_parnl(1);
                           ^
source\c_themegdi.c:173:32: warning: cast to 'HBITMAP' (aka 'struct HBITMAP__ *') from smaller integer type 'long'
      [-Wint-to-pointer-cast]
   HBITMAP           hBitmap = (HBITMAP) hb_parnl(6);
                               ^
source\c_themegdi.c:210:23: warning: cast to 'HWND' (aka 'struct HWND__ *') from smaller integer type 'long'
      [-Wint-to-pointer-cast]
   HWND        hWnd = (HWND) hb_parnl(1);
                      ^
source\c_themegdi.c:269:22: warning: cast to 'PTHEMEINFO' (aka 'THEMEINFO *') from smaller integer type 'long'
      [-Wint-to-pointer-cast]
   PTHEMEINFO pti  = (PTHEMEINFO) hb_parnl(1);
                     ^
source\c_themegdi.c:270:22: warning: cast to 'HWND' (aka 'struct HWND__ *') from smaller integer type 'long'
      [-Wint-to-pointer-cast]
   HWND       hWnd = (HWND) hb_parnl(2);
Saludos
Patricio

__________________________________________________________________
Version: Harbour 3.2.0dev (r1307082134),Compiler: Borland C++ 5.8.2 (32-bit)
PCode version: 0.3, FWH 13.2
http://www.sialm.cl
User avatar
Antonio Linares
Site Admin
Posts: 42836
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 169 times
Been thanked: 123 times
Contact:

Re: ttaskpanel 64

Post by Antonio Linares »

Patricio,

Cambia todos esos _parni( ... ) a _parnll( ... ) (DOBLE L)
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply