TSButton 7.0

TSButton 7.0

Postby mmercado » Tue Sep 15, 2009 10:12 am

Hello Friends:

As I promissed I'm releasing the Version 7.0 of my TSButton class.

Among several improvements TSButton includes the use of Alpha Channel Bitmaps.

Also with this version, youll find a new library Sbuttonp.lib to use TSButton with FWPPC. This is a screen shot of a sample program included in \TSButton\Samples:
Image

You can download the programs from here:
http://www.box.net/shared/9vyw4zeo0k

To build SButtonP.lib use FWPPC.BAT in \TSButton\Lib. To build Tickets.exe sample for FWPPC use buildce.bat in \TSButton\Samples.

It's important in buildce.bat this line:
IF EXIST %1.rc %vcdir%\bin\rc -r -d_CE -d__FLAT__ %1

Those flags are necessary to compile Alpha Channel Bitmaps in your resources .rc. file.

I hope you find in TSButton V.7.0 a useful tool.

Best regards.

Manuel Mercado Gomez.
manuelmercado at prodigy dot net dot mx
User avatar
mmercado
 
Posts: 782
Joined: Wed Dec 19, 2007 7:50 am
Location: Salamanca, Gto., México

Re: TSButton 7.0

Postby richard-service » Tue Sep 15, 2009 3:55 pm

Hi Manuel

Look great.
But I got this error

tstsay.c
l:\fwppc\include\clipapi.h(621) : fatal error C1083: Cannot open include file: 'fwce.h': No such file or directory
bpaint.c
l:\fwppc\include\clipapi.h(621) : fatal error C1083: Cannot open include file: 'fwce.h': No such file or directory


I found it

#ifdef UNICODE
#include <fwce.h>
#endif

change

#ifdef UNICODE
#include <fwce.ch>
#endif

and got this error

tstsay.c
l:\fwppc\include\colors.ch(6) : fatal error C1021: invalid preprocessor command 'translate'
bpaint.c
l:\fwppc\include\colors.ch(6) : fatal error C1021: invalid preprocessor command 'translate'


I need your help.

Regards,

Richard
Best Regards,

Richard

Harbour 3.2.0dev (r2402101027) => Borland C++ v7.7 32bit
MySQL v8.0 /ADS v10
Harbour 3.2.0dev (r2011030937) => Borland C++ v7.4 64bit
User avatar
richard-service
 
Posts: 804
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan

Re: TSButton 7.0

Postby mmercado » Tue Sep 15, 2009 10:39 pm

richard-service wrote:But I got this error
tstsay.c
l:\fwppc\include\clipapi.h(621) : fatal error C1083: Cannot open include file: 'fwce.h': No such file or directory
bpaint.c
l:\fwppc\include\clipapi.h(621) : fatal error C1083: Cannot open include file: 'fwce.h': No such file or directory

Richard:

Try to build the library SButtonP.lib in a clean (new) console window, if you have called buildce.bat before, it changes the paths for "include" and "lib" environment variables. Please let me know the results.

Best regards.

Manuel Mercado Gomez.
manuelmercado at prodigy dot net dot mx
User avatar
mmercado
 
Posts: 782
Joined: Wed Dec 19, 2007 7:50 am
Location: Salamanca, Gto., México

Re: TSButton 7.0

Postby richard-service » Tue Sep 15, 2009 11:49 pm

mmercado wrote:
richard-service wrote:But I got this error
tstsay.c
l:\fwppc\include\clipapi.h(621) : fatal error C1083: Cannot open include file: 'fwce.h': No such file or directory
bpaint.c
l:\fwppc\include\clipapi.h(621) : fatal error C1083: Cannot open include file: 'fwce.h': No such file or directory

Richard:

Try to build the library SButtonP.lib in a clean (new) console window, if you have called buildce.bat before, it changes the paths for "include" and "lib" environment variables. Please let me know the results.

Best regards.

Manuel Mercado Gomez.


Hi Manuel,

I think my environment no problem.
If problem, compile fwppc\sample or your Tsbutton, tsline prg not work.

Regards,

Richard
Best Regards,

Richard

Harbour 3.2.0dev (r2402101027) => Borland C++ v7.7 32bit
MySQL v8.0 /ADS v10
Harbour 3.2.0dev (r2011030937) => Borland C++ v7.4 64bit
User avatar
richard-service
 
Posts: 804
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan

Re: TSButton 7.0

Postby Silvio » Wed Sep 16, 2009 9:23 pm

