Page 6 of 9

Re: Google APIS Lib for Fivewin

Posted: Mon Apr 09, 2018 8:37 pm
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

Re: Google APIS Lib for Fivewin

Posted: Mon Apr 09, 2018 9:02 pm
by cnavarro
Dear Iris, I send you one mail

Re: Google APIS Lib for Fivewin

Posted: Mon May 07, 2018 2:05 pm
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

Re: Google APIS Lib for Fivewin

Posted: Wed Jun 06, 2018 12:25 pm
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

Re: Google APIS Lib for Fivewin

Posted: Wed Jun 06, 2018 10:49 pm
by cnavarro
------------------------------------ GOOGLEX.LIB ------------------------------

Any bugs fixed in Googlex.lib for xHarbour

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

Please test it

Re: Google APIS Lib for Fivewin

Posted: Thu Jun 07, 2018 2:38 pm
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

Re: Google APIS Lib for Fivewin

Posted: Fri Jun 08, 2018 3:09 pm
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


Re: Google APIS Lib for Fivewin

Posted: Fri Jun 08, 2018 7:57 pm
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

Re: Google APIS Lib for Fivewin

Posted: Tue Jun 12, 2018 7:11 am
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

Re: Google APIS Lib for Fivewin

Posted: Tue Jun 12, 2018 9:51 am
by cnavarro
Maurizio

Please look

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

( Library: hbmisc ? )

and try with updated version

Re: Google APIS Lib for Fivewin

Posted: Tue Jun 12, 2018 12:25 pm
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

Re: Google APIS Lib for Fivewin

Posted: Sat Jul 07, 2018 1:57 am
by cnavarro
--------------------------------------- NEW VERSION 07/07/2018 ----------------------

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

Re: Google APIS Lib for Fivewin

Posted: Sat Jul 07, 2018 9:59 am
by Baxajaun
Thanks a lot Cristóbal !!!

Re: Google APIS Lib for Fivewin

Posted: Thu Jul 26, 2018 4:33 pm
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

Re: Google APIS Lib for Fivewin

Posted: Thu Jul 26, 2018 7:04 pm
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

viewtopic.php?f=3&t=33729&hilit=google+maps&start=15#p199455