FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour New FWH 15.04
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

New FWH 15.04

Posted: Sat Apr 25, 2015 07:45 AM
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM

Re: New FWH 15.04

Posted: Sat Apr 25, 2015 02:41 PM
Antonio

Please check Fivewin.ch line 1895 .. static declaration follows executable statement .. looks like that line ( example ) needs to be rem'ed out.

Also .. the use of :lTabLikeExcel has been fixed as well .. thanks Rao

Code (fw): Select all Collapse
WITH OBJECT oLbxB
        :lTabLikeExcel := .t.
END


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

Re: New FWH 15.04

Posted: Sat Apr 25, 2015 03:30 PM

Rick,

Before #include "FiveWin.ch" do you have some others headers files included or code ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM

Re: New FWH 15.04

Posted: Sat Apr 25, 2015 03:48 PM
Antonio

See attached screen shot .. line 1895 .. I rem'd out that line

Rick

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM

Re: New FWH 15.04

Posted: Sat Apr 25, 2015 04:41 PM

Mr Rick

Can you please help by providing a small example to reproduce this error? Or you may please refer to any prg in the samples folder that can reproduce the error.

Regards



G. N. Rao.

Hyderabad, India
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM

Re: New FWH 15.04

Posted: Sat Apr 25, 2015 04:44 PM

Rao

I was just re-compiling my programs and got the warning message about line 1895 .. static not allowed before executable .. in the above screenshot all I did was // rem out the line and the errors went away.

Let me see if I can reproduce the error.

Rick Lipkin

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM

Re: New FWH 15.04

Posted: Sat Apr 25, 2015 04:48 PM

I checked fivewin.ch and I did not find any executable statement before this line. Quite possible that I am wrong. That is the reason I am seeking your help.

Regards



G. N. Rao.

Hyderabad, India
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM

Re: New FWH 15.04

Posted: Sat Apr 25, 2015 04:57 PM
Rao

I found where the error occured during my recompile ..

Set Deleted On
#Include "FiveWin.ch"

in that order creates the error .. when I removed Set Deleted On .. the error went away .. Obviously "FiveWin.Ch" needs to go before any commands with FWH 1504 as this error did not occur in previous versions.

Simple code fix

"Include "FiveWin.Ch"
Set Deleted On

Rick
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM

Re: New FWH 15.04

Posted: Sat Apr 25, 2015 05:20 PM

Yes.
Also the proper place for "#include 'fivewin.ch'" is right at the top, even before the first function _LOGIN

Regards



G. N. Rao.

Hyderabad, India

Continue the discussion