Manuel I compiled with your fwppc.bat

but sbpaint.c not is compiled

Code: Select all  Expand view  RUN
SET INCLUDE=C:\work\FWPPC\INCLUDE;C:\work\Harbour_ce\INCLUDE;C:\work\VCE\INCLUDE\ARM;C:\work\FWH\INCLUDE
c:\work\Harbour_ce\bin\harbour C:\work\LIB_32\TSBUTTON_70\TSBUTTON\SOURCE\FWPPC\CLASSES\tsbutton.prg /n /p > harb.log
c:\work\Harbour_ce\bin\harbour C:\work\LIB_32\TSBUTTON_70\TSBUTTON\SOURCE\FWPPC\CLASSES\tslines.prg /n /p >> harb.log
c:\work\Harbour_ce\bin\harbour C:\work\LIB_32\TSBUTTON_70\TSBUTTON\SOURCE\FWPPC\CLASSES\tsradio.prg /n /p >> harb.log
c:\work\Harbour_ce\bin\harbour C:\work\LIB_32\TSBUTTON_70\TSBUTTON\SOURCE\FWPPC\CLASSES\tstsay.prg /n /p >> harb.log
c:\work\vce\bin\clarm -W3 -c /DARM /DUNICODE /Ic:\work\vce\include\arm;c:\work\fwppc\include;c:\work\Harbour_ce\include tsbutton.c > comp.log
c:\work\vce\bin\clarm -W3 -c /DARM /DUNICODE /Ic:\work\vce\include\arm;c:\work\fwppc\include;c:\work\Harbour_ce\include tslines.c >> comp.log
c:\work\vce\bin\clarm -W3 -c /DARM /DUNICODE /Ic:\work\vce\include\arm;c:\work\fwppc\include;c:\work\Harbour_ce\include tsradio.c >> comp.log
c:\work\vce\bin\clarm -W3 -c /DARM /DUNICODE /Ic:\work\vce\include\arm;c:\work\fwppc\include;c:\work\Harbour_ce\include tstsay.c >> comp.log
c:\work\vce\bin\clarm -W3 -c /DARM /DUNICODE /D__FLAT__ /D__HARBOUR__ /Ic:\work\vce\include\arm;c:\work\fwppc\include;c:\work\Harbour_ce\include C:\work\LIB_32\TSBUTTON_70\TSBUTTON\SOURCE\FWPPC\function\bpaint.c >> comp.log
Del SButtonP.lib
c:\work\vce\bin\lib /out:SButtonP.lib /MACHINE:ARM tsbutton.obj > Lib.log
c:\work\vce\bin\lib SButtonP.lib /MACHINE:ARM TSLines.obj       >> Lib.log
c:\work\vce\bin\lib SButtonP.lib /MACHINE:ARM TSRadio.obj       >> Lib.log
c:\work\vce\bin\lib SButtonP.lib /MACHINE:ARM TStSay.obj        >> Lib.log
c:\work\vce\bin\lib SButtonP.lib /MACHINE:ARM bPaint.obj        >> Lib.log
 






comp.txt

tsbutton.c
tslines.c
tsradio.c
tstsay.c
c:\work\lib_32\tsbutton_70\tsbutton\lib\tstsay.c(3066) : warning C4129: 'w' : unrecognized character escape sequence
c:\work\lib_32\tsbutton_70\tsbutton\lib\tstsay.c(3066) : warning C4129: 'L' : unrecognized character escape sequence
c:\work\lib_32\tsbutton_70\tsbutton\lib\tstsay.c(3066) : warning C4129: 'T' : unrecognized character escape sequence
c:\work\lib_32\tsbutton_70\tsbutton\lib\tstsay.c(3066) : warning C4129: 'T' : unrecognized character escape sequence
c:\work\lib_32\tsbutton_70\tsbutton\lib\tstsay.c(3066) : warning C4129: 'S' : unrecognized character escape sequence
c:\work\lib_32\tsbutton_70\tsbutton\lib\tstsay.c(3066) : warning C4129: 'F' : unrecognized character escape sequence
c:\work\lib_32\tsbutton_70\tsbutton\lib\tstsay.c(3066) : warning C4129: 'C' : unrecognized character escape sequence
c:\work\fwppc\include\clipapi.h(621) : fatal error C1083: Cannot open include file: 'fwce.h': No such file or directory
bpaint.c
c:\work\fwppc\include\clipapi.h(621) : fatal error C1083: Cannot open include file: 'fwce.h': No such file or directory




