Google APIS Lib for Fivewin

User avatar
Iris Gesser
Posts: 32
Joined: Fri Apr 22, 2016 10:19 pm

Re: Google APIS Lib for Fivewin

Post by Iris Gesser »

Dear Cristobal,

this evening I was able to install Fivedit on my PC again -->C:\Cristobal\fivedit.exe.
The google.zip I have copied into my samples-folder C:\FWH\samples.
I also tried C:\FWH\samples\google...
When I try to run the program (f.i. gcalender.prg) as exe I get the errors below.
Im am sure, that I have missed something, maybe I am working in the wrong folder...
Can you help me?

Thank you very much in advance,
kind regards
Iris

P.S: i beg you to pardon my amateur-questions :oops: :oops:
---------------------------------------------------------------------------------------------------------------------------------------------

xHarbour 1.2.3 Intl. (SimpLex) (Build 20150712)
Copyright 1999-2015, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'C:\FWH\SAMPLES\gcalend.prg'...

100

200

100

100

100

200

300

400

500

600

700

800

900

1000

1100

100

200

100

200

300

100

200

100

200

300

400

500

600

700

800

900

1000

1100

1200

1300

1400

1500

1600

1700

1800

1900

2000

100
Generating C source output to 'C:\CRISTOBAL\gcalend.c'...
Done.

Lines 82, Functions/Procedures 4, pCodes 172

C:\FWH\SAMPLES\gcalend.prg(58) Warning W0001 Ambiguous reference: 'OCALEND'
Borland C++ 5.82 for Win32 Copyright (c) 1993, 2005 Borland
C:\Cristobal\gdrive.c:
Borland Resource Compiler Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved.

Error VBX2.RC 78 14: Cannot open file: grafico.ico
Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland
Error: Unable to open file 'VBX2.RES'
Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland
Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland
Error: Unresolved external '_HB_FUN_HB_CODEPAGE_ESWIN' referenced from C:\CRISTOBAL\GGCALEND.OBJ
Error: Unresolved external '_HB_FUN_TGEVENTCALC' referenced from C:\CRISTOBAL\GGCALEND.OBJ
Error: Unresolved external '_HB_FUN_SENDPOSTTOURL' referenced from C:\CRISTOBAL\GGCALEND.OBJ
Error: Unresolved external '_HB_FUN_HB_HHASKEY' referenced from C:\CRISTOBAL\GGCALEND.OBJ
Error: Unresolved external '_HB_FUN_AMONTHS' referenced from C:\CRISTOBAL\GGCALEND.OBJ
Error: Unresolved external '_HB_FUN_ADAYS' referenced from C:\CRISTOBAL\GGCALEND.OBJ
Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland
Error: Unresolved external '_HB_FUN_HB_CODEPAGE_ESWIN' referenced from C:\CRISTOBAL\GGCALEND.OBJ
Error: Unresolved external '_HB_FUN_TGEVENTCALC' referenced from C:\CRISTOBAL\GGCALEND.OBJ
Error: Unresolved external '_HB_FUN_SENDPOSTTOURL' referenced from C:\CRISTOBAL\GGCALEND.OBJ
Error: Unresolved external '_HB_FUN_HB_HHASKEY' referenced from C:\CRISTOBAL\GGCALEND.OBJ
Error: Unresolved external '_HB_FUN_AMONTHS' referenced from C:\CRISTOBAL\GGCALEND.OBJ
Error: Unresolved external '_HB_FUN_ADAYS' referenced from C:\CRISTOBAL\GGCALEND.OBJ
Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland
Error: Unresolved external '_HB_FUN_HB_CODEPAGE_ESWIN' referenced from C:\CRISTOBAL\GDRIVE.OBJ
Error: Unresolved external '_HB_FUN_TGDRIVE' referenced from C:\CRISTOBAL\GDRIVE.OBJ
User avatar
cnavarro
Posts: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Google APIS Lib for Fivewin

Post by cnavarro »

Dear Iris, I send you one mail
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
User avatar
cnavarro
Posts: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Google APIS Lib for Fivewin

