Problems in FWH 2.8 using NOWAIT Dialogs

Post Reply
jbinfo
Posts: 7
Joined: Mon Aug 28, 2006 1:33 pm
Location: Brazil

Problems in FWH 2.8 using NOWAIT Dialogs

Post 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,
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post 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 ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
jbinfo
Posts: 7
Joined: Mon Aug 28, 2006 1:33 pm
Location: Brazil

Post 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)
Guilherme J.S. Gonçalves
JB Informática
Campinas - SP - Brasil
FWH 2.8 - xHarbour 0.99.6.1 - BCC 5.5
jbinfo
Posts: 7
Joined: Mon Aug 28, 2006 1:33 pm
Location: Brazil

Post 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
Guilherme J.S. Gonçalves
JB Informática
Campinas - SP - Brasil
FWH 2.8 - xHarbour 0.99.6.1 - BCC 5.5
Post Reply