Antonio,
The line that generates that error is:
oActiveX = TActiveX():New( oWnd, "Shell.Explorer" )
Here is the error log:
Application
===========
Path and name: D:\xHB\bin\webexp.exe (32 bits)
Size: 1,504,768 bytes
Time from start: 0 hours 0 mins 1 secs
Error occurred at: 04/27/06, 09:03:38
Error description: Error BASE/1004 Class: 'NUMERIC' has no exported method: HWND
Args:
Stack Calls
===========
Called from: => HWND(0)
Called from: TActiveX.prg => TACTIVEX:NEW(0)
Called from: TActiveX.prg => CREATEACTIVEX(184)
Called from: TActiveX.prg => TACTIVEX:NEW(0)
Called from: webexp.prg => MAIN(11)
System
======
CPU type: Intel(R) Pentium(R) 4 CPU 3.20GHz 3200 Mhz
Hardware memory: 1023 megs
Free System resources: 90 %
GDI resources: 90 %
User resources: 90 %
Compiler version: xHarbour build 0.99.61 Intl. (SimpLex)
Windows version: 5.1, Build 2600 Service Pack 2
Windows total applications running: 35
1
2 SysFader
3 Start Menu
4 DirectDBNotifyWndProc
5 Outlook Express FolderSync Window Class
6 Outlook Express NewsStore
7 DirectDBListenWndProc
8 Norton AntiVirus
9 FiveWin ActiveX Support
10 xBuild - D:\xHB\bin\webexp.exe.xbp
11 Multi-Edit - [D:\FWH\SAMPLES\webexp.prg]
12 MCI command handling window
13 DDE Server Window
14 ThorConnWndClass
15 Identity Mgr Notify
16 WAB Notification Window
17 WOWExec
18 Microsoft ActiveSync
19 DefAlert_Window_29DABAC8-AB93-43f3-926D-1DDE0C909FDF
20 WCES Manager Thunk Window
21 DirectCD
22 DccMan
23 SigmatelSysTray
24 Connections Tray
25 ccApp
26 Power Meter
27 MS_WebcheckMonitor
28 UnErase Process
29 ATI video bios poller
30 ACT!
31 VCERuntime
32
www.FiveTechSoft.com :: View topic - ActiveX & xHarbour - Microsoft Internet Explorer
33 Command Prompt
34 xHarbour - Outlook Express
35 Program Manager
Variables in use
================
Procedure Type Value
==========================
HWND
Local 1: U
Local 2: U
Local 3: N 0
TACTIVEX:NEW
Param 1: N 1312076
Param 2: C "Shell.Explorer"
Param 3: O Class: TACTIVEX
Param 4: U
Local 1: U
Local 2: U
CREATEACTIVEX
Param 1: N 1312076
Param 2: C "Shell.Explorer"
Param 3: O Class: TACTIVEX
Local 1: U
Local 2: U
Local 3: C "Shell.Explorer"
Local 4: N 0
Local 5: O Class: ERROR
Local 6: O Class: SHELL.EXPLORER.1
Local 7: N 1330792
Local 8: N 1406416
Local 9: O Class: TYPELIB
Local 10: C "{D30C1661-CDAF-11D0-8A3E-00C04FC9E26E}"
TACTIVEX:NEW
Param 1: O Class: TWINDOW
Param 2: C "Shell.Explorer"
Local 1: O Class: TACTIVEX
Local 2: U
Local 3: O Class: TACTIVEX
MAIN
Local 1: O Class: TWINDOW
Local 2: U
Local 3: C ""
Linked RDDs
===========
DBF
DBFFPT
DBFNTX
DataBases in use
================
Classes in use:
===============
1 HBCLASS
2 HBOBJECT
3 TWINDOW
4 TBRUSH
5 TFONT
6 TCONTROL
7 TACTIVEX
8 TYPELIB
9 ENUMTYPEINFO
10 CONSTANTTYPEINFO
11 OBJECTTYPEINFO
12 INTERFACETYPEINFO
13 METHODTYPEINFO
14 ARGUMENTTYPEINFO
15 PROPERTYTYPEINFO
16 TOLEAUTO
17 OLEWRAPPER
18 OLEXWRAPPER
19 SHELL.EXPLORER.1
20 {EAB22AC3-30C1-11CF-A7EB-0000C05BAE0B}
21 {D30C1661-CDAF-11D0-8A3E-00C04FC9E26E}
22 SHELL.EXPLORER.2
23 {8856F961-340A-11D0-A96B-00C04FD705A2}
24 {D30C1661-CDAF-11D0-8A3E-00C04FC9E26E}.IWEBBROWSER2
25 {D30C1661-CDAF-11D0-8A3E-00C04FC9E26E}.IWEBBROWSER
26 {EAB22AC1-30C1-11CF-A7EB-0000C05BAE0B}
27 ERROR
28 TREG32
Memory Analysis
===============
126 Static variables
Dynamic memory consume:
Actual Value: 0 bytes
Highest Value: 0 bytes