FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour To Antonio: hb_free () Pointer Overflow "€"
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: To Antonio: hb_free () Pointer Overflow "€"
Posted: Sun May 05, 2013 09:40 AM

Usas Harbour ó xHarbour ? Que versión ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 563
Joined: Sun Oct 09, 2005 07:23 PM
Re: To Antonio: hb_free () Pointer Overflow "€"
Posted: Sun May 05, 2013 09:47 AM

Sigue dando el error.

Posts: 563
Joined: Sun Oct 09, 2005 07:23 PM
Re: To Antonio: hb_free () Pointer Overflow "€"
Posted: Sun May 05, 2013 10:14 AM

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.

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: To Antonio: hb_free () Pointer Overflow "€"
Posted: Sun May 05, 2013 05:04 PM

Que versión de Harbour estás usando ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 563
Joined: Sun Oct 09, 2005 07:23 PM
Re: To Antonio: hb_free () Pointer Overflow "€"
Posted: Sun May 05, 2013 07:50 PM

0.99.3 de xHarbour con Borland C++ 5.5.1

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: To Antonio: hb_free () Pointer Overflow "€"
Posted: Sun May 05, 2013 10:35 PM
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
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 563
Joined: Sun Oct 09, 2005 07:23 PM
Re: To Antonio: hb_free () Pointer Overflow "€"
Posted: Mon May 06, 2013 10:16 AM

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
Posts: 563
Joined: Sun Oct 09, 2005 07:23 PM
Re: To Antonio: hb_free () Pointer Overflow "€"
Posted: Mon May 06, 2013 10:21 AM

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'

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: To Antonio: hb_free () Pointer Overflow "€"
Posted: Mon May 06, 2013 10:40 AM

Has creado los dos ficheros de configuración de Borland ?

viewtopic.php?p=66706#p66706

Que versión de FWH estás usando ?

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion