Error compiling FiveDbu of FWH14.11

Error compiling FiveDbu of FWH14.11

Postby hua » Thu Dec 04, 2014 5:56 am

Hi Antonio,
I got an error when I try to compile fivedbu that comes with FWH14.11
--
hua

┌────────────────────────────────────────────────────────────────────────────┐
│ FiveWin for xHarbour 14.11 - Nov. 2014 xHarbour development power │▄
│ (c) FiveTech, 1993-2014 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7/8 │█
└────────────────────────────────────────────────────────────────────────────┘█
  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Compiling...
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Copyright 1999-2009, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'fivedbu.prg' and generating preprocessed output to 'fivedbu.ppo'...
fivedbu.prg(665) Error E0067 TRY section requires a CATCH or FINALLY handler
1 error

No code generated
* Compile errors *
FWH 11.08/FWH 19.12
BCC5.82/BCC7.3
xHarbour/Harbour
hua
 
Posts: 1070
Joined: Fri Oct 28, 2005 2:27 am

Re: Error compiling FiveDbu of FWH14.11

Postby Antonio Linares » Thu Dec 04, 2014 8:48 am

Hua,

Please insert this line in FiveDBU.prg line 665:

Code: Select all  Expand view
  if ! Empty( aValues )
      for n = 1 to oRS:Fields:Count
         try
            oRS:Fields[ n - 1 ]:Value = aValues[ n ]
         catch   // this one !!!
         end  
      next
   endif
 
regards, saludos

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

Re: Error compiling FiveDbu of FWH14.11

Postby hua » Thu Dec 04, 2014 8:56 am

Ok. Thanks Antonio.

Another thing that caught me by surprise was prev32.dll is no longer used :)
FWH 11.08/FWH 19.12
BCC5.82/BCC7.3
xHarbour/Harbour
hua
 
Posts: 1070
Joined: Fri Oct 28, 2005 2:27 am

Re: Error compiling FiveDbu of FWH14.11

Postby Antonio Linares » Thu Dec 04, 2014 8:59 am

Yes! ;-)

Hopefully soon, with the great help of Manuel (Mastintin), we may drop FreeImage.dll also :-)
regards, saludos

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


Return to FiveWin for Harbour/xHarbour

Who is online

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