WHY...No exported method: END (Error)

WHY...No exported method: END (Error)

Postby RiazKhan » Sun May 17, 2020 8:43 am

I don't know why this error occurs...

Error description: Error BASE/1004 No exported method: END

When I check my clients' user error log. I see many frequent errors with application terminated "No exported method: END"
What and how is this an error and how to fix this.....??

My source is as follows:

DEFINE DIALOG oGrns RESNAME "M_222"
REDEFINE BITMAP ID 9999 OF oGrns RESNAME "16_FBS" TRANSPARENT

REDEFINE LISTBOX (Listbox controls Here)
REDEFINE BUTTON (Buttons actons here )
REDEFINE BUTTON ID 415 OF oGrns ACTION oGrns:End()
ACTIVATE DIALOG oGrns CENTERED VALID (oGrns:=NIL, .T.)


Why this error...???

Application
===========
User Profile: DHA Delivery/OTM-SYS-03
Path and name: D:\NFS\PROGRAMS\FBS_NFS.EXE (32 bits)
Size: 8,893,440 bytes
Compiler
FiveWin
Builder
Windows

Time from start: 0 hours 0 mins 41 secs
Error occurred at: 17/05/2020, 13:16:42
Error description: Error BASE/1004 No exported method: END
Args:
[ 1] = U

Stack Calls
===========
Called from: => END( 0 )
Called from: .\M_222.PRG => (b)M_222( 206 )
Called from: .\source\classes\BUTTON.PRG => TBUTTON:CLICK( 179 )
Called from: .\source\classes\CONTROL.PRG => TBUTTON:HANDLEEVENT( 1781 )
Called from: .\source\classes\WINDOW.PRG => _FWH( 3559 )
Called from: => SENDMESSAGE( 0 )
Called from: .\source\classes\DIALOG.PRG => TDIALOG:COMMAND( 433 )
Called from: => TWINDOW:HANDLEEVENT( 0 )
Called from: .\source\classes\DIALOG.PRG => TDIALOG:HANDLEEVENT( 1136 )
Called from: => SYSREFRESH( 0 )
Called from: .\source\classes\DIALOG.PRG => TDIALOG:END( 701 )
Called from: .\M_222.PRG => (b)M_222( 206 )
Called from: .\source\internal\SKINS.PRG => FWSKINBTNLBUTTONDOWN( 237 )
Called from: => DIALOGBOX( 0 )
Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE( 304 )
Called from: .\M_222.PRG => M_222( 209 )
Called from: .\M_22.PRG => M_22( 5 )
Called from: .\M_MAIN.PRG => (b)BUILDTOOLBAR1( 278 )
FWH 20.04/Harbour3.2/Bcc7.40+/ilink32/Pelles 9.0
EMail: amriazkhan@gmail.com
Pakistan
User avatar
RiazKhan
 
Posts: 97
Joined: Fri Dec 16, 2011 3:30 pm
Location: Pakistan

Re: WHY...No exported method: END (Error)

Postby Antonio Linares » Sun May 17, 2020 10:29 am

Riaz,

What source code do you have here ?

Called from: .\M_222.PRG => (b)M_222( 206 )

It seems as you are send :End() to an object that it is already nil
regards, saludos

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

Re: WHY...No exported method: END (Error)

Postby nageswaragunupudi » Sun May 17, 2020 1:57 pm

Please remove "oGrns := NIL" in the valid clause.
Regards

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

Re: WHY...No exported method: END (Error)

Postby RiazKhan » Sun May 17, 2020 2:28 pm

Thanks All,

I will remove the oGrns:=Nil Valid Clause. In Fact, remove the entire Valid clause. [ VALID (oGrns:=NIL, .T.) ]
And monitor the results...

Regards
FWH 20.04/Harbour3.2/Bcc7.40+/ilink32/Pelles 9.0
EMail: amriazkhan@gmail.com
Pakistan
User avatar
RiazKhan
 
Posts: 97
Joined: Fri Dec 16, 2011 3:30 pm
Location: Pakistan


Return to FiveWin for Harbour/xHarbour

Who is online

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