FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour posible solucion: error __streams al usar fwh<24.02 y bcc770
Posts: 1789
Joined: Tue Oct 11, 2005 05:01 PM

posible solucion: error __streams al usar fwh<24.02 y bcc770

Posted: Mon Mar 04, 2024 11:01 PM
Siguiendo las indicaciones de enrico al encontrarnos este error, cuando queremos usar bcc 7.70, con una version de fwh anterior a la 24.02
Unresolved external '__streams' referenced from D:\FWH\LIB\FIVEH.LIB|HARBOUR
he realizado este cambio al final del archivo fivewin.ch
Code (fw): Select all Collapse
#pragma BEGINDUMP
#ifdef __HARBOUR__
#if defined( __BORLANDC__ ) && __BORLANDC__ >= 0x0770
int _streams;
#endif
#endif
#pragma ENDDUMP
salu2
carlos vargas
Salu2

Carlos Vargas

Desde Managua, Nicaragua (CA)
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Re: posible solucion: error __streams al usar fwh<24.02 y bcc770

Posted: Tue Mar 05, 2024 06:34 AM

Gracias Carlos por el aporte!

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM

Re: posible solucion: error __streams al usar fwh<24.02 y bcc770

Posted: Tue Mar 05, 2024 08:58 AM

I would prefer to put that definition in a FWH .c file (if it is enough to solve the problem, please check). Otherwise it would be included in each PRG of a project.

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Re: posible solucion: error __streams al usar fwh<24.02 y bcc770

Posted: Tue Mar 05, 2024 05:20 PM

You are right Enrico

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1789
Joined: Tue Oct 11, 2005 05:01 PM

Re: posible solucion: error __streams al usar fwh<24.02 y bcc770

Posted: Wed Mar 06, 2024 03:30 AM

Antonio, sería posible entonces un archivo por ejemplo llamado fix.prg con el contenido que se indico y que se adicione a fiveh.lib?

Probaré y comento...

Salu2

Carlos Vargas

Desde Managua, Nicaragua (CA)
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Re: posible solucion: error __streams al usar fwh<24.02 y bcc770

Posted: Wed Mar 06, 2024 06:36 AM

Carlos,

No podemos hacer eso o generaríamos símbolos duplicados

Entiendo que la solución correcta es usar el compilador de C adecuado y de no poder actualizar debe ser una solución temporal del desarrollador

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1789
Joined: Tue Oct 11, 2005 05:01 PM

Re: posible solucion: error __streams al usar fwh<24.02 y bcc770

Posted: Wed Mar 06, 2024 12:38 PM

Entiendo..

Salu2

Carlos Vargas

Desde Managua, Nicaragua (CA)

Continue the discussion