compiling tsbutton with fwpp

compiling tsbutton with fwpp

Postby Silvio » Tue Aug 19, 2008 7:35 am

I renamed bpant.c into bpaintce.c

then i try to compiling and it make error
it not found these file H


c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(7) : fatal error C1083:
Cannot open include file: 'ClipApi.h': No such file or directory

the same for WinTen.h

then if I rem this lines

//#include <WinTen.h> /* set your own path if needed */
#include <Windows.h>
//#include <ClipApi.h> /* set your own path if needed */
#include <StdLib.h>


the compilator give me these errors

Code: Select all  Expand view
[1]:clarm.Exe -W3 -c -D__HARBOUR__ -DHB_API_MACROS -DHB_FM_STATISTICS_OFF /DARM /DUNICODE /IC:\work\LIB_32\TSBUTTON_6\INCLUDE;C:\work\FWPPC\INCLUDE -IC:\Work\HARBOU~1\Include /IC:\Work\Vce\Include\ARM /FoObj\BPAINTCE.Obj FUNCTION\BPAINTCE.C
Microsoft (R) C/C++ Optimizing Compiler Version 12.20.9615 for ARM
Copyright (C) Microsoft Corp 1984-2002. All rights reserved.

BPAINTCE.C
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(33) : error C2061: syntax error : identifier 'HB_FUN_SBTNPAINT'
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(33) : error C2059: syntax error : ';'
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(35) : error C2054: expected '(' to follow 'PARAMS'
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(655) : warning C4013: 'MoveTo' undefined; assuming extern returning int
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(783) : error C2061: syntax error : identifier 'HB_FUN_MAKESEPARATOR'
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(783) : error C2059: syntax error : ';'
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(785) : error C2054: expected '(' to follow 'PARAMS'
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(804) : error C2061: syntax error : identifier 'HB_FUN_SBTNLINE'
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(804) : error C2059: syntax error : ';'
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(806) : error C2054: expected '(' to follow 'PARAMS'
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(916) : warning C4244: '=' : conversion from 'int ' to 'float ', possible loss of data
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(920) : warning C4013: 'CreateBrushIndirect' undefined; assuming extern returning int
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(920) : warning C4047: '=' : 'struct HBRUSH__ *' differs in levels of indirection from 'int '
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(930) : warning C4244: 'function' : conversion from 'float ' to 'int ', possible loss of data
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(930) : warning C4244: '=' : conversion from 'int ' to 'float ', possible loss of data
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(931) : warning C4244: 'function' : conversion from 'float ' to 'int ', possible loss of data
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(931) : warning C4244: '=' : conversion from 'int ' to 'float ', possible loss of data
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(932) : warning C4244: 'function' : conversion from 'float ' to 'int ', possible loss of data
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(932) : warning C4244: '=' : conversion from 'int ' to 'float ', possible loss of data
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1035) : warning C4047: '=' : 'struct HBRUSH__ *' differs in levels of indirection from 'int '
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1098) : warning C4047: '=' : 'struct HBRUSH__ *' differs in levels of indirection from 'int '
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1121) : warning C4013: 'Arc' undefined; assuming extern returning int
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1138) : error C2061: syntax error : identifier 'HB_FUN_DRAWRADIO'
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1138) : error C2059: syntax error : ';'
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1140) : error C2054: expected '(' to follow 'PARAMS'
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1456) : error C2061: syntax error : identifier 'HB_FUN_DRAWBOXES'
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1456) : error C2059: syntax error : ';'
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1458) : error C2054: expected '(' to follow 'PARAMS'
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1484) : error C2061: syntax error : identifier 'HB_FUN_DARKCOLOR'
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1484) : error C2059: syntax error : ';'
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1486) : error C2054: expected '(' to follow 'PARAMS'
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1495) : error C2061: syntax error : identifier 'HB_FUN_GETFONTHEIGHT'
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1495) : error C2059: syntax error : ';'
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1497) : error C2054: expected '(' to follow 'PARAMS'
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1516) : error C2061: syntax error : identifier 'HB_FUN_DRAWRECTDOTTED'
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1516) : error C2059: syntax error : ';'
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1518) : error C2054: expected '(' to follow 'PARAMS'
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1539) : error C2061: syntax error : identifier 'HB_FUN_SBARNEW'
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1539) : error C2059: syntax error : ';'
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1541) : error C2054: expected '(' to follow 'PARAMS'
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1602) : warning C4013: '_parclen' undefined; assuming extern returning int
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1609) : warning C4244: 'function' : conversion from 'const double ' to 'int ', possible loss of data
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1621) : warning C4047: '=' : 'struct HBRUSH__ *' differs in levels of indirection from 'int '
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1669) : warning C4133: 'function' : incompatible types - from 'char *' to 'const unsigned short *'
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1675) : warning C4013: 'CreatePolygonRgn' undefined; assuming extern returning int
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1675) : error C2065: 'ALTERNATE' : undeclared identifier
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1675) : warning C4047: '=' : 'struct HRGN__ *' differs in levels of indirection from 'int '
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1835) : error C2061: syntax error : identifier 'HB_FUN_DRAWLIMIT'
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1835) : error C2059: syntax error : ';'
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1837) : error C2054: expected '(' to follow 'PARAMS'
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1864) : warning C4244: 'initializing' : conversion from 'long ' to 'float ', possible loss of data
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1882) : warning C4244: 'function' : conversion from 'float ' to 'int ', possible loss of data
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1882) : warning C4244: '=' : conversion from 'int ' to 'float ', possible loss of data
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1883) : warning C4244: 'function' : conversion from 'float ' to 'int ', possible loss of data
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1883) : warning C4244: '=' : conversion from 'int ' to 'float ', possible loss of data
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1884) : warning C4244: 'function' : conversion from 'float ' to 'int ', possible loss of data
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1884) : warning C4244: '=' : conversion from 'int ' to 'float ', possible loss of data
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1979) : error C2061: syntax error : identifier 'HB_FUN_GRADCOLOR'
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1979) : error C2059: syntax error : ';'
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1981) : error C2054: expected '(' to follow 'PARAMS'

Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Postby Antonio Linares » Tue Aug 19, 2008 8:50 am

