TSBrowse for FWPPC

User avatar
mmercado
Posts: 782
Joined: Wed Dec 19, 2007 7:50 am
Location: Salamanca, Gto., México

TSBrowse for FWPPC

Post 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
manuelmercado at prodigy dot net dot mx
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: TSBrowse for FWPPC

Post 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.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
mmercado
Posts: 782
Joined: Wed Dec 19, 2007 7:50 am
Location: Salamanca, Gto., México

Re: TSBrowse for FWPPC

Post 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.
manuelmercado at prodigy dot net dot mx
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: TSBrowse for FWPPC

Post by Antonio Linares »

Manuel,

Just create an empty fwce.h file:

FWCE.H

Code: Select all

#ifndef _FWCE_H
#define _FWCE_H


#endif
 
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
mmercado
Posts: 782
Joined: Wed Dec 19, 2007 7:50 am
Location: Salamanca, Gto., México

Re: TSBrowse for FWPPC

Post 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
manuelmercado at prodigy dot net dot mx
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: TSBrowse for FWPPC

Post by Antonio Linares »

Manuel,

It looks great! congratulations! :-)

Is its source code available ? thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Ale SB
Posts: 248
Joined: Wed Jan 11, 2006 11:30 am
Location: Campo Grande-MS / Brasil

Re: TSBrowse for FWPPC

Post by Ale SB »

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---**
User avatar
mmercado
Posts: 782
Joined: Wed Dec 19, 2007 7:50 am
Location: Salamanca, Gto., México

Re: TSBrowse for FWPPC

Post 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.
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: TSBrowse for FWPPC

Post 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
manuelmercado at prodigy dot net dot mx
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: TSBrowse for FWPPC

Post 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
Best Regards, Saludos

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

Re: TSBrowse for FWPPC

Post by Silvio »

Manuel
have you found a solution ?
Best Regards, Saludos

Falconi Silvio
User avatar
mmercado
Posts: 782
Joined: Wed Dec 19, 2007 7:50 am
Location: Salamanca, Gto., México

Re: TSBrowse for FWPPC

Post 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
manuelmercado at prodigy dot net dot mx
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: TSBrowse for FWPPC

Post 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 !!
Best Regards, Saludos

Falconi Silvio
User avatar
mmercado
Posts: 782
Joined: Wed Dec 19, 2007 7:50 am
Location: Salamanca, Gto., México

Re: TSBrowse for FWPPC

Post 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.
manuelmercado at prodigy dot net dot mx
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: TSBrowse for FWPPC

Post by Silvio »

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

Falconi Silvio
Post Reply