XPPFATAL in set caption of a pushbutton

This forum is for eXpress++ general support.
Post Reply
Message
Author
c-tec
Posts: 379
Joined: Tue Apr 20, 2010 1:36 am
Location: SALZBURG/AUSTRIA
Contact:

XPPFATAL in set caption of a pushbutton

#1 Post 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




Rudolf Reinthaler
digital pen & paper systems
http://www.formcommander.net

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: XPPFATAL in set caption of a pushbutton

#2 Post by rdonnay »

Can you tell me what version of eXpress++ you are using?
The eXpress train is coming - and it has more cars.

c-tec
Posts: 379
Joined: Tue Apr 20, 2010 1:36 am
Location: SALZBURG/AUSTRIA
Contact:

Re: XPPFATAL in set caption of a pushbutton

#3 Post by c-tec »

Hello Roger,
I am using 255
regards
Rudolf
Rudolf Reinthaler
digital pen & paper systems
http://www.formcommander.net

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: XPPFATAL in set caption of a pushbutton

#4 Post 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.
Attachments
_dcxbutt.zip
(20.78 KiB) Downloaded 618 times
The eXpress train is coming - and it has more cars.

c-tec
Posts: 379
Joined: Tue Apr 20, 2010 1:36 am
Location: SALZBURG/AUSTRIA
Contact:

Re: XPPFATAL in set caption of a pushbutton

#5 Post by c-tec »

Hello Roger,
many thanks, I will try it
regards
Rudolf
Rudolf Reinthaler
digital pen & paper systems
http://www.formcommander.net

Post Reply