Page 1 of 1

XPPFATAL in set caption of a pushbutton

Posted: Mon Nov 05, 2012 12:50 am
by c-tec
Hello,
I get somtimes errors when setting the caption of a pushbutton. I check the type of the object and also the status, what can I do more to prevent this errors ?
regards
Rudolf

Code: Select all

FATAL ERROR LOG
Error within the error handling!
SYS Thread-ID: 976 
Module: EXE
Error Codes: EH: 1006 Sub: 0(0) OS: 0 XPP: 15
Call Stack of Thread 1 (772):
@DC_GETLIST@I@EVENTLOOP(3963)
@DC_GETLIST@I@READGUI(3677)
DC_READGUI(101)
FORMCOMMANDER(3843)
(B)TaskBarMenu(970)
@DC_GETLIST@I@READGUI(3630)
DC_READGUI(101)
TASKBARMENU(970)
PROG_START(613)
PROGMAIN(128)
MAIN(79)
Call Stack of GUI Thread (976):
@DC_XBPPUSHBUTTONXP@I@DRAW(526)
@XBPPUSHBUTTON@I@HANDLEEVENT(968)
Call Stack of Thread 3 (1660):
@XBHTTPTHREAD@I@INIT(3581)
@XBSERVER@I@ACCEPT(3086)
@XBSERVER@I@EXECUTE(3198)
Call Stack of Thread 4 (2148):
@DC_XBPPUSHBUTTONXP@I@CONFIGURECAPTIONARRAY(1747)
@DC_XBPPUSHBUTTONXP@I@SETCAPTION(1484)
SET_MSG(1394)
CALLEVENT(4663)
READ_MAILSLOT(442)
@FCSYSTHREAD@I@EXECUTE(702)
Call Stack of Thread 5 (3068):
@JD_MAGICHELPTHREAD@I@EXECUTE(67)
(B)@JD_MAGICHELPTHREAD@I@INIT@0000(36)
Call Stack of Thread 6 (76544):
File: c:\FormCommander\FormCommander.exe
TimeStamp: 20121104 21:05
End of FATAL ERROR LOG.

/* Programmcode
if valtype(oMSGSAY) = "O" .and. oMSGSAY:status() > 0
                         if pcount() > 0
                              oMSGSAY:setcaption(XTOC(cMsg))

/* Code für den Pushbutton
@ 3,1 DCPUSHBUTTONXP STATIC ACTION {||bu1_action()} CAPTION "" SIZE DCGUI_PARENTWIDTH-62,1.2 RESIZE DCGUI_RESIZE_REPOSONLY_Y OBJECT oMsgSay  COLOR {||bu_color(1)} FONT "10.Arial bold italic"  ACCELKEY  xbeK_F1 CONFIG CFGSTATUS





Re: XPPFATAL in set caption of a pushbutton

Posted: Mon Nov 05, 2012 7:40 am
by rdonnay
Can you tell me what version of eXpress++ you are using?

Re: XPPFATAL in set caption of a pushbutton

Posted: Wed Nov 07, 2012 12:20 am
by c-tec
Hello Roger,
I am using 255
regards
Rudolf

Re: XPPFATAL in set caption of a pushbutton

Posted: Wed Nov 07, 2012 8:42 am
by rdonnay
I think that problem was fixed in 256.

Copy the attached file to your \exp19\source\dclipx directory and rebuild dclipx.dll by running build19_sl1.bat.

Re: XPPFATAL in set caption of a pushbutton

Posted: Thu Nov 08, 2012 5:11 am
by c-tec
Hello Roger,
many thanks, I will try it
regards
Rudolf