harb.txt

Harbour devel build 1.1-1 Intl.
Copyright 1999-2007, http://www.harbour-project.org/
Compiling 'C:\work\LIB_32\TSBUTTON_70\TSBUTTON\SOURCE\FWPPC\CLASSES\tsbutton.prg' and generating preprocessed output to 'C:\work\LIB_32\TSBUTTON_70\TSBUTTON\SOURCE\FWPPC\CLASSES\tsbutton.ppo'...

100

100

100

200

300

400

500

100

200

100

200

100

200

300

400

500

600

700

800

900

1000

1100

1200

1300

1400

1500

1600

100

200

300

400

500

600

700

800

900

1000

1100

1200

1300

1400

1500

1600

1700

1800

1900

2000

2100

2200

2300

2400

2500

Lines 6121, Functions/Procedures 45
Generating C source output to 'tsbutton.c'... Done.
Harbour devel build 1.1-1 Intl.
Copyright 1999-2007, http://www.harbour-project.org/
Compiling 'C:\work\LIB_32\TSBUTTON_70\TSBUTTON\SOURCE\FWPPC\CLASSES\tslines.prg' and generating preprocessed output to 'C:\work\LIB_32\TSBUTTON_70\TSBUTTON\SOURCE\FWPPC\CLASSES\tslines.ppo'...

100

100

100

200

300

400

500

100

200

100

200

100

200

300

400

500

600

700

800

900

1000

1100

1200

1300

1400

1500

1600

100

200

Lines 3830, Functions/Procedures 6
Generating C source output to 'tslines.c'... Done.
Harbour devel build 1.1-1 Intl.
Copyright 1999-2007, http://www.harbour-project.org/
Compiling 'C:\work\LIB_32\TSBUTTON_70\TSBUTTON\SOURCE\FWPPC\CLASSES\tsradio.prg' and generating preprocessed output to 'C:\work\LIB_32\TSBUTTON_70\TSBUTTON\SOURCE\FWPPC\CLASSES\tsradio.ppo'...

100

100

100

200

300

400

500

100

200

100

200

100

200

300

400

500

600

700

800

900

1000

1100

1200

1300

1400

1500

1600

100

200

300

400

500

600

700

800

900

1000

1100

1200

1300

1400

1500

1600

Lines 5192, Functions/Procedures 30
Generating C source output to 'tsradio.c'... Done.
Harbour devel build 1.1-1 Intl.
Copyright 1999-2007, http://www.harbour-project.org/
Compiling 'C:\work\LIB_32\TSBUTTON_70\TSBUTTON\SOURCE\FWPPC\CLASSES\tstsay.prg' and generating preprocessed output to 'C:\work\LIB_32\TSBUTTON_70\TSBUTTON\SOURCE\FWPPC\CLASSES\tstsay.ppo'...

100

100

100

200

300

400

500

100

200

100

200

100

200

300

400

500

600

700

800

900

1000

1100

1200

1300

1400

1500

1600

100

200

300

400

100

200

300

400

500

600

Lines 4629, Functions/Procedures 9
Generating C source output to 'tstsay.c'... Done.


lib.txt

Microsoft (R) Library Manager Version 6.24.3077
Copyright (C) Microsoft Corporation. All rights reserved.

Microsoft (R) Library Manager Version 6.24.3077
Copyright (C) Microsoft Corporation. All rights reserved.

Microsoft (R) Library Manager Version 6.24.3077
Copyright (C) Microsoft Corporation. All rights reserved.

Microsoft (R) Library Manager Version 6.24.3077
Copyright (C) Microsoft Corporation. All rights reserved.

LIB : fatal error LNK1181: cannot open input file 'TStSay.obj'
Microsoft (R) Library Manager Version 6.24.3077
Copyright (C) Microsoft Corporation. All rights reserved.

LIB : fatal error LNK1181: cannot open input file 'bPaint.obj'
Best Regards, Saludos

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

Re: TSButton 7.0

Postby Silvio » Wed Sep 16, 2009 9:24 pm

I not have fwce.h on include folder of fwppc !!!!!!!!!!!!!!!!
Best Regards, Saludos

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

Re: TSButton 7.0

Postby dutch » Fri Sep 18, 2009 5:28 pm

Dear Manuel,

I've got error while build SBUTTONP.LIB as following but it has still created SBUTTONP.LIB. I try to build TICKETS and it compile successful and can execute in simulator WM6.1.
Will the following error be effected with the library?

