FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Problem with TOLEAUTO
Posts: 368
Joined: Sun May 31, 2009 06:25 PM
Problem with TOLEAUTO
Posted: Fri Jul 06, 2012 11:22 PM
This line

Code (fw): Select all Collapse
oSheet:Range( oSheet:Cells( nL, 13 ), oSheet:Cells( nL, 14 ) ):Interior:ColorIndex := if( oSheet:Cells( nL, 13 ) = 0, Verde, Vermelho )


works with bcc but generate an error with msc and mingw.
Code (fw): Select all Collapse
   Compiler version: Harbour 3.2.0dev (Rev. 17445)
   FiveWin  Version: FWH 12.04

   Error description: Error BASE/1081  Erro nos parÆ’metros: +
   Args:
     [   1] = C        [   1] = O   
     [   2] = U


Any hint?
Regards,



André Dutheil

FWH 13.04 + HB 3.2 + MSVS 10
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Problem with TOLEAUTO
Posted: Mon Jul 09, 2012 09:29 AM

André,

Please try it with FWH 12.06, thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 368
Joined: Sun May 31, 2009 06:25 PM
Re: Problem with TOLEAUTO
Posted: Mon Jul 09, 2012 11:34 AM

Not renewed my FTDN yet. (Short on cash :cry: )

Regards,



André Dutheil

FWH 13.04 + HB 3.2 + MSVS 10
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Problem with TOLEAUTO
Posted: Mon Jul 09, 2012 12:00 PM

André,

The error mentions "+" but I don't see it in your code.

Could you try to simplify that expression and see if the error persist ? thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 368
Joined: Sun May 31, 2009 06:25 PM
Re: Problem with TOLEAUTO (Solved)
Posted: Mon Jul 09, 2012 04:06 PM

I linked xhb.lib from harbour before the FWH libs and everything works fine now. First try was to link xhbole.prg fron HARBOUR SVN and it worked too so I think the problem is legacy.prg from FWH. My script for BCC already linked xhb.lib first so the error did not show up. There is nothing related to compiler.

Regards,



André Dutheil

FWH 13.04 + HB 3.2 + MSVS 10
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Problem with TOLEAUTO
Posted: Mon Jul 09, 2012 06:18 PM

André,

Very good. In FWH 12.06 we have completely removed legacy* code :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion