Problems in FWH 2.8 using NOWAIT Dialogs
Posted: Thu Oct 26, 2006 1:20 pm
Hello,
I've compiled the sources of the new fwh 2.8 version and I've noticed some problem with dialogs using the NOWAIT (or NOMODAL) clause.
When I've tried to run the program executable, I got a Windows error message, saying 'This program has performed an illegal operation and will be shut down.'
Here's a sample that I've make to try to simulate the error:
//---------------------------------------------------------------------------------//
function Main()
local oDlg
DEFINE DIALOG oDlg ;
FROM 1,10 TO 30,50 ;
TITLE "NoWait"
MsgInfo("Before ACTIVATE")
ACTIVATE DIALOG oDlg NOWAIT // error occurred at this line.
MsgInfo("After ACTIVATE")
return NIL
//---------------------------------------------------------------------------------//
I've already tried to recompile the DIALOG.PRG from the \FWH\SOURCE\CLASSES folder, but I've got no solution.
Can someone help me to figure this out?
Best Regards,
I've compiled the sources of the new fwh 2.8 version and I've noticed some problem with dialogs using the NOWAIT (or NOMODAL) clause.
When I've tried to run the program executable, I got a Windows error message, saying 'This program has performed an illegal operation and will be shut down.'
Here's a sample that I've make to try to simulate the error:
//---------------------------------------------------------------------------------//
function Main()
local oDlg
DEFINE DIALOG oDlg ;
FROM 1,10 TO 30,50 ;
TITLE "NoWait"
MsgInfo("Before ACTIVATE")
ACTIVATE DIALOG oDlg NOWAIT // error occurred at this line.
MsgInfo("After ACTIVATE")
return NIL
//---------------------------------------------------------------------------------//
I've already tried to recompile the DIALOG.PRG from the \FWH\SOURCE\CLASSES folder, but I've got no solution.
Can someone help me to figure this out?
Best Regards,