Post by cnavarro »

-------------------------------- NEW VERSION 07/05/2018 -----------------------

https://bitbucket.org/fivetech/fivewin- ... GOOGLE.zip

En pocos dias habrá más novedades

In a few days there will be more news
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
User avatar
cnavarro
Posts: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Google APIS Lib for Fivewin

Post by cnavarro »

------------------------------------- GOOGLEX.LIB for XHARBOUR -------------------------------

Necesito que alguien lo pruebe con xHarbour antes de su publicacion y me confirme que funciona bien

I need someone to try it with xHarbour before its publication and confirm that it works well

https://bitbucket.org/fivetech/fivewin- ... ooglex.lib

If you have never used it, you will need the rest of the libraries and Dlls in the zip

https://bitbucket.org/fivetech/fivewin- ... GOOGLE.zip
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
User avatar
cnavarro
Posts: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Google APIS Lib for Fivewin

Post by cnavarro »

------------------------------------ GOOGLEX.LIB ------------------------------

Any bugs fixed in Googlex.lib for xHarbour

https://bitbucket.org/fivetech/fivewin- ... ooglex.lib

Please test it
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
User avatar
cnavarro
Posts: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Google APIS Lib for Fivewin

Post by cnavarro »

------------------------------------ GOOGLEX.LIB ( 07/06/2018 ) ------------------------------

Any bugs fixed in Googlex.lib for xHarbour

https://bitbucket.org/fivetech/fivewin- ... ooglex.lib

Please test it
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
User avatar
cnavarro
Posts: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Google APIS Lib for Fivewin

Post by cnavarro »

With this libs run ok in xHarbour
@ECHO OFF
CLS
ECHO ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
ECHO ³ FiveWin for xHarbour 18.04 - May. 2018 xHarbour development power ³Ü
ECHO ³ (c) FiveTech, 1993-2018 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7/8/10 ³Û
ECHO ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ
ECHO ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß

if A%1 == A GOTO :SINTAX
if NOT EXIST %1.prg GOTO :NOEXIST

ECHO Compiling...

rem if "%FWDIR%" == "" set FWDIR=.\..\
set FWDIR=d:\fwh\fwhteam
rem if "%XHDIR%" == "" set XHDIR=c:\xharbour
rem set XHDIR=d:\xharbour\xharbour7
set XHDIR=D:\xharbour\xhb10234_bcc730
rem if "%2" == "/b" set GT=gtwin
rem if not "%2" == "/b" set GT=gtgui
set GT=gtgui

set hdir=%XHDIR%
set hdirl=%hdir%\lib
rem set bcdir=d:\borland\bcc7
set bcdir=d:\borland\bcc73
set fwh=%FWDIR%

%hdir%\bin\harbour %1 /n /i%fwh%\include;%hdir%\include /w /p %2 %3 > comp.log 2> warnings.log
IF ERRORLEVEL 1 GOTO COMPILEERRORS
@type comp.log
@type warnings.log

echo -O2 -e%1.exe -I%hdir%\include -I%bcdir%\include %1.c > b32.bc
%bcdir%\bin\bcc32 -M -c -v @b32.bc
:ENDCOMPILE

rem IF EXIST %1.rc %bcdir%\bin\brc32 -r -I%bcdir%\include %1
IF EXIST %1.rc %bcdir%\bin\brc32 -r -I%bcdir%\include -I%bcdir%\include\windows\sdk %1