Code: Select all  Expand view  RUN
tsbutton.c
tslines.c
tsradio.c
tstsay.c
d:\tsbutton\tsbutton70\source\fwppc\classes\tstsay.prg(598) : warning C4013: 'AnsiToWide' undefined; assuming extern returning int
d:\tsbutton\tsbutton70\source\fwppc\classes\tstsay.prg(598) : warning C4047: 'initializing' : 'unsigned short *' differs in levels of indirection from 'int '
d:\tsbutton\tsbutton70\source\fwppc\classes\tstsay.prg(609) : warning C4013: 'DrawTextEx' undefined; assuming extern returning int
d:\tsbutton\tsbutton70\source\fwppc\classes\tstsay.prg(596) : warning C4101: 'dwTxtW' : unreferenced local variable
bpaint.c
d:\tsbutton\tsbutton70\source\fwppc\function\bpaint.c(92) : warning C4013: 'AnsiToWide' undefined; assuming extern returning int
d:\tsbutton\tsbutton70\source\fwppc\function\bpaint.c(92) : warning C4047: 'initializing' : 'unsigned short *' differs in levels of indirection from 'int '
d:\tsbutton\tsbutton70\source\fwppc\function\bpaint.c(106) : warning C4244: '=' : conversion from 'long ' to 'unsigned short ', possible loss of data
d:\tsbutton\tsbutton70\source\fwppc\function\bpaint.c(388) : warning C4244: '=' : conversion from 'long ' to 'unsigned short ', possible loss of data
d:\tsbutton\tsbutton70\source\fwppc\function\bpaint.c(508) : warning C4244: '=' : conversion from 'long ' to 'unsigned short ', possible loss of data
d:\tsbutton\tsbutton70\source\fwppc\function\bpaint.c(593) : warning C4013: 'DrawTextEx' undefined; assuming extern returning int
d:\tsbutton\tsbutton70\source\fwppc\function\bpaint.c(82) : warning C4101: 'bs' : unreferenced local variable
d:\tsbutton\tsbutton70\source\fwppc\function\bpaint.c(96) : warning C4101: 'hBmOld2' : unreferenced local variable
d:\tsbutton\tsbutton70\source\fwppc\function\bpaint.c(95) : warning C4101: 'lpBits' : unreferenced local variable
d:\tsbutton\tsbutton70\source\fwppc\function\bpaint.c(96) : warning C4101: 'hMask' : unreferenced local variable
d:\tsbutton\tsbutton70\source\fwppc\function\bpaint.c(89) : warning C4101: 'mDC' : unreferenced local variable
d:\tsbutton\tsbutton70\source\fwppc\function\bpaint.c(94) : warning C4101: 'pt' : unreferenced local variable
d:\tsbutton\tsbutton70\source\fwppc\function\bpaint.c(89) : warning C4101: 'nDC' : unreferenced local variable
d:\tsbutton\tsbutton70\source\fwppc\function\bpaint.c(96) : warning C4101: 'hBmpNew' : unreferenced local variable
d:\tsbutton\tsbutton70\source\fwppc\function\bpaint.c(916) : warning C4244: '=' : conversion from 'int ' to 'float ', possible loss of data
d:\tsbutton\tsbutton70\source\fwppc\function\bpaint.c(929) : warning C4244: 'function' : conversion from 'float ' to 'int ', possible loss of data
d:\tsbutton\tsbutton70\source\fwppc\function\bpaint.c(929) : warning C4244: '=' : conversion from 'int ' to 'float ', possible loss of data
d:\tsbutton\tsbutton70\source\fwppc\function\bpaint.c(930) : warning C4244: 'function' : conversion from 'float ' to 'int ', possible loss of data
d:\tsbutton\tsbutton70\source\fwppc\function\bpaint.c(930) : warning C4244: '=' : conversion from 'int ' to 'float ', possible loss of data
d:\tsbutton\tsbutton70\source\fwppc\function\bpaint.c(931) : warning C4244: 'function' : conversion from 'float ' to 'int ', possible loss of data
d:\tsbutton\tsbutton70\source\fwppc\function\bpaint.c(931) : warning C4244: '=' : conversion from 'int ' to 'float ', possible loss of data
d:\tsbutton\tsbutton70\source\fwppc\function\bpaint.c(1112) : warning C4013: 'Arc' undefined; assuming extern returning int
d:\tsbutton\tsbutton70\source\fwppc\function\bpaint.c(1181) : warning C4047: 'initializing' : 'unsigned short *' differs in levels of indirection from 'int '
d:\tsbutton\tsbutton70\source\fwppc\function\bpaint.c(1384) : warning C4133: 'function' : incompatible types - from 'char *' to 'const unsigned short *'
d:\tsbutton\tsbutton70\source\fwppc\function\bpaint.c(1392) : warning C4133: 'function' : incompatible types - from 'char *' to 'const unsigned short *'
d:\tsbutton\tsbutton70\source\fwppc\function\bpaint.c(1400) : warning C4133: 'function' : incompatible types - from 'char *' to 'const unsigned short *'
d:\tsbutton\tsbutton70\source\fwppc\function\bpaint.c(1406) : warning C4133: 'function' : incompatible types - from 'char *' to 'const unsigned short *'
d:\tsbutton\tsbutton70\source\fwppc\function\bpaint.c(1177) : warning C4101: 'iExt' : unreferenced local variable
d:\tsbutton\tsbutton70\source\fwppc\function\bpaint.c(1603) : warning C4244: 'function' : conversion from 'const double ' to 'int ', possible loss of data
d:\tsbutton\tsbutton70\source\fwppc\function\bpaint.c(1608) : warning C4047: 'initializing' : 'unsigned short *' differs in levels of indirection from 'int '
d:\tsbutton\tsbutton70\source\fwppc\function\bpaint.c(1666) : warning C4133: 'function' : incompatible types - from 'char *' to 'const unsigned short *'
d:\tsbutton\tsbutton70\source\fwppc\function\bpaint.c(1596) : warning C4101: 'iWidth' : unreferenced local variable
d:\tsbutton\tsbutton70\source\fwppc\function\bpaint.c(1858) : warning C4244: 'initializing' : conversion from 'long ' to 'float ', possible loss of data
d:\tsbutton\tsbutton70\source\fwppc\function\bpaint.c(1876) : warning C4244: 'function' : conversion from 'float ' to 'int ', possible loss of data
d:\tsbutton\tsbutton70\source\fwppc\function\bpaint.c(1876) : warning C4244: '=' : conversion from 'int ' to 'float ', possible loss of data
d:\tsbutton\tsbutton70\source\fwppc\function\bpaint.c(1877) : warning C4244: 'function' : conversion from 'float ' to 'int ', possible loss of data
d:\tsbutton\tsbutton70\source\fwppc\function\bpaint.c(1877) : warning C4244: '=' : conversion from 'int ' to 'float ', possible loss of data
d:\tsbutton\tsbutton70\source\fwppc\function\bpaint.c(1878) : warning C4244: 'function' : conversion from 'float ' to 'int ', possible loss of data
d:\tsbutton\tsbutton70\source\fwppc\function\bpaint.c(1878) : warning C4244: '=' : conversion from 'int ' to 'float ', possible loss of data
d:\tsbutton\tsbutton70\source\fwppc\function\bpaint.c(2248) : warning C4101: 'bm' : unreferenced local variable
d:\tsbutton\tsbutton70\source\fwppc\function\bpaint.c(2269) : warning C4101: 'bm' : unreferenced local variable
d:\tsbutton\tsbutton70\source\fwppc\function\bpaint.c(1678) : warning C4700: local variable 'hRgn' used without having been initialized
 

Regards,
Dutch
Regards,
Dutch

FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
User avatar
dutch
 
Posts: 1543
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: TSButton 7.0

Postby mmercado » Sat Sep 19, 2009 3:30 am

Hello Dutch:
dutch wrote:I've got error while build SBUTTONP.LIB as following but it has still created SBUTTONP.LIB. I try to build TICKETS and it compile successful and can execute in simulator WM6.1.
Will the following error be effected with the library?

Those warnings don't affect program functionality. I'll depurate them later.

Best regards.

Manuel Mercado Gomez.
manuelmercado at prodigy dot net dot mx
User avatar
mmercado
 
Posts: 782
Joined: Wed Dec 19, 2007 7:50 am
Location: Salamanca, Gto., México

Re: TSButton 7.0

Postby Silvio » Sat Sep 19, 2009 7:21 am

ok but If we use W2 we cannot compile a test !!!
Best Regards, Saludos

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

Re: TSButton 7.0

Postby dutch » Mon Sep 21, 2009 3:36 am

Thanks Manuel,

I's wonderful library.

Regards,
Dutch
Regards,
Dutch

FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
User avatar
dutch
 
Posts: 1543
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: TSButton 7.0

Postby Silvio » Mon Sep 21, 2009 2:52 pm

Manuel I cannot compile tsbutton for fwppc
I have on a folder
work
and on it all
fwh
fwppc
harbour_ce
xharbour
vce
lib_32
xmate

