Error FWH_2407 DrXlsX32.lib

Error FWH_2407 DrXlsX32.lib

Postby vinhesoft » Thu Aug 15, 2024 11:48 am

good morning,

Error: Unresolved external '__streams' referenced from C:\DEVFW\FWH_2407\LIB\DRXLSX32_BCC.LIB|drawing
João Carlos
VinheSoft Informatica
BCC 7.7 - FHW 24.07 - Harbour 3.2.0dev (r2404101339) for BCC 7.7
vinhesoft
 
Posts: 36
Joined: Sat Sep 03, 2016 3:11 pm
Location: Campinas/SP-Brasil

Re: Error FWH_2407 DrXlsX32.lib

Postby karinha » Fri Aug 16, 2024 11:57 am

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7829
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Error FWH_2407 DrXlsX32.lib

Postby vinhesoft » Mon Aug 19, 2024 5:48 pm

João

Obrigado por responder.

deu certo assim, colocando no prg principal MAIN

#pragma BEGINDUMP

int _streams;

#pragma ENDDUMP

vlw
João Carlos
VinheSoft Informatica
BCC 7.7 - FHW 24.07 - Harbour 3.2.0dev (r2404101339) for BCC 7.7
vinhesoft
 
Posts: 36
Joined: Sat Sep 03, 2016 3:11 pm
Location: Campinas/SP-Brasil

Re: Error FWH_2407 DrXlsX32.lib

Postby karinha » Mon Aug 19, 2024 6:06 pm

Olá, você pode colocar, diretamente no fivewin.ch

https://forums.fivetechsupport.com/viewtopic.php?f=6&t=44312&p=268507&hilit=STREAMS&sid=8f20d2c816efa143aa1a3fe3eb14d5e1&sid=8f20d2c816efa143aa1a3fe3eb14d5e1#p268507

Este erro somente acontece com o HARBOUR, conforme relatos, no xHARBOUR isto não ocorre.

abs.

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7829
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Error FWH_2407 DrXlsX32.lib

Postby karinha » Mon Aug 19, 2024 6:15 pm

Se eu usasse os dois compiladores, faria assim:

Code: Select all  Expand view  RUN

#ifdef __HARBOUR__
#ifndef __XHARBOUR__
      #pragma BEGINDUMP
         #ifdef __HARBOUR__
         #if defined( __BORLANDC__ ) && __BORLANDC__ >= 0x0770
            int _streams;
         #endif
      #endif
#pragma ENDDUMP
#else
/* nada a fazer e xHarbour*/
/*xHarbour e super*/
#endif
#endif
 


Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7829
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Error FWH_2407 DrXlsX32.lib

Postby Enrico Maria Giordano » Tue Aug 20, 2024 4:20 pm

This would violate the "one definition rule", if your application consists of more than one module and each module does include "Fivewin.ch".
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 46 guests