Error using the buttonbar's "Float" function

Post Reply
User avatar
Marco Turco
Posts: 858
Joined: Fri Oct 07, 2005 12:00 pm
Location: London
Contact:

Error using the buttonbar's "Float" function

Post by Marco Turco »

Hi,
the following error appairs when I press the right mouse button and then I select the "Float" function.

Any solution ?

Thanks in advance.

Best Regards,

Marco Turco

-----


Application
===========
Path and name: K:\ACTIVEXP\ACTIVEXP.Exe (32 bits)
Size: 3,118,592 bytes
Time from start: 0 hours 0 mins 4 secs
Error occurred at: 20/01/2008, 21:35:16
Error description: Error BASE/1066 Argument error: conditional
Args:
[ 1] = U

Stack Calls
===========
Called from: MENU.PRG => TMENU:ADD(0)
Called from: PDMENU.PRG => (b)MENUEND(0)
Called from: => AEVAL(0)
Called from: PDMENU.PRG => MENUEND(0)
Called from: BAR.PRG => TBAR:FLOAT(0)
Called from: BAR.PRG => (b)TBAR:RBUTTONDOWN(0)
Called from: MENU.PRG => TMENU:ACTIVATE(0)
Called from: BAR.PRG => TBAR:RBUTTONDOWN(0)
Called from: => TWINDOW:HANDLEEVENT(0)
Called from: CONTROL.PRG => TBAR:HANDLEEVENT(0)
Called from: WINDOW.PRG => _FWH(0)
Called from: => WINRUN(0)
Called from: WINDOW.PRG => TMDIFRAME:ACTIVATE(0)
Called from: ACTIVE.PRG => MAIN(367)

System
======
CPU type: Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz 2000 Mhz
Hardware memory: 2038 megs

Free System resources: 90 %
GDI resources: 90 %
User resources: 90 %

Compiler version: xHarbour build 1.1.0 Intl. (SimpLex)
Windows version: 6.0, Build 6000

Windows total applications running: 72
1
2 MSCTFIME UI
3 Default IME
4 Start
5 CiceroUIWndFrame
6 Passaggio da un programma all'altro
7 Marco Turco
8 Menu Start
9 Software XP's Customers Monitor v.2.1
10 xMate - K:\ACTIVEXP\ACTIVEXP.xhp
11 TouchPad object helper window
12 syntax
13 Editor [K:\ACTIVEXP\SOURCE\ACTIVE.PRG]
14 Acer Empowering Technology
15 Skype™ - softwarexp
16 Actions
17 OnScreen Display Window
18 Debug window K:\ACTIVEXP\ACTIVEXP.Exe (0 errors, 0 warnings)
19 eNetWidget
20 Get Massage from ePM_DM
21 Icona di sistema rete
22 CL RC Engine3 Dummy Winidow
23 TF_FloatingLangBar_WndTitle
24 TrayIconManager
25 MCI command handling window
26 Form2
27 {878390AD-434B-41EE-9110-49B69E4398F9}
28 Skype™ Extras Manager
29 GDI+ Window
30 {A3533AC8-A133-43D6-A112-361167D254CC}
31 ChatManager
32 Acer eNet Management - eNMTray
33 Presentazione
34 Orologio
35 Calendario
36 AppBar Bullet
37 Windows Sidebar
38 C:\Users\Marco Turco\AppData\Roaming\Skype
39 SkyLibEx
40 DDE Server Window
41 .NET-BroadcastEventWindow.2.0.0.0.33c0d9d.0
42 .NET-BroadcastEventWindow.2.0.0.0.378734a.0
43 .NET-BroadcastEventWindow.2.0.0.0.11ecf05.0
44 eRecoveryAgent
45 SidebarBroadcastWatcher
46 {A7E495BF-9589-4a6e-8479-DDA2D8D3C05F}
47 PersistWndName
48 HkWndName
49 igfxtrayWindow
50 amUI
51 Product Message
52 HiddenFaxWindow
53 BluetoothNotificationAreaIconWindowClass
54 MS_WebcheckMonitor
55 MMDEVAPI Device Window
56 Misuratore alimentazione
57 DritekECWnd
58 IgfxExt_Wnd_Name
59 ESET NOD32 Antivirus
60 Launch Manager
61 eDSLoader
62 IAAMonitor Notify App
63 Touchpad driver tray icon window
64 Touchpad driver backward compatibility window
65 Touchpad driver helper window
66 Realtek HD Audio CPL for Vista
67 TaskEng - Processo del modulo di gestione dell'Utilità di pianificazione
68 DWM Notification Window
69 Windows Defender
70 BTTrayMainWindow
71 ePower_DMC
72 Program Manager

