I think that your Checklog() function is sending events to the main dialog window.
If any events are occurring, then the window will not time out.
There is code in Checklog() that changes colors on the screen and the title bar.
This may be creating some events.
You can determine if this is the problem by putting the following in the first line of the _dlgHandler() function:
wtf DC_AppEventDefine(nEvent)
This will send event information out to a debug window.
If you do not move the mouse or use the keyboard you should not see any events.
I suspect that you are getting xbeP_Paint events.
Show me the code in your _DlgHandler() function.
TIMEOUT
Re: TIMEOUT
The eXpress train is coming - and it has more cars.
Re: TIMEOUT
Hallo Roger,
as I wrote, the TIMEOUT-Order only works when I deactivate the following line before it:
oLog:Start('CheckLog') with two slashes //
I enclosed the function CheckLog() two messages before.
Can you see why this blocks the executing of the line with the TIMEOUT-Order?
Best regards
Eckard
as I wrote, the TIMEOUT-Order only works when I deactivate the following line before it:
oLog:Start('CheckLog') with two slashes //
I enclosed the function CheckLog() two messages before.
Can you see why this blocks the executing of the line with the TIMEOUT-Order?
Best regards
Eckard
Re: TIMEOUT
Sorry Roger, I did not see your message from Okt 10.
Here is the Code, Michael used:
STATIC FUNCTION _DlgHandler ( nEvent, mp1, mp2, oXbp, oDialog, GetList )
IF nEvent = xbeP_Keyboard
IF mp1 = 27 // ESC
Ende()
return DCGUI_IGNORE
ENDIF
ENDIF
IF nEvent = xbeP_Close
Ende()
return DCGUI_IGNORE
ENDIF
return DCGUI_NONE
Here is the Code, Michael used:
STATIC FUNCTION _DlgHandler ( nEvent, mp1, mp2, oXbp, oDialog, GetList )
IF nEvent = xbeP_Keyboard
IF mp1 = 27 // ESC
Ende()
return DCGUI_IGNORE
ENDIF
ENDIF
IF nEvent = xbeP_Close
Ende()
return DCGUI_IGNORE
ENDIF
return DCGUI_NONE
Re: TIMEOUT
Hallo
I inserted the debug-code as you wrote me.
Even when I do nothing the lines in the debug-window are running.
I enclose a JPG with a print.
Perhaps there is the mistake
I inserted the debug-code as you wrote me.
Even when I do nothing the lines in the debug-window are running.
I enclose a JPG with a print.
Perhaps there is the mistake
- Attachments
-
- Xbase++ Spooled Print Job_Page_1.jpg (589.14 KiB) Viewed 11752 times
Re: TIMEOUT
Hallo,
Michael integrated two sleep() sequences in the CheckLog() function.
sleep(50) and sleep(10)
When I use instead the (50) a (500) it works but the TIMEOUT where I gave in 5 seconds needs 30 seconds. What can I do to have the exact 5 seconds or 600 etc.??
Eckard
Michael integrated two sleep() sequences in the CheckLog() function.
sleep(50) and sleep(10)
When I use instead the (50) a (500) it works but the TIMEOUT where I gave in 5 seconds needs 30 seconds. What can I do to have the exact 5 seconds or 600 etc.??
Eckard
Re: TIMEOUT
I don't think we are going to solve this problem by a lot of postings in this forum.
I suggest that you call me on Skype.
Do you have Skype?
You will also need TeamViewer. It is free.
Try calling after 9:00 am MDT. That should be about 6 pm your time.
I suggest that you call me on Skype.
Do you have Skype?
You will also need TeamViewer. It is free.
Try calling after 9:00 am MDT. That should be about 6 pm your time.
The eXpress train is coming - and it has more cars.
Re: TIMEOUT
Hallo, is it possible today? How can I call you via Skype?rdonnay wrote:I don't think we are going to solve this problem by a lot of postings in this forum.
I suggest that you call me on Skype.
Do you have Skype?
You will also need TeamViewer. It is free.
Try calling after 9:00 am MDT. That should be about 6 pm your time.
Eckard
Re: TIMEOUT
It's too late to call today.
You need to add my Skype name to your contacts: roger.donnay
Then you can click on the green phone to call me.
It is better that you call me tomorrow (Thursday).
You can also call me by telephone if you wish to pay for the call.
You need to add my Skype name to your contacts: roger.donnay
Then you can click on the green phone to call me.
It is better that you call me tomorrow (Thursday).
You can also call me by telephone if you wish to pay for the call.
The eXpress train is coming - and it has more cars.