on Lib_32 I have your files on tsbutton folder


I compile and make all with xmate with NO Problems

Now for your tsbutton I have several problems
I used also your bacth file but it not run ok
I not Know How create it




this you file batch modified

Code: Select all  Expand view  RUN
SET INCLUDE=C:\work\FWPPC\INCLUDE;C:\work\Harbour_ce\INCLUDE;C:\work\VCE\INCLUDE\ARM;C:\work\FWH\INCLUDE
c:\work\Harbour_ce\bin\harbour C:\work\LIB_32\TSBUTTON_70\TSBUTTON\SOURCE\FWPPC\CLASSES\tsbutton.prg /n /p > harb.log
c:\work\Harbour_ce\bin\harbour C:\work\LIB_32\TSBUTTON_70\TSBUTTON\SOURCE\FWPPC\CLASSES\tslines.prg /n /p >> harb.log
c:\work\Harbour_ce\bin\harbour C:\work\LIB_32\TSBUTTON_70\TSBUTTON\SOURCE\FWPPC\CLASSES\tsradio.prg /n /p >> harb.log
c:\work\Harbour_ce\bin\harbour C:\work\LIB_32\TSBUTTON_70\TSBUTTON\SOURCE\FWPPC\CLASSES\tstsay.prg /n /p >> harb.log
c:\work\vce\bin\clarm -W3 -c /DARM /DUNICODE /Ic:\work\vce\include\arm;c:\work\fwppc\include;c:\work\Harbour_ce\include tsbutton.c > comp.log
c:\work\vce\bin\clarm -W3 -c /DARM /DUNICODE /Ic:\work\vce\include\arm;c:\work\fwppc\include;c:\work\Harbour_ce\include tslines.c >> comp.log
c:\work\vce\bin\clarm -W3 -c /DARM /DUNICODE /Ic:\work\vce\include\arm;c:\work\fwppc\include;c:\work\Harbour_ce\include tsradio.c >> comp.log
c:\work\vce\bin\clarm -W3 -c /DARM /DUNICODE /Ic:\work\vce\include\arm;c:\work\fwppc\include;c:\work\Harbour_ce\include tstsay.c >> comp.log
c:\work\vce\bin\clarm -W3 -c /DARM /DUNICODE /D__FLAT__ /D__HARBOUR__ /Ic:\work\vce\include\arm;c:\work\fwppc\include;c:\work\Harbour_ce\include C:\work\LIB_32\TSBUTTON_70\TSBUTTON\SOURCE\FWPPC\function\bpaint.c >> comp.log
Del SButtonP.lib
c:\work\vce\bin\lib /out:SButtonP.lib /MACHINE:ARM tsbutton.obj > Lib.log
c:\work\vce\bin\lib SButtonP.lib /MACHINE:ARM TSLines.obj       >> Lib.log
c:\work\vce\bin\lib SButtonP.lib /MACHINE:ARM TSRadio.obj       >> Lib.log
c:\work\vce\bin\lib SButtonP.lib /MACHINE:ARM TStSay.obj        >> Lib.log
c:\work\vce\bin\lib SButtonP.lib /MACHINE:ARM bPaint.obj        >> Lib.log



when it is compiled it make it
Code: Select all  Expand view  RUN
C:\work\LIB_32\TSBUTTON_70\TSBUTTON\LIB>SET INCLUDE=C:\work\FWPPC\INCLUDE;C:\work\Harbour_ce\INCLUDE;C:\work\VCE\INCLUDE\ARM;C:\work\FWH\INCLUDE

C:\work\LIB_32\TSBUTTON_70\TSBUTTON\LIB>c:\work\Harbour_ce\bin\harbour C:\work\LIB_32\TSBUTTON_70\TSBUTTON\SOURCE\FWPPC\CLASSES\tsbutton.prg /n /p  1>harb.log

C:\work\LIB_32\TSBUTTON_70\TSBUTTON\LIB>c:\work\Harbour_ce\bin\harbour C:\work\LIB_32\TSBUTTON_70\TSBUTTON\SOURCE\FWPPC\CLASSES\tslines.prg /n /p  1>>harb.log