Silvio,

What source code do you have here ?

bpaintce.c(33)
regards, saludos

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

Postby Silvio » Tue Aug 19, 2008 9:23 am

Irenamed bpaint.c of mercado into bpaintce.c
on line 33 i have
HARBOUR HB_FUN_SBTNPAINT(PARAMS)
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Postby Antonio Linares » Tue Aug 19, 2008 9:28 am

Change it into:

HB_FUNC( SBTNPAINT )

and also add:

#include <hbapi.h>

at the beginning of the C module
regards, saludos

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

Postby Silvio » Tue Aug 19, 2008 9:37 am

it non compile there are many errors
but if you can compile it can you send me your vers?
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Postby Antonio Linares » Tue Aug 19, 2008 9:42 am

What new errors do you have ?
regards, saludos

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

Postby Silvio » Tue Aug 19, 2008 9:54 am

1 error and 66 warnings
now i cannot show the error I use xmate and the output window is wrong
tell me a batch file to compile it for a lib please
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Postby Silvio » Tue Aug 19, 2008 1:04 pm

Antonio, here the new errors :

Code: Select all  Expand view

Progetto: BUTTON6CE, Ambiente: FWPPC:
[1]:Harbour.Exe TSTSAY.PRG  /m /n /es /iC:\work\FWPPC\INCLUDE;C:\work\LIB_32\TSBUTTON_6\INCLUDE /ic:\work\fwppc\include;C:\Work\HARBOU~1\include /d__HARBOUR__ /dHB_API_MACROS /dHB_FM_STATISTICS_OFF /oObj\TSTSAY.c
Harbour devel build 1.1-1 Intl.
Copyright 1999-2007, http://www.harbour-project.org/
Compiling 'TSTSAY.PRG'...
Lines 4445, Functions/Procedures 9
Generating C source output to 'Obj\TSTSAY.c'... Done.
[1]:clarm.Exe -W3 -c -D__HARBOUR__ -DHB_API_MACROS -DHB_FM_STATISTICS_OFF /DARM /DUNICODE /IC:\work\FWPPC\INCLUDE;C:\work\LIB_32\TSBUTTON_6\INCLUDE -IC:\Work\HARBOU~1\Include /IC:\Work\Vce\Include\ARM /FoTSTSAY.Obj TSTSAY.c
Microsoft (R) C/C++ Optimizing Compiler Version 12.20.9615 for ARM
Copyright (C) Microsoft Corp 1984-2002. All rights reserved.

