Bug in TBar?

Bug in TBar?

Postby Enrico Maria Giordano » Tue Oct 16, 2007 7:47 am

With the latest libs I get

Code: Select all  Expand view
Error BASE/1004  Class: 'NIL' has no exported method: OBAR


running the following sample:

Code: Select all  Expand view
#include "Fivewin.ch"


FUNCTION MAIN()

    LOCAL oPrn

    PRINT oPrn PREVIEW
        PAGE
        ENDPAGE
    ENDPRINT

    RETURN NIL


EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby nageswaragunupudi » Tue Oct 16, 2007 8:10 am

Guess RPreview is checking for oBar of WndMain(). In this example WndMain() returns NIL. This is my guess but this is the most likely possiblity.

Mr. Antonio to Fix it in notime.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10622
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Postby nageswaragunupudi » Tue Oct 16, 2007 8:11 am

Sorry, I meant
Mt Antonio "can" fix in no time.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10622
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Postby Antonio Linares » Tue Oct 16, 2007 8:15 am

Fixed :-)

Thanks
regards, saludos

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

Postby Enrico Maria Giordano » Tue Oct 16, 2007 9:54 am

Sorry, now it gives

Code: Select all  Expand view
Error BASE/1004  Class: 'NIL' has no exported method: L2007


EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Antonio Linares » Tue Oct 16, 2007 10:02 am

Fixed, thanks Enrico :-)
regards, saludos

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

Postby nageswaragunupudi » Tue Oct 16, 2007 10:03 am

It is the same issue. The intention was to ascertain if the WndMain()'s oBar and oMsgBar's l2007 is true.

Another peaceful look at the code will bring out where all the nil checks are to be made.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10622
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Postby Antonio Linares » Tue Oct 16, 2007 10:04 am

Please check with the new LIBs just sent, thanks!
regards, saludos

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

Postby Enrico Maria Giordano » Tue Oct 16, 2007 10:06 am

Sorry, no change.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Antonio Linares » Tue Oct 16, 2007 10:11 am

Damn, I left one. Fixed :-)
regards, saludos

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

Postby Enrico Maria Giordano » Tue Oct 16, 2007 10:13 am

It's ok now, thank you.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 56 guests