FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Problems in FWH 2.8 using NOWAIT Dialogs
Posts: 7
Joined: Mon Aug 28, 2006 01:33 PM
Problems in FWH 2.8 using NOWAIT Dialogs
Posted: Thu Oct 26, 2006 01: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,

Guilherme J.S. Gonçalves

JB Informática

Campinas - SP - Brasil

FWH 2.8 - xHarbour 0.99.6.1 - BCC 5.5
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Problems in FWH 2.8 using NOWAIT Dialogs
Posted: Thu Oct 26, 2006 04:18 PM

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 ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 7
Joined: Mon Aug 28, 2006 01:33 PM
Problems in FWH 2.8 using NOWAIT Dialogs
Posted: Fri Oct 27, 2006 12:52 PM

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)

Guilherme J.S. Gonçalves

JB Informática

Campinas - SP - Brasil

FWH 2.8 - xHarbour 0.99.6.1 - BCC 5.5
Posts: 7
Joined: Mon Aug 28, 2006 01:33 PM
Problems in FWH 2.8 using NOWAIT Dialogs
Posted: Fri Oct 27, 2006 01:15 PM

I've solved the problem!
Just reinstalled the xHarbour 0.99.6.1 (from the FWH 2.8) and recompiled the sources!

Regards,
Grato

Guilherme J.S. Gonçalves

JB Informática

Campinas - SP - Brasil

FWH 2.8 - xHarbour 0.99.6.1 - BCC 5.5

Continue the discussion