TSTSAY.c
[1]:Harbour.Exe TSBAR.PRG  /m /n /es /iC:\work\FWPPC\INCLUDE;C:\work\LIB_32\TSBUTTON_6\INCLUDE /ic:\work\fwppc\include;C:\Work\HARBOU~1\include /d__HARBOUR__ /dHB_API_MACROS /dHB_FM_STATISTICS_OFF /oObj\TSBAR.c
Harbour devel build 1.1-1 Intl.
Copyright 1999-2007, http://www.harbour-project.org/
Compiling 'TSBAR.PRG'...
Lines 4431, Functions/Procedures 21
Generating C source output to 'Obj\TSBAR.c'... Done.
[1]:clarm.Exe -W3 -c -D__HARBOUR__ -DHB_API_MACROS -DHB_FM_STATISTICS_OFF /DARM /DUNICODE /IC:\work\FWPPC\INCLUDE;C:\work\LIB_32\TSBUTTON_6\INCLUDE -IC:\Work\HARBOU~1\Include /IC:\Work\Vce\Include\ARM /FoTSBAR.Obj TSBAR.c
Microsoft (R) C/C++ Optimizing Compiler Version 12.20.9615 for ARM
Copyright (C) Microsoft Corp 1984-2002. All rights reserved.

TSBAR.c
[1]:Harbour.Exe TSBUTTON.PRG  /m /n /es /iC:\work\FWPPC\INCLUDE;C:\work\LIB_32\TSBUTTON_6\INCLUDE /ic:\work\fwppc\include;C:\Work\HARBOU~1\include /d__HARBOUR__ /dHB_API_MACROS /dHB_FM_STATISTICS_OFF /oObj\TSBUTTON.c
Harbour devel build 1.1-1 Intl.
Copyright 1999-2007, http://www.harbour-project.org/
Compiling 'TSBUTTON.PRG'...
Lines 6037, Functions/Procedures 40
Generating C source output to 'Obj\TSBUTTON.c'... Done.
[1]:clarm.Exe -W3 -c -D__HARBOUR__ -DHB_API_MACROS -DHB_FM_STATISTICS_OFF /DARM /DUNICODE /IC:\work\FWPPC\INCLUDE;C:\work\LIB_32\TSBUTTON_6\INCLUDE -IC:\Work\HARBOU~1\Include /IC:\Work\Vce\Include\ARM /FoTSBUTTON.Obj TSBUTTON.c
Microsoft (R) C/C++ Optimizing Compiler Version 12.20.9615 for ARM
Copyright (C) Microsoft Corp 1984-2002. All rights reserved.

TSBUTTON.c
TSBUTTON.PRG(2548) : warning C4013: 'hb_parnl' undefined; assuming extern returning int
TSBUTTON.PRG(2549) : warning C4013: 'hb_parni' undefined; assuming extern returning int
TSBUTTON.PRG(2551) : warning C4013: 'MulDiv' undefined; assuming extern returning int
TSBUTTON.PRG(2555) : warning C4013: 'hb_retnl' undefined; assuming extern returning int
[1]:Harbour.Exe TSLINES.PRG  /m /n /es /iC:\work\FWPPC\INCLUDE;C:\work\LIB_32\TSBUTTON_6\INCLUDE /ic:\work\fwppc\include;C:\Work\HARBOU~1\include /d__HARBOUR__ /dHB_API_MACROS /dHB_FM_STATISTICS_OFF /oObj\TSLINES.c
Harbour devel build 1.1-1 Intl.
Copyright 1999-2007, http://www.harbour-project.org/
Compiling 'TSLINES.PRG'...
Lines 3738, Functions/Procedures 6
Generating C source output to 'Obj\TSLINES.c'... Done.
[1]:clarm.Exe -W3 -c -D__HARBOUR__ -DHB_API_MACROS -DHB_FM_STATISTICS_OFF /DARM /DUNICODE /IC:\work\FWPPC\INCLUDE;C:\work\LIB_32\TSBUTTON_6\INCLUDE -IC:\Work\HARBOU~1\Include /IC:\Work\Vce\Include\ARM /FoTSLINES.Obj TSLINES.c
Microsoft (R) C/C++ Optimizing Compiler Version 12.20.9615 for ARM
Copyright (C) Microsoft Corp 1984-2002. All rights reserved.

