Page 1 of 1

Problems in FWH 2.8 using NOWAIT Dialogs

Posted: Thu Oct 26, 2006 1:20 pm
by jbinfo
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,

Posted: Thu Oct 26, 2006 4:18 pm
by Antonio Linares
We have just tested your code using FWH 2.8 with both Harbour and xHarbour and it works ok.

Have you modified the FWH classes source code ?

Posted: Fri Oct 27, 2006 12:52 pm
by jbinfo
Ok Antonio.

I'm grateful for your attention.

So I'm gonna try to recompile the sources cuz' I didn't modified'em anyway.


Could it be a problem with my xHarbour version? (0.99.6.1)

Posted: Fri Oct 27, 2006 1:15 pm
by jbinfo
I've solved the problem!
Just reinstalled the xHarbour 0.99.6.1 (from the FWH 2.8) and recompiled the sources!

Regards,
Grato