Variables in use
================
Procedure Type Value
==========================
TMENU:ADD
Param 1: O Class: TMENUITEM
Param 2: L .T.
Local 1: O Class: TMENU
Local 2: U
Local 3: U
Local 4: N 15735489
Local 5: U
Local 6: U
Local 7: N 2048
Local 8: U
Local 9: U
Local 10: N 0
(b)MENUEND
Param 1: O Class: TMENUITEM
Param 2: N 1
AEVAL
Param 1: A Len: 5
Param 2: B {|| ... }
MENUEND
Local 1: O Class: TMENU
Local 2: A Len: 5
TBAR:FLOAT
Local 1: O Class: TBAR
Local 2: O Class: TWINDOW
Local 3: O Class: TMDICLIENT
Local 4: O Class: TBAR
Local 5: U
Local 6: U
Local 7: U
Local 8: U
Local 9: U
Local 10: N 1
Local 11: N 3.00
(b)TBAR:RBUTTONDOWN
Param 1: O Class: TMENUITEM
TMENU:ACTIVATE
Param 1: N 25
Param 2: N 304
Param 3: O Class: TBAR
Local 1: L .T.
Local 2: O Class: TMENU
Local 3: A Len: 2
TBAR:RBUTTONDOWN
Param 1: N 25
Param 2: N 304
Param 3: N 2
Local 1: O Class: TBAR
Local 2: O Class: TMENU
TWINDOW:HANDLEEVENT
Param 1: N 516
Param 2: N 2
Param 3: N 1638704
TBAR:HANDLEEVENT
Param 1: N 516
Param 2: N 2
Param 3: N 1638704
Local 1: O Class: TBAR
_FWH
Param 1: N 1638704
Param 2: N 516
Param 3: N 2
Param 4: N 1638704
Param 5: N 3
Local 1: O Class: TBAR
WINRUN
Param 1: N 9241504
TMDIFRAME:ACTIVATE
Param 1: C "MAXIMIZED"
Param 2: U
Param 3: U
Param 4: U
Param 5: U
Param 6: U
Param 7: U
Param 8: B {|| ... }
Param 9: U
Param 10: U
Param 11: U
Param 12: U
Param 13: U
Param 14: U
Param 15: U
Param 16: U
Param 17: U
Param 18: U
Param 19: U
Local 1: O Class: TMDIFRAME
Local 2: U
Local 3: U
MAIN

Linked RDDs
===========
DBF
DBFFPT
DBFBLOB
DBFNTX

DataBases in use
================

Classes in use:
===============
1 HASHENTRY
2 HBCLASS
3 HBOBJECT
4 TSYSTEMINFO
5 TSTRUCT
6 TREG32
7 TFONT
8 TWINDOW
9 TMDIFRAME
10 TMENU
11 TMENUITEM
12 TBRUSH
13 TMDICLIENT
14 TCONTROL
15 TBAR
16 TRECT
17 TBTNBMP
18 TMSGBAR
19 TDIALOG
20 TMULTIGET
21 TCOMBOBOX
22 TGET
23 GET
24 TCLIPGET
25 TBUTTON
26 ERROR

Memory Analysis
===============
240 Static variables

Dynamic memory consume:
Actual Value: 0 bytes
Highest Value: 0 bytes
Best Regards,

Marco Turco
SOFTWARE XP LLP
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: Error using the buttonbar's "Float" function

Post by Enrico Maria Giordano »

The following sample doesn't show any problems:

Code: Select all

#include "Fivewin.ch"


FUNCTION MAIN()

    LOCAL oWnd

    DEFINE WINDOW oWnd

    DEFINE BUTTONBAR OF oWnd

    DEFINE BUTTON OF oWnd:oBar;
           ACTION oWnd:End()

    ACTIVATE WINDOW oWnd

    RETURN NIL
EMG
User avatar
Marco Turco
Posts: 858
Joined: Fri Oct 07, 2005 12:00 pm
Location: London
Contact:

Post by Marco Turco »

Hi Enrico,
I made a self-contained sample that show the problem at
www.softwarexp.co.uk/beta/sample.zip

Pls. press the mouse right button on the right of the button bar and select "Float". You will see that error.

Any ideas ?

Thanks in advance.

Best Regards,

Marco
Best Regards,

Marco Turco
SOFTWARE XP LLP
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Post by Enrico Maria Giordano »

Your EXE doesn't work here either but if I compile your PRG then it works fine. It seems there is a bug in your FWH release.

EMG
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Post by nageswaragunupudi »

I compiled your program with FWH 8.01. It works well without error. It is true that your exe gives error. Probably you should use later version of FWH
Regards

G. N. Rao.
Hyderabad, India
Post Reply