TSLINES.c
[1]:Harbour.Exe TSRADIO.PRG  /m /n /es /iC:\work\FWPPC\INCLUDE;C:\work\LIB_32\TSBUTTON_6\INCLUDE /ic:\work\fwppc\include;C:\Work\HARBOU~1\include /d__HARBOUR__ /dHB_API_MACROS /dHB_FM_STATISTICS_OFF /oObj\TSRADIO.c
Harbour devel build 1.1-1 Intl.
Copyright 1999-2007, http://www.harbour-project.org/
Compiling 'TSRADIO.PRG'...
Lines 5100, Functions/Procedures 30
Generating C source output to 'Obj\TSRADIO.c'... Done.
[1]:clarm.Exe -W3 -c -D__HARBOUR__ -DHB_API_MACROS -DHB_FM_STATISTICS_OFF /DARM /DUNICODE /IC:\work\FWPPC\INCLUDE;C:\work\LIB_32\TSBUTTON_6\INCLUDE -IC:\Work\HARBOU~1\Include /IC:\Work\Vce\Include\ARM /FoTSRADIO.Obj TSRADIO.c
Microsoft (R) C/C++ Optimizing Compiler Version 12.20.9615 for ARM
Copyright (C) Microsoft Corp 1984-2002. All rights reserved.

TSRADIO.c
[1]:clarm.Exe -W3 -c -D__HARBOUR__ -DHB_API_MACROS -DHB_FM_STATISTICS_OFF /DARM /DUNICODE /IC:\work\FWPPC\INCLUDE;C:\work\LIB_32\TSBUTTON_6\INCLUDE -IC:\Work\HARBOU~1\Include /IC:\Work\Vce\Include\ARM /FoC:\work\LIB_32\TSBUTTON_6\SOURCE\CLASSES\Obj\BPAINTCE.Obj BPAINTCE.C
Microsoft (R) C/C++ Optimizing Compiler Version 12.20.9615 for ARM
Copyright (C) Microsoft Corp 1984-2002. All rights reserved.

BPAINTCE.C
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(38) : warning C4013: '_parnl' undefined; assuming extern returning int
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(40) : warning C4013: '_parl' undefined; assuming extern returning int
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(42) : warning C4013: '_parc' undefined; assuming extern returning int
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(42) : warning C4047: 'initializing' : 'char *' differs in levels of indirection from 'int '
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(43) : warning C4013: '_parni' undefined; assuming extern returning int
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(61) : warning C4013: 'ISLOGICAL' undefined; assuming extern returning int
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(98) : warning C4244: '=' : conversion from 'long ' to 'unsigned short ', possible loss of data
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(185) : warning C4013: 'CreateRoundRectRgn' undefined; assuming extern returning int
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(185) : warning C4047: '=' : 'struct HRGN__ *' differs in levels of indirection from 'int '
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(204) : warning C4047: '=' : 'struct HRGN__ *' differs in levels of indirection from 'int '
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(211) : warning C4047: '=' : 'struct HRGN__ *' differs in levels of indirection from 'int '
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(254) : warning C4047: '=' : 'struct HRGN__ *' differs in levels of indirection from 'int '
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(285) : warning C4013: 'CreateEllipticRgn' undefined; assuming extern returning int
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(285) : warning C4047: '=' : 'struct HRGN__ *' differs in levels of indirection from 'int '
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(287) : warning C4047: '=' : 'struct HRGN__ *' differs in levels of indirection from 'int '
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(398) : warning C4244: '=' : conversion from 'long ' to 'unsigned short ', possible loss of data
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(503) : warning C4244: '=' : conversion from 'long ' to 'unsigned short ', possible loss of data
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(587) : warning C4133: 'function' : incompatible types - from 'char *' to 'const unsigned short *'
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(595) : warning C4133: 'function' : incompatible types - from 'char *' to 'const unsigned short *'
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(605) : warning C4133: 'function' : incompatible types - from 'char *' to 'const unsigned short *'
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(629) : warning C4133: 'function' : incompatible types - from 'char *' to 'const unsigned short *'
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(87) : warning C4101: 'hBmOld1' : unreferenced local variable
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(75) : warning C4101: 'bs' : unreferenced local variable
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(87) : warning C4101: 'hBmOld2' : unreferenced local variable
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(86) : warning C4101: 'lpBits' : unreferenced local variable
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(72) : warning C4101: 'lb' : unreferenced local variable
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(87) : warning C4101: 'hMask' : unreferenced local variable
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(82) : warning C4101: 'mDC' : unreferenced local variable
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(85) : warning C4101: 'pt' : unreferenced local variable
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(82) : warning C4101: 'nDC' : unreferenced local variable
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(657) : warning C4013: 'MoveTo' undefined; assuming extern returning int
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(652) : warning C4101: 'pt' : unreferenced local variable
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(918) : warning C4244: '=' : conversion from 'int ' to 'float ', possible loss of data
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(922) : warning C4013: 'CreateBrushIndirect' undefined; assuming extern returning int
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(922) : warning C4047: '=' : 'struct HBRUSH__ *' differs in levels of indirection from 'int '
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(932) : warning C4244: 'function' : conversion from 'float ' to 'int ', possible loss of data
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(932) : warning C4244: '=' : conversion from 'int ' to 'float ', possible loss of data
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(933) : warning C4244: 'function' : conversion from 'float ' to 'int ', possible loss of data
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(933) : warning C4244: '=' : conversion from 'int ' to 'float ', possible loss of data
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(934) : warning C4244: 'function' : conversion from 'float ' to 'int ', possible loss of data
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(934) : warning C4244: '=' : conversion from 'int ' to 'float ', possible loss of data
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1037) : warning C4047: '=' : 'struct HBRUSH__ *' differs in levels of indirection from 'int '
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1100) : warning C4047: '=' : 'struct HBRUSH__ *' differs in levels of indirection from 'int '
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1123) : warning C4013: 'Arc' undefined; assuming extern returning int
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1146) : warning C4047: 'initializing' : 'char *' differs in levels of indirection from 'int '
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1189) : warning C4013: '_parclen' undefined; assuming extern returning int
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1194) : warning C4047: '=' : 'struct HBRUSH__ *' differs in levels of indirection from 'int '
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1392) : warning C4133: 'function' : incompatible types - from 'char *' to 'const unsigned short *'
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1400) : warning C4133: 'function' : incompatible types - from 'char *' to 'const unsigned short *'
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1408) : warning C4133: 'function' : incompatible types - from 'char *' to 'const unsigned short *'
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1414) : warning C4133: 'function' : incompatible types - from 'char *' to 'const unsigned short *'
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1465) : warning C4047: 'initializing' : 'char *' differs in levels of indirection from 'int '
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1489) : warning C4013: '_retnl' undefined; assuming extern returning int
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1509) : warning C4013: '_retni' undefined; assuming extern returning int
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1611) : warning C4244: 'function' : conversion from 'const double ' to 'int ', possible loss of data
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1623) : warning C4047: '=' : 'struct HBRUSH__ *' differs in levels of indirection from 'int '
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1671) : warning C4133: 'function' : incompatible types - from 'char *' to 'const unsigned short *'
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1677) : warning C4013: 'CreatePolygonRgn' undefined; assuming extern returning int
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1677) : error C2065: 'ALTERNATE' : undeclared identifier
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1677) : warning C4047: '=' : 'struct HRGN__ *' differs in levels of indirection from 'int '
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1866) : warning C4244: 'initializing' : conversion from 'long ' to 'float ', possible loss of data
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1884) : warning C4244: 'function' : conversion from 'float ' to 'int ', possible loss of data
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1884) : warning C4244: '=' : conversion from 'int ' to 'float ', possible loss of data
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1885) : warning C4244: 'function' : conversion from 'float ' to 'int ', possible loss of data
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1885) : warning C4244: '=' : conversion from 'int ' to 'float ', possible loss of data
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1886) : warning C4244: 'function' : conversion from 'float ' to 'int ', possible loss of data
c:\work\lib_32\tsbutton_6\source\function\bpaintce.c(1886) : warning C4244: '=' : conversion from 'int ' to 'float ', possible loss of data
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy


Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 30 guests