C:\work\LIB_32\TSBUTTON_70\TSBUTTON\LIB>c:\work\Harbour_ce\bin\harbour C:\work\LIB_32\TSBUTTON_70\TSBUTTON\SOURCE\FWPPC\CLASSES\tsradio.prg /n /p  1>>harb.log

C:\work\LIB_32\TSBUTTON_70\TSBUTTON\LIB>c:\work\Harbour_ce\bin\harbour C:\work\LIB_32\TSBUTTON_70\TSBUTTON\SOURCE\FWPPC\CLASSES\tstsay.prg /n /p  1>>harb.log

C:\work\LIB_32\TSBUTTON_70\TSBUTTON\LIB>c:\work\vce\bin\clarm -W3 -c /DARM /DUNICODE /Ic:\work\vce\include\arm;c:\work\fwppc\include;c:\work\Harbour_ce\include tsbutton.c  1>comp.log

C:\work\LIB_32\TSBUTTON_70\TSBUTTON\LIB>c:\work\vce\bin\clarm -W3 -c /DARM /DUNICODE /Ic:\work\vce\include\arm;c:\work\fwppc\include;c:\work\Harbour_ce\include tslines.c  1>>comp.log

C:\work\LIB_32\TSBUTTON_70\TSBUTTON\LIB>c:\work\vce\bin\clarm -W3 -c /DARM /DUNICODE /Ic:\work\vce\include\arm;c:\work\fwppc\include;c:\work\Harbour_ce\include tsradio.c  1>>comp.log

C:\work\LIB_32\TSBUTTON_70\TSBUTTON\LIB>c:\work\vce\bin\clarm -W3 -c /DARM /DUNICODE /Ic:\work\vce\include\arm;c:\work\fwppc\include;c:\work\Harbour_ce\include tstsay.c  1>>comp.log

C:\work\LIB_32\TSBUTTON_70\TSBUTTON\LIB>c:\work\vce\bin\clarm -W3 -c /DARM /DUNICODE /D__FLAT__ /D__HARBOUR__ /Ic:\work\vce\include\arm;c:\work\fwppc\include;c:\work\Harbour_ce\include C:\work\LIB_32\TSBUTTON_70\TSBUTTON\SOURCE\FWPPC\function\bpaint.c  1>>comp.log

C:\work\LIB_32\TSBUTTON_70\TSBUTTON\LIB>Del SButtonP.lib

C:\work\LIB_32\TSBUTTON_70\TSBUTTON\LIB>c:\work\vce\bin\lib /out:SButtonP.lib /MACHINE:ARM tsbutton.obj  1>Lib.log

C:\work\LIB_32\TSBUTTON_70\TSBUTTON\LIB>c:\work\vce\bin\lib SButtonP.lib /MACHINE:ARM TSLines.obj        1>>Lib.log

C:\work\LIB_32\TSBUTTON_70\TSBUTTON\LIB>c:\work\vce\bin\lib SButtonP.lib /MACHINE:ARM TSRadio.obj        1>>Lib.log

C:\work\LIB_32\TSBUTTON_70\TSBUTTON\LIB>c:\work\vce\bin\lib SButtonP.lib /MACHINE:ARM TStSay.obj         1>>Lib.log

C:\work\LIB_32\TSBUTTON_70\TSBUTTON\LIB>c:\work\vce\bin\lib SButtonP.lib /MACHINE:ARM bPaint.obj         1>>Lib.log
 


it create a lib file 196 kb
when I try to compile a test ( your bolletera.prg) it not found some function on sbpaint
Code: Select all  Expand view  RUN
Progetto: BOLETERA, Ambiente: FWPPC:
[1]:Harbour.Exe BOLETERA.prg  /m /n /es /iC:\work\FWPPC\INCLUDE;C:\work\LIB_32\TSBUTTON_70\Include /ic:\work\fwppc\include;C:\Work\HARBOU~1\include /oObj\BOLETERA.c
Harbour devel build 1.1-1 Intl.
Copyright 1999-2007, http://www.harbour-project.org/
Compiling 'BOLETERA.prg'...
Lines 2488, Functions/Procedures 6
Generating C source output to 'Obj\BOLETERA.c'... Done.
[1]:clarm.Exe -W3 -c /DARM /DUNICODE /IC:\work\FWPPC\INCLUDE;C:\work\LIB_32\TSBUTTON_70\Include -IC:\Work\HARBOU~1\Include /IC:\Work\Vce\Include\ARM /FoBOLETERA.Obj BOLETERA.c
Microsoft (R) C/C++ Optimizing Compiler Version 12.20.9615 for ARM
Copyright (C) Microsoft Corp 1984-2002. All rights reserved.

