Usas Harbour ó xHarbour ? Que versión ?
Usas Harbour ó xHarbour ? Que versión ?
Sigue dando el error.
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.
Que versión de Harbour estás usando ?
0.99.3 de xHarbour con Borland C++ 5.5.1
Lo estoy intentando compilar con la última versión de xHarbour pero me da el siguiente error en el enlazado:
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 ***
Has creado los dos ficheros de configuración de Borland ?
Que versión de FWH estás usando ?