Jump to content
Fivewin Brasil

Rotina para gravar backup Google Drive - Resolvido


Jmsilva

Recommended Posts

 

Obrigado Kapi! Mas eu já tenho a lib.

Eu não consigo compilar. Erros:

Executando: ILINK32 @B32.BC
Turbo Incremental Link 6.70 Copyright (c) 1997-2014 Embarcadero Technologies, Inc.
Error: Unresolved external '_curl_global_init_mem' referenced from LIB\HBCURL.LIB|core
Error: Unresolved external '_curl_global_cleanup' referenced from LIB\HBCURL.LIB|core
Error: Unresolved external '_curl_formfree' referenced from LIB\HBCURL.LIB|core
Error: Unresolved external '_curl_easy_cleanup' referenced from LIB\HBCURL.LIB|core
Error: Unresolved external '_curl_easy_reset' referenced from LIB\HBCURL.LIB|core
Error: Unresolved external '_curl_easy_duphandle' referenced from LIB\HBCURL.LIB|core
Error: Unresolved external '_curl_easy_init' referenced from LIB\HBCURL.LIB|core
Error: Unresolved external '_hb_gcMark' referenced from LIB\HBCURL.LIB|core
Error: Unresolved external '_hb_gcAllocate' referenced from LIB\HBCURL.LIB|core
Error: Unresolved external '_curl_easy_pause' referenced from LIB\HBCURL.LIB|core
Error: Unresolved external '_curl_easy_perform' referenced from LIB\HBCURL.LIB|core
Error: Unresolved external '_curl_easy_send' referenced from LIB\HBCURL.LIB|core
Error: Unresolved external '_curl_easy_recv' referenced from LIB\HBCURL.LIB|core
Error: Unresolved external '_hb_storclen_buffer' referenced from LIB\HBCURL.LIB|core
Error: Unresolved external '_curl_formadd' referenced from LIB\HBCURL.LIB|core
Error: Unresolved external '_curl_slist_append' referenced from LIB\HBCURL.LIB|core
Error: Unresolved external '_hb_parnldef' referenced from LIB\HBCURL.LIB|core
Error: Unresolved external '_curl_easy_setopt' referenced from LIB\HBCURL.LIB|core
Error: Unresolved external '_curl_easy_getinfo' referenced from LIB\HBCURL.LIB|core
Error: Unresolved external '_curl_slist_free_all' referenced from LIB\HBCURL.LIB|core
Error: Unresolved external '_curl_easy_escape' referenced from LIB\HBCURL.LIB|core
Error: Unresolved external '_curl_easy_unescape' referenced from LIB\HBCURL.LIB|core
Error: Unresolved external '_curl_version' referenced from LIB\HBCURL.LIB|core
Error: Unresolved external '_curl_version_info' referenced from LIB\HBCURL.LIB|core
Error: Unresolved external '_curl_easy_strerror' referenced from LIB\HBCURL.LIB|core
Error: Unresolved external '_curl_getdate' referenced from LIB\HBCURL.LIB|core
Error: Unresolved external '_curl_escape' referenced from LIB\HBCURL.LIB|core
Error: Unresolved external '_curl_unescape' referenced from LIB\HBCURL.LIB|core
Error: Unresolved external '_curl_free' referenced from LIB\HBCURL.LIB|core

Link to comment
Share on other sites

Kapi,

Baixei a lib do link que vc enviou mas deu outro erro.

Executando: ILINK32 @B32.BC
Turbo Incremental Link 6.70 Copyright (c) 1997-2014 Embarcadero Technologies, Inc.
Error: 'LIB\HBCURL.LIB' contains invalid OMF record, type 0x21 (possibly COFF)
 

Sabe o que pode estar causando este erro?

Link to comment
Share on other sites

 

Kapi,

Baixei a lib do link que vc enviou mas deu outro erro.

Executando: ILINK32 @B32.BC
Turbo Incremental Link 6.70 Copyright (c) 1997-2014 Embarcadero Technologies, Inc.
Error: 'LIB\HBCURL.LIB' contains invalid OMF record, type 0x21 (possibly COFF)
 

Sabe o que pode estar causando este erro?

LIB muito antiga. Lamento.

Link to comment
Share on other sites

On 11/10/2017 at 4:35 PM, Edu said:

 

On 11/10/2017 at 4:35 PM, Edu said:

Kapi,

Baixei a lib do link que vc enviou mas deu outro erro.

Executando: ILINK32 @B32.BC
Turbo Incremental Link 6.70 Copyright (c) 1997-2014 Embarcadero Technologies, Inc.
Error: 'LIB\HBCURL.LIB' contains invalid OMF record, type 0x21 (possibly COFF)
 

Sabe o que pode estar causando este erro?

This error is typically caused when trying to use a library for Visual Studio or Microsoft compiler with the Borland compiler or vice versa

 

Link to comment
Share on other sites

 

This error is typically caused when trying to use a library for Visual Studio or Microsoft compiler with the Borland compiler

 

Thanks Cristoval but I'm not using Visual Studio.

I'm using Fivewin 16.08, xharbour 1.2.3 and BCC 7.0.

It's possible work with hbcurl ? If positive, what configurations I need to do?

 

Best regards.

Link to comment
Share on other sites

I'am sure this lib send for me to Kapiaba is for borland 7

Test your buildx.bat

Quote

set FWDIR=d:\fwh\fwhteam
set XHDIR=d:\xharbour\xharbour7
set GT=gtgui

set hdir=%XHDIR%
set hdirl=%hdir%\lib
set bcdir=d:\borland\bcc7
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

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 + >> 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

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
 

 

Link to comment
Share on other sites

5 minutes ago, kapiaba said:

Wow!! Mister Cristobal, welcome, bienvenido, bem vindo al Fivewin Brasil!! Best regards, saludos. 

Thanks, with pleasure

Please, what it is?

" New posts within a short time frame are limited. Please wait 112 seconds before submitting. "

" New posts within a short time frame are limited. Please wait 262 seconds before submitting. "

.....

Link to comment
Share on other sites

 

Thanks, with pleasure

Please, what it is?

" New posts within a short time frame are limited. Please wait 112 seconds before submitting. "

" New posts within a short time frame are limited. Please wait 262 seconds before submitting. "

.....

Maestro, espere cinco minutos para responder a un post. Esto es una seguridad del foro contra hackers.

Link to comment
Share on other sites

Pero, para hacer una copia de seguridad de una unidad de Google, no necesitas nada, solo copiar los archivos a la carpeta de Google Drive del ordenador y cuando se ejecute la sincronización, estos archivos serán actualizados automáticamente.
O es otro tema por el que se pregunta?

 

Pero, para fazer um backup de um Google Drive, não necessitas nada, apenas copiar os arquivos na pasta de google drive en el ordenador e quando se ejecutar a sincronização, estes ficheros são atualizados automaticamente.
O é outro tema por você?

 

Link to comment
Share on other sites

  • 1 month later...

Boa tarde galera, ressuscitando o tópico, sei que não é o mais recomentado, mas......

Estou tentando aproveitar este código:

http://forums.fivetechsupport.com/viewtopic.php?f=6&t=25638&hilit=oauth#p139863

Para tentar obter a autenticidade (token) para tentar comunicar com o servidor da prefeitura de Florianópolis que usa o padrão OAuth também, recebo a mensagem ao executar o exemplo:

"A execução de código não pode continuar porque LIBCURL.DLL não foi encontrado....."

Alguém já...?

Grato.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...