echo %bcdir%\lib\c0w32.obj + > b32.bc
echo %1.obj, + >> b32.bc
echo %1.exe, + >> b32.bc
echo %1.map, + >> b32.bc
echo %fwh%\lib\Fivehx.lib %fwh%\lib\FiveHC.lib %fwh%\lib\googlex.lib %fwh%\lib\libmysql.lib + >> b32.bc
echo %hdirl%\rtl.lib + >> b32.bc
echo %hdirl%\vm.lib + >> b32.bc
echo %hdirl%\%GT%.lib + >> b32.bc
echo %hdirl%\lang.lib + >> b32.bc
echo %hdirl%\codepage.lib + >> b32.bc
echo %hdirl%\macro.lib + >> b32.bc
echo %hdirl%\rdd.lib + >> b32.bc
echo %hdirl%\dbfntx.lib + >> b32.bc
echo %hdirl%\dbfcdx.lib + >> b32.bc
echo %hdirl%\dbffpt.lib + >> b32.bc
echo %hdirl%\hbsix.lib + >> b32.bc
echo %hdirl%\debug.lib + >> b32.bc
echo %hdirl%\common.lib + >> b32.bc
echo %hdirl%\pp.lib + >> b32.bc
echo %hdirl%\pcrepos.lib + >> b32.bc
echo %hdirl%\ct.lib + >> b32.bc
echo %hdirl%\zlib.lib + >> b32.bc
echo %hdirl%\hbzip.lib + >> b32.bc
echo %hdirl%\libmisc.lib + >> b32.bc
echo %hdirl%\tip.lib + >> b32.bc
echo %hdirl%\png.lib + >> b32.bc
echo %hdirl%\hbcc.lib + >> b32.bc
echo %hdirl%\hbcurl.lib + >> b32.bc
echo %fwh%\lib\libcurl.lib + >> b32.bc
rem echo %hdirl%\hbcurls.lib + >> b32.bc
echo %hdirl%\hbssl.lib + >> b32.bc
echo %hdirl%\tipssl.lib + >> b32.bc

rem Libs from google.zip file

echo d:\harbour\harbour7\lib\libeay32.lib + >> b32.bc
echo d:\harbour\harbour7\lib\libssl32.lib + >> b32.bc

echo %bcdir%\lib\cw32.lib + >> b32.bc
echo %bcdir%\lib\import32.lib + >> b32.bc
echo %bcdir%\lib\uuid.lib + >> b32.bc
echo %bcdir%\lib\ws2_32.lib + >> b32.bc
echo %bcdir%\lib\psdk\odbc32.lib + >> b32.bc
echo %bcdir%\lib\psdk\rasapi32.lib + >> b32.bc
echo %bcdir%\lib\psdk\nddeapi.lib + >> b32.bc
echo %bcdir%\lib\psdk\msimg32.lib + >> b32.bc
echo %bcdir%\lib\psdk\psapi.lib + >> b32.bc
echo %bcdir%\lib\psdk\gdiplus.lib + >> b32.bc
echo %bcdir%\lib\psdk\iphlpapi.lib + >> b32.bc
echo %bcdir%\lib\psdk\shell32.lib, >> b32.bc

IF EXIST %1.res echo %1.res >> b32.bc

rem uncomment this line to use the debugger and comment the following one
if %GT% == gtwin %bcdir%\bin\ilink32 -Gn -Tpe -s -v @b32.bc
IF ERRORLEVEL 1 GOTO LINKERROR
if %GT% == gtgui %bcdir%\bin\ilink32 -Gn -aa -Tpe -s -v @b32.bc
IF ERRORLEVEL 1 GOTO LINKERROR
ECHO * Application successfully built *
%1
GOTO EXIT
ECHO

rem delete temporary files
@del %1.c

:COMPILEERRORS
@type comp.log
ECHO * Compile errors *
GOTO EXIT

:LINKERROR
ECHO * Linking errors *
GOTO EXIT

