FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Urgent problem in FWH 11.08 - Preview in Windows 7
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Urgent problem in FWH 11.08 - Preview in Windows 7
Posted: Thu Sep 01, 2011 02:50 PM
Hello,

If I make a preview in my application, running under Windows 7, I got an error which looks like this :

    Application
    ===========
       Path and name: C:\JUDA\JUDA_2.EXE (32 bits)
       Size: 7,229,440 bytes
       Time from start: 0 hours 0 mins 26 secs
       Error occurred at: 01/09/2011, 16:45:10
       Error description: Error BASE/1004  Class: 'NIL' has no exported method: RESIZE
       Args:
         [   1] = U  
         [   2] = O   TTOOLBAR
         [   3] = N   -425
         [   4] = N   -7

    Stack Calls
    ===========
       Called from:  => RESIZE(0)
       Called from: .\source\classes\CONTROL.PRG => TSAY:PAINTBACK(1573)
       Called from: .\source\classes\CONTROL.PRG => TSAY:COLORS(482)
       Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT(1692)
       Called from: .\source\classes\SAY.PRG => TSAY:HANDLEEVENT(214)
       Called from: .\source\classes\WINDOW.PRG => _FWH(3443)
       Called from:  => SENDMESSAGE(0)
       Called from: .\source\classes\WINDOW.PRG => (b)TWINDOW:TWINDOW(299)
       Called from:  => TTOOLBAR:CTLCOLOR(0)
       Called from:  => TWINDOW:HANDLEEVENT(0)
       Called from: .\source\classes\CONTROL.PRG => TTOOLBAR:HANDLEEVENT(1732)
       Called from: .\source\classes\WINDOW.PRG => _FWH(3443)
       Called from:  => DIALOGBOXINDIRECT(0)
       Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE(277)
       Called from: .\source\function\ERRSYSW.PRG => ERRORDIALOG(406)
       Called from: .\source\function\ERRSYSW.PRG => (b)ERRORSYS(31)
       Called from:  => RESIZE(0)
       Called from: .\source\classes\CONTROL.PRG => TSAY:PAINTBACK(1573)
       Called from: .\source\classes\CONTROL.PRG => TSAY:COLORS(482)
       Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT(1692)
       Called from: .\source\classes\SAY.PRG => TSAY:HANDLEEVENT(214)
       Called from: .\source\classes\WINDOW.PRG => _FWH(3443)
       Called from:  => SENDMESSAGE(0)
       Called from: .\source\classes\WINDOW.PRG => (b)TWINDOW:TWINDOW(299)
       Called from:  => TTOOLBAR:CTLCOLOR(0)
       Called from:  => TWINDOW:HANDLEEVENT(0)
       Called from: .\source\classes\CONTROL.PRG => TTOOLBAR:HANDLEEVENT(1732)
       Called from: .\source\classes\WINDOW.PRG => _FWH(3443)
       Called from:  => UPDATEWINDOW(0)
       Called from: .\source\classes\WINDOW.PRG => TWINDOW:ACTIVATE(979)
       Called from: PRG\Z-RPREV.PRG => TPREVIEW:ACTIVATE(180)
       Called from: PRG\Z-RPREV.PRG => RPREVIEW(1713)
       Called from: PRG\Z-PRINT.PRG => (b)TPRINTER:TPRINTER(244)
       Called from:  => TPRINTER:PREVIEW(0)
       Called from: PRG\Z-PRINT.PRG => PRINTEND(1023)
       Called from: PRG\RAPDOSBH.PRG => RDOSSFICHE(542)
       Called from: PRG\BEHDOSS1.PRG => (b)ACTDOS(282)
       Called from: .\source\classes\BUTTON.PRG => TBUTTON:CLICK(176)
       Called from: .\source\classes\CONTROL.PRG => TBUTTON:HANDLEEVENT(1674)
       Called from: .\source\classes\WINDOW.PRG => _FWH(3443)
       Called from:  => SENDMESSAGE(0)
       Called from: .\source\classes\DIALOG.PRG => TDIALOG:COMMAND(397)
       Called from:  => TWINDOW:HANDLEEVENT(0)
       Called from: .\source\classes\DIALOG.PRG => TDIALOG:HANDLEEVENT(947)
       Called from:  => DIALOGBOX(0)
       Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE(277)
       Called from: PRG\BEHDOSS1.PRG => ACTDOS(294)
       Called from: PRG\FGEGTL2.PRG => (b)BUILDBAR1(3232)
       Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:CLICK(466)
       Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:LBUTTONUP(663)
       Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT(1722)
       Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:HANDLEEVENT(1458)
       Called from: .\source\classes\WINDOW.PRG => _FWH(3443)
       Called from:  => WINRUN(0)
       Called from: .\source\classes\WINDOW.PRG => TWINDOW:ACTIVATE(995)
       Called from: PRG\JUDA.PRG => MAIN(843)[/list:u]

    This error does NOT happen in Windows XP.

    Since it is a very urgent problem for my customers, I hope a solution can be found very soon.

    Thank you in advance for any help.

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Urgent problem in FWH 11.08 - Preview in Windows 7
Posted: Thu Sep 01, 2011 05:46 PM
Thanks for pointing out. This happens for a themed application not having a main window or main window is not using 2007/2010 style or even _97look.

We shall soon fix this.

As a temporary work around, please include this statement at the very beginning of your application.
Code (fw): Select all Collapse
   RPrevUserBtns( nil, 2007 ) // or 2010
Regards



G. N. Rao.

Hyderabad, India
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Urgent problem in FWH 11.08 - Preview in Windows 7
Posted: Thu Sep 01, 2011 06:15 PM
Please comment out the define
Code (fw): Select all Collapse
#define TESTSIMPLE

at line no. 60 of control.prg
Regards



G. N. Rao.

Hyderabad, India
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Re: Urgent problem in FWH 11.08 - Preview in Windows 7
Posted: Thu Sep 01, 2011 06:35 PM

G.N. Rao,

Thank you very much for your help. It workes fine now.

But why is there any difference in behaviour between Windows XP en Windows 7?

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Continue the discussion