Problem with TOLEAUTO

Problem with TOLEAUTO

Postby ADutheil » Fri Jul 06, 2012 11:22 pm

This line

Code: Select all  Expand view
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: Select all  Expand view

   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
ADutheil
 
Posts: 368
Joined: Sun May 31, 2009 6:25 pm
Location: Salvador - Bahia - Brazil

Re: Problem with TOLEAUTO

Postby Antonio Linares » Mon Jul 09, 2012 9:29 am

André,

Please try it with FWH 12.06, thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42089
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Problem with TOLEAUTO

Postby ADutheil » 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
ADutheil
 
Posts: 368
Joined: Sun May 31, 2009 6:25 pm
Location: Salvador - Bahia - Brazil

Re: Problem with TOLEAUTO

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 42089
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Problem with TOLEAUTO (Solved)

Postby ADutheil » Mon Jul 09, 2012 4: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
ADutheil
 
Posts: 368
Joined: Sun May 31, 2009 6:25 pm
Location: Salvador - Bahia - Brazil

Re: Problem with TOLEAUTO

Postby Antonio Linares » Mon Jul 09, 2012 6:18 pm

André,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42089
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 95 guests