Page 2 of 2

Re: To Antonio: hb_free () Pointer Overflow "€"

PostPosted: Sun May 05, 2013 9:40 am
by Antonio Linares
Usas Harbour ó xHarbour ? Que versión ?

Re: To Antonio: hb_free () Pointer Overflow "€"

PostPosted: Sun May 05, 2013 9:47 am
by Verhoven
Sigue dando el error.

Re: To Antonio: hb_free () Pointer Overflow "€"

PostPosted: Sun May 05, 2013 10:14 am
by Verhoven
No se elimina el error. Pero ademàs lo que sucede con ese còdigo es que como se pasan los resultados a una varia ble definida dentro de la parte en C, la variable fd, el prg que llama a la función no ve los resultados de InternetFindNextFile dentro de la rutina en C.

Re: To Antonio: hb_free () Pointer Overflow "€"

PostPosted: Sun May 05, 2013 5:04 pm
by Antonio Linares
Que versión de Harbour estás usando ?

Re: To Antonio: hb_free () Pointer Overflow "€"

PostPosted: Sun May 05, 2013 7:50 pm
by Verhoven
0.99.3 de xHarbour con Borland C++ 5.5.1

Re: To Antonio: hb_free () Pointer Overflow "€"

PostPosted: Sun May 05, 2013 10:35 pm
by Antonio Linares
Puede ser que sea un error de la versión de xHarbour que usas.

Podrias probar con una versión más reciente ? gracias
http://code.google.com/p/harbour-and-xharbour-builds/downloads/list

Re: To Antonio: hb_free () Pointer Overflow "€"

PostPosted: Mon May 06, 2013 10:16 am
by Verhoven
Lo estoy intentando compilar con la última versión de xHarbour pero me da el siguiente error en el enlazado:

***********************************
* 4.- Linking(Enlazando)...
*
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_HB_PCREPOS_LIBRARY' referenced from C:\XHARBOUR\LIB\RTL.LIB|regex
Error: Unresolved external '_hb_stack' referenced from C:\FW\LIB\FIVEHC.LIB|HARBOURC
Error: Unresolved external '_hb_set' referenced from C:\FW\LIB\FIVEHC.LIB|MSGS

Re: To Antonio: hb_free () Pointer Overflow "€"

PostPosted: Mon May 06, 2013 10:21 am
by Verhoven
Lo he intentado compilar con el Borland 582 y entonces me da los siguientes horrores:

Lines 230, Functions/Procedures 4, pCodes 719
Borland C++ 5.82 for Win32 Copyright (c) 1993, 2005 Borland
pruebaFTP_Antonio.c:
Error E2209 c:\xHarbour\include\hbvmpub.h 65: Unable to open include file 'assert.h'
Error E2209 c:\xHarbour\include\hbdefs.h 58: Unable to open include file 'stdarg.h'
Error E2209 c:\xHarbour\include\hbdefs.h 59: Unable to open include file 'stdio.h'
Error E2209 c:\xHarbour\include\hbdefs.h 60: Unable to open include file 'stdlib.h'
Error E2209 c:\xHarbour\include\hbdefs.h 61: Unable to open include file 'string.h'
Error E2209 c:\xHarbour\include\hbsetup.h 67: Unable to open include file 'limits.h'
Error E2209 c:\xHarbour\include\hbdefs.h 83: Unable to open include file 'stdint.h'
Warning W8017 c:\xHarbour\include\hbdefs.h 510: Redefinition of 'HB_LONG_LENGTH' is not identical
Error E2257 c:\xHarbour\include\hbdefs.h 541: , expected
Error E2141 c:\xHarbour\include\hbwince.h 183: Declaration syntax error
Error E2293 c:\xHarbour\include\hbwince.h 184: ) expected
Error E2141 c:\xHarbour\include\hbwince.h 185: Declaration syntax error
Error E2293 c:\xHarbour\include\hbwince.h 186: ) expected
Error E2147 c:\xHarbour\include\hbwince.h 187: 'wchar_t' cannot start a parameter declaration
Error E2147 c:\xHarbour\include\hbwince.h 188: 'wchar_t' cannot start a parameter declaration
Error E2293 c:\xHarbour\include\hbwince.h 189: ) expected
Error E2139 c:\xHarbour\include\hbvmpub.h 288: Declaration missing ;
Error E2141 c:\xHarbour\include\hbapiitm.h 169: Declaration syntax error
Error E2141 c:\xHarbour\include\hbapi.h 638: Declaration syntax error
Error E2303 c:\xHarbour\include\hbapi.h 704: Type name expected
Error E2303 c:\xHarbour\include\hbapi.h 705: Type name expected
Error E2303 c:\xHarbour\include\hbapi.h 1026: Type name expected
Error E2451 pruebaFTP_Antonio.c 56: Undefined symbol 'NULL'
Error E2141 pruebaFTP_Antonio.c 56: Declaration syntax error
Error E2190 pruebaFTP_Antonio.c 56: Unexpected }
Error E2040 pruebaFTP_Antonio.c 56: Declaration terminated incorrectly
Error E2228 pruebaFTP_Antonio.c 56: Too many error or warning messages
*** 26 errors in Compile ***
***********************************
* 2.- Compilando el RC...
*
***********************************
* 3.- Generando fichero de listado de librerias a enlazar (b32.bc)...
*
***********************************
* 4.- Linking(Enlazando)...
*
Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland
Fatal: Unable to open file 'C0W32.OBJ'
_______________________________________

Re: To Antonio: hb_free () Pointer Overflow "€"

PostPosted: Mon May 06, 2013 10:40 am
by Antonio Linares
Has creado los dos ficheros de configuración de Borland ?
viewtopic.php?p=66706#p66706

Que versión de FWH estás usando ?