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

Post Reply
User avatar
RiazKhan
Posts: 77
Joined: Fri Dec 16, 2011 3:30 pm
Location: Pakistan

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

Post by RiazKhan »

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
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

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

Post by Antonio Linares »

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
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

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

Post by nageswaragunupudi »

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

G. N. Rao.
Hyderabad, India
User avatar
RiazKhan
Posts: 77
Joined: Fri Dec 16, 2011 3:30 pm
Location: Pakistan

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

Post by RiazKhan »

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
Post Reply