FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Pocket PC TSBrowse for FWPPC
Posts: 782
Joined: Wed Dec 19, 2007 07:50 AM
TSBrowse for FWPPC
Posted: Sat Jul 04, 2009 03:08 PM

Hi Antonio and friends:

I have compiled a new library of TSBrowse for FWPPC, when trying to build a test program I got these linking errors:

ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ FiveWin for Pocket PC - January 2009 Harbour development power ³Ü
³ (c) FiveTech Software, 1993-2009 for Microsoft Windows Pocket PC ³Û
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ
ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß
Compiling...
testbrow.c
error LNK2019: unresolved external symbol DrawTextA referenced in function HB_FUN_TSDRAWCELL
error LNK2019: unresolved external symbol GetObjectA referenced in function HB_FUN_TSDRAWCELL
error LNK2019: unresolved external symbol ExtTextOutA referenced in function HB_FUN_TSDRAWCELL
error LNK2019: unresolved external symbol GetTextExtent referenced in function HB_FUN_TSDRAWCELL
error LNK2019: unresolved external symbol GetTextMetricsA referenced in function HB_FUN_SBGETHEIGHT
error LNK2019: unresolved external symbol MoveTo referenced in function GoToPoint
testbrow.exe : fatal error LNK1120: 6 unresolved externals
* Linking errors *

Is there any missing linked library?

Thanks in advance for your help.

Manuel Mercado

manuelmercado at prodigy dot net dot mx
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: TSBrowse for FWPPC
Posted: Sat Jul 04, 2009 04:50 PM

Manuel,

Please check that you are using /DUNICODE when you call CLARM.EXE

Those functions names, ended with "A", mean they they are not unicode, and thus they are not available for Pocket PC.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 782
Joined: Wed Dec 19, 2007 07:50 AM
Re: TSBrowse for FWPPC
Posted: Sat Jul 04, 2009 05:34 PM
Antonio Linares wrote:Please check that you are using /DUNICODE when you call CLARM.EXE
Hi Antonio:

If I use /DUNICODE then the compiler asks for a header file named fwce.h which doesn't exist. (see line 621 in clipapi.h)

Best regards.

Manuel Mercado.
manuelmercado at prodigy dot net dot mx
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: TSBrowse for FWPPC
Posted: Sat Jul 04, 2009 05:54 PM
Manuel,

Just create an empty fwce.h file:

FWCE.H
Code (fw): Select all Collapse
#ifndef _FWCE_H
#define _FWCE_H


#endif
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 782
Joined: Wed Dec 19, 2007 07:50 AM
Re: TSBrowse for FWPPC
Posted: Sun Jul 05, 2009 10:14 AM
Antonio Linares wrote:Just create an empty fwce.h file:
Many thanks Antonio.

With your help and your great product (FWPPC), I got my first PDA program.


By manuelmercado
Long life to FiveWin.

Manuel Mercado
manuelmercado at prodigy dot net dot mx
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: TSBrowse for FWPPC
Posted: Sun Jul 05, 2009 11:27 AM

Manuel,

It looks great! congratulations! :-)

Is its source code available ? thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 248
Joined: Wed Jan 11, 2006 11:30 AM
Re: TSBrowse for FWPPC
Posted: Sun Jul 05, 2009 12:37 PM

Congratulations Manuel, great work!

You will release the sources?

There is a higher consumption of memory, using the TSbrowse?

Regards, Ale

aleseribeli@hotmail.com

FwH, Hb Svn, ADS 8.1, ADS 10, Pelles C, FwPPC, MsVc 2008, MsVc 2010
"Conhecimento, você não subtrai quando divide; mas soma e multiplica."
**---Mário Persona---**
Posts: 782
Joined: Wed Dec 19, 2007 07:50 AM
Re: TSBrowse for FWPPC
Posted: Mon Jul 06, 2009 04:59 PM
Antonio Linares wrote:Is its source code available ? thanks
Hi Antonio:

As always it'll be available as soon as I finish with some final adjustments.

Best regards.

Manuel Mercado.
manuelmercado at prodigy dot net dot mx
Posts: 782
Joined: Wed Dec 19, 2007 07:50 AM
Re: TSBrowse for FWPPC
Posted: Mon Jul 06, 2009 06:12 PM
Hi Ale:
Ale SB wrote:You will release the sources?
Sure (as always), I'm just making some final tests and adjustments.

Ale SB wrote:There is a higher consumption of memory, using the TSbrowse?
I'm a novice with FWPPC (this is my first program) I don't know how to measure the memory consumption, it's not fast but it works pretty well.

Best regards.

Manuel Mercado
manuelmercado at prodigy dot net dot mx
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Re: TSBrowse for FWPPC
Posted: Tue Jul 07, 2009 10:00 AM
manuel,

i TRY TO COMPILE SBUTTON FOR FWPPC

i CANNOT COMPILE SBPAINT .c

Can you compile it please ?

Progetto: TSBUTTON, Ambiente: FWPPC:
[1]:Harbour.Exe TSBUTTON.PRG /m /n /es /iC:\work\FWPPC\INCLUDE /ic:\work\fwppc\include;C:\Work\HARBOU~1\include /oObj\TSBUTTON.c
Harbour devel build 1.1-1 Intl.
Copyright 1999-2007, http://www.harbour-project.org/
Compiling 'TSBUTTON.PRG'...
Lines 4314, Functions/Procedures 40
Generating C source output to 'Obj\TSBUTTON.c'... Done.
[1]:clarm.Exe -W3 -c /DARM /DUNICODE /IC:\work\FWPPC\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
[1]:clarm.Exe -W3 -c /DARM /DUNICODE /IC:\work\FWPPC\INCLUDE -IC:\Work\HARBOU~1\Include /IC:\Work\Vce\Include\ARM /FoObj\BPAINT.Obj BPAINT.C
Microsoft (R) C/C++ Optimizing Compiler Version 12.20.9615 for ARM
Copyright (C) Microsoft Corp 1984-2002. All rights reserved.

BPAINT.C
c:\work\fwppc\include\clipapi.h(60) : error C2371: 'WORD' : redefinition; different basic types
c:\work\vce\include\arm\windef.h(161) : see declaration of 'WORD'
c:\work\fwppc\include\clipapi.h(71) : error C2059: syntax error : 'constant'
c:\work\fwppc\include\clipapi.h(463) : warning C4028: formal parameter 1 different from declaration
c:\work\fwppc\include\clipapi.h(463) : error C2371: 'strlen' : redefinition; different basic types
c:\work\vce\include\arm\stdlib.h(176) : see declaration of 'strlen'
c:\work\fwppc\include\clipapi.h(464) : warning C4028: formal parameter 1 different from declaration
c:\work\fwppc\include\clipapi.h(464) : warning C4028: formal parameter 2 different from declaration
c:\work\fwppc\include\clipapi.h(464) : error C2040: 'strcpy' : 'void (unsigned char *,unsigned char *)' differs in levels of indirection from 'void (unsigned char *,unsigned char *)'
c:\work\fwppc\include\clipapi.h(465) : warning C4028: formal parameter 1 different from declaration
c:\work\fwppc\include\clipapi.h(465) : warning C4028: formal parameter 2 different from declaration
c:\work\fwppc\include\clipapi.h(466) : warning C4028: formal parameter 1 different from declaration
c:\work\fwppc\include\clipapi.h(466) : warning C4028: formal parameter 2 different from declaration
c:\work\fwppc\include\clipapi.h(466) : warning C4142: benign redefinition of type
c:\work\fwppc\include\clipapi.h(621) : fatal error C1083: Cannot open include file: 'fwce.h': No such file or directory
Best Regards, Saludos



Falconi Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Re: TSBrowse for FWPPC
Posted: Mon Jul 20, 2009 05:45 PM

Manuel
have you found a solution ?

Best Regards, Saludos



Falconi Silvio
Posts: 782
Joined: Wed Dec 19, 2007 07:50 AM
Re: TSBrowse for FWPPC
Posted: Tue Jul 21, 2009 12:41 AM
Hi Silvio:
Silvio wrote:Manuel
have you found a solution ?
I compiled and created SButtonP.lib (TSButton for FWPPC) but I found that there are some CGI functions used in BPaint.c not suported by Windows Mobile. I decided to suspend my work in this project for the moment.

By the way, I have noticed that you are frequently asking for work sharing from others when you share nothing. I refer to your calculator sample shown in this forum some weeks ago. I haven't seen the source code yet. :-)

Best regards.

Manuel Mercado
manuelmercado at prodigy dot net dot mx
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Re: TSBrowse for FWPPC
Posted: Tue Jul 21, 2009 08:24 PM

Manuel,
I sent this msgcalc new source for fwppc and msgclock for fwppc to Antonio Linares many month ago.
He promised me to include them on new fwppc version.
If the sources are not included on fwppc last version I can send you all
there is not problem !!

Best Regards, Saludos



Falconi Silvio
Posts: 782
Joined: Wed Dec 19, 2007 07:50 AM
Re: TSBrowse for FWPPC
Posted: Wed Jul 22, 2009 12:32 AM
Dear Silvio:
Silvio wrote:If the sources are not included on fwppc last version I can send you all
there is not problem !!

Just kidding, you can always count on me. I hope in a while to retake the TSButton for FWPPC project.

Best regards.

Manuel Mercado.
manuelmercado at prodigy dot net dot mx
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Re: TSBrowse for FWPPC
Posted: Wed Jul 22, 2009 05:28 PM

I sent now to you calc source for fwppc. see your correo (prodigy.net.mx)

Best Regards, Saludos



Falconi Silvio