Page 1 of 2

TSBrowse for FWPPC

Posted: Sat Jul 04, 2009 3:08 pm
by mmercado
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

Re: TSBrowse for FWPPC

Posted: Sat Jul 04, 2009 4:50 pm
by Antonio Linares
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.

Re: TSBrowse for FWPPC

Posted: Sat Jul 04, 2009 5:34 pm
by mmercado
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.

Re: TSBrowse for FWPPC

Posted: Sat Jul 04, 2009 5:54 pm
by Antonio Linares
Manuel,

Just create an empty fwce.h file:

FWCE.H

Code: Select all

#ifndef _FWCE_H
#define _FWCE_H


#endif
 

Re: TSBrowse for FWPPC

Posted: Sun Jul 05, 2009 10:14 am
by mmercado
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.

Image
By manuelmercado
Long life to FiveWin.

Manuel Mercado

Re: TSBrowse for FWPPC

Posted: Sun Jul 05, 2009 11:27 am
by Antonio Linares
Manuel,

It looks great! congratulations! :-)

Is its source code available ? thanks

Re: TSBrowse for FWPPC

Posted: Sun Jul 05, 2009 12:37 pm
by Ale SB
Congratulations Manuel, great work!

You will release the sources?

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

Regards, Ale

Re: TSBrowse for FWPPC

Posted: Mon Jul 06, 2009 4:59 pm
by mmercado
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.

Re: TSBrowse for FWPPC

Posted: Mon Jul 06, 2009 6:12 pm
by mmercado
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.[/quote]

Best regards.

Manuel Mercado

Re: TSBrowse for FWPPC

Posted: Tue Jul 07, 2009 10:00 am
by Silvio
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

Re: TSBrowse for FWPPC

Posted: Mon Jul 20, 2009 5:45 pm
by Silvio
Manuel
have you found a solution ?

Re: TSBrowse for FWPPC

Posted: Tue Jul 21, 2009 12:41 am
by mmercado
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. :D

Best regards.

Manuel Mercado

Re: TSBrowse for FWPPC

Posted: Tue Jul 21, 2009 8:24 pm
by Silvio
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 !!

Re: TSBrowse for FWPPC

Posted: Wed Jul 22, 2009 12:32 am
by mmercado
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.

Re: TSBrowse for FWPPC

Posted: Wed Jul 22, 2009 5:28 pm
by Silvio
I sent now to you calc source for fwppc. see your correo (prodigy.net.mx)