:SINTAX
ECHO SYNTAX: Build [Program] {-- No especifiques la extensi¢n PRG
ECHO {-- Don't specify .PRG extension
GOTO EXIT

:NOEXIST
ECHO The specified PRG %1 does not exist

:EXIT
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
User avatar
cnavarro
Posts: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Google APIS Lib for Fivewin

Post by cnavarro »

------------------------------------ NEW VERSION 08/06/2017 ----------------------

Include new libs for xHarbour / Borland and Harbour / MinGw

https://bitbucket.org/fivetech/fivewin- ... GOOGLE.zip

New full sample of use calendar Google with export to TCalex

https://bitbucket.org/fivetech/fivewin- ... calend.prg
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
User avatar
Maurizio
Posts: 705
Joined: Mon Oct 10, 2005 1:29 pm
Contact:

Re: Google APIS Lib for Fivewin

Post by Maurizio »

Hello
for ggcalend.prg missing the function aMonths() and aDays( )
I Use this :
STATIC Function aMonths()
Return {"Gennaio", "Febbraio", "Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"}
Static Function aDays()
aDays := { "Lunedi","Martedi","Mercoledi", "Giovedi", "Venerdi", "Sabato", "Domanica" }

But after I have this error :

Application
===========
Path and name: C:\FWMY\google_2018_6\Google_cal.exe (32 bits)
Size: 4,081,664 bytes
Compiler version: Harbour 3.2.0dev (r1703231115)
FiveWin version: FWH 18.01
C compiler version: Borland/Embarcadero C++ 7.0 (32-bit)
Windows version: 6.2, Build 9200

Time from start: 0 hours 0 mins 15 secs
Error occurred at: 12/06/2018, 09:06:25
Error description: Error BASE/1132 Bound error: array access
Args:
[ 1] = H {=>}
[ 2] = C timeZone

Stack Calls
===========
Called from: .\source\internal\TGEVECAL.PRG => TGEVENTCALC:HASHLISTEVENTS( 399 )
Called from: .\source\internal\TGEVECAL.PRG => TGEVENTCALC:LISTEVENT( 279 )
Called from: ggcalend.prg => EVENTSCAL( 564 )
Called from: ggcalend.prg => (b)MAIN( 120 )
Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:CLICK( 693 )
Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:LBUTTONUP( 944 )
Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:LBUTTONDOWN( 882 )
Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1718 )
Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:HANDLEEVENT( 1909 )
Called from: .\source\classes\WINDOW.PRG => _FWH( 3368 )
Called from: => WINRUN( 0 )
Called from: .\source\classes\WINDOW.PRG => TWINDOW:ACTIVATE( 1043 )
Called from: ggcalend.prg => MAIN( 173 )


Regards Maurizio
www.nipeservice.com
User avatar
cnavarro
Posts: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Google APIS Lib for Fivewin

Post by cnavarro »

Maurizio

Please look

https://vivaclipper.wordpress.com/2014/ ... functions/

( Library: hbmisc ? )

and try with updated version
Last edited by cnavarro on Tue Jun 12, 2018 12:31 pm, edited 1 time in total.
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
User avatar
cnavarro
Posts: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Google APIS Lib for Fivewin

Post by cnavarro »

---------------------------------- NEW VERSION 12/06/2018 ----------------

https://bitbucket.org/fivetech/fivewin- ... GOOGLE.zip

New full sample of use calendar Google with export to TCalex

https://bitbucket.org/fivetech/fivewin- ... calend.prg
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
User avatar
cnavarro
Posts: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Google APIS Lib for Fivewin

Post by cnavarro »

--------------------------------------- NEW VERSION 07/07/2018 ----------------------

https://bitbucket.org/fivetech/fivewin- ... GOOGLE.zip
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
User avatar
Baxajaun
Posts: 853
Joined: Wed Oct 19, 2005 2:17 pm
Location: Gatika. Bizkaia

Re: Google APIS Lib for Fivewin

Post by Baxajaun »

Thanks a lot Cristóbal !!!
User avatar
Maurizio
Posts: 705
Joined: Mon Oct 10, 2005 1:29 pm
Contact:

Re: Google APIS Lib for Fivewin

Post by Maurizio »

Hello Cristóbal

it's possible manage a series of geographical location on google maps with your lib ?
Is there a sample ?

Maurizio
www.nipeservice.com
User avatar
cnavarro
Posts: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Google APIS Lib for Fivewin

Post by cnavarro »

Maurizio,
Please look this and and tell me if it is what you need
If it's not enough, do not hesitate to tell me

http://forums.fivetechsupport.com/viewt ... 15#p199455
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
Post Reply