FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour WHY...No exported method: END (Error)
Posts: 99
Joined: Fri Dec 16, 2011 03:30 PM

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

Posted: Sun May 17, 2020 08: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
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

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

Posted: 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
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM

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

Posted: Sun May 17, 2020 01:57 PM

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

Regards



G. N. Rao.

Hyderabad, India
Posts: 99
Joined: Fri Dec 16, 2011 03:30 PM

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

Posted: Sun May 17, 2020 02: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

Continue the discussion