BOLETERA.c
[1]:rc.Exe -r  -d_CE -iC:\Work\Vce\Bin\..\include\arm -foResource\boletera.Res boletera.rc
[1]:Link.Exe @BOLETERA.vcl /nologo  /ARMPADCODE:NO /SUBSYSTEM:WINDOWSCE,4.20 /MACHINE:ARM
SButtonP.lib(TSRadio.obj) : error LNK2001: unresolved external symbol HB_FUN_FW_GT
SButtonP.lib(tsbutton.obj) : error LNK2019: unresolved external symbol HB_FUN_FW_GT referenced in function HB_FUN_TSBUTTON_ADDHOTSPOT
C:\work\LIB_32\TSBUTTON_70\TSBUTTON\SAMPLES\BOLETERA.Exe : fatal error LNK1120: 1 unresolved externals
 


this the file of xmate to compile sbutton 7.0 for fwppc
Code: Select all  Expand view  RUN

[Version]
Type=xMate
Number=1.15

[Info]
Type=Executable
Architecture=FWPPC
Include=C:\work\FWPPC\INCLUDE;C:\work\LIB_32\TSBUTTON_70\Include
Define=

[xMate]
Create Map/List File=No

[Project]
Run=
Params=
Final Path=%HOME%
Maintain LNK=Yes
Default Type=1
Error log=

[Data Path]
Dbf=

[Files]
%HOME%\BOLETERA.prg=1,.F.,1,1,
%HOME%\boletera.rc=2,.F.,0,0,
C:\work\LIB_32\TSBUTTON_70\TSBUTTON\LIB\SButtonP.lib=3,.F.,0,0,
C:\Work\FWPPC\LIB\fiveCE.lib=4,.T.,0,0,
C:\Work\FWPPC\LIB\FiveCEC.lib=5,.T.,0,0,
%HB_LIB_INSTALL%\hbrtl.lib=6,.T.,0,0,
%HB_LIB_INSTALL%\hbvm.lib=7,.T.,0,0,
%HB_LIB_INSTALL%\gtgui.lib=8,.T.,0,0,
%HB_LIB_INSTALL%\hblang.lib=9,.T.,0,0,
%HB_LIB_INSTALL%\hbmacro.lib=10,.T.,0,0,
%HB_LIB_INSTALL%\hbrdd.lib=11,.T.,0,0,
%HB_LIB_INSTALL%\rddntx.lib=12,.T.,0,0,
%HB_LIB_INSTALL%\rddcdx.lib=13,.T.,0,0,
%HB_LIB_INSTALL%\rddfpt.lib=14,.T.,0,0,
%HB_LIB_INSTALL%\hbsix.lib=15,.T.,0,0,
%HB_LIB_INSTALL%\hbdebug.lib=16,.T.,0,0,
%HB_LIB_INSTALL%\hbcommon.lib=17,.T.,0,0,
%HB_LIB_INSTALL%\hbpp.lib=18,.T.,0,0,
%HB_LIB_INSTALL%\hbcpage.lib=19,.T.,0,0,
%C_LIB_INSTALL%\arm\coredll.lib=20,.T.,0,0,
%C_LIB_INSTALL%\arm\corelibc.lib=21,.T.,0,0,
%C_LIB_INSTALL%\arm\aygshell.lib=22,.T.,0,0,
%C_LIB_INSTALL%\arm\ws2.lib=23,.T.,0,0,
%C_LIB_INSTALL%\arm\mfcce400.lib=24,.T.,0,0,
%C_LIB_INSTALL%\arm\ole32.lib=25,.T.,0,0,
%C_LIB_INSTALL%\arm\ceshell.lib=26,.T.,0,0,
%C_LIB_INSTALL%\arm\commctrl.lib=27,.T.,0,0,
%C_LIB_INSTALL%\arm\wininet.lib=28,.T.,0,0,
%C_LIB_INSTALL%\arm\icmplib.lib=29,.T.,0,0,
%C_LIB_INSTALL%\arm\iphlpapi.lib=30,.T.,0,0,

[Editor]
C:\work\LIB_32\TSBUTTON_70\TSBUTTON\SAMPLES\BOLETERA.prg=1,N,Y
 





I wait your suggestions ....
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 9 guests