Buenas, al compilar este ejemplo, me genera erro, que está errado?
Application
===========
Path and name: c:\FWH1306\samples\teste.exe (32 bits)
Size: 2,411,520 bytes
Compiler version: xHarbour 1.2.3 Intl. (SimpLex) (Build 20130422)
FiveWin Version: FWHX 13.05
Windows version: 6.1, Build 7601 Service Pack 1
Time from start: 0 hours 0 mins 0 secs
Error occurred at: 11/27/13, 12:57:15
Error description: Error BASE/3000 Argument error: __OBJSENDMSG
Args:
[ 1] = O 8769428
[ 2] = U
Stack Calls
===========
Called from: => __OBJSENDMSG( 0 )
Called from: => HB_EXECFROMARRAY( 0 )
Called from: .\source\function\HARBOUR.PRG => OLEINVOKE( 309 )
Called from: teste.prg => RUNEXPL( 21 )
Gracias, salu2
#include "FiveWin.ch"
Function RunExpl()
local hE := CreateOleObject("InternetExplorer.Application")
OLESetProperty(hE,"Visible", .T.)
OLESetProperty(hE,"ToolBar", .F.)
OLESetProperty(hE,"StatusBar", .F.)
OLESetProperty(hE,"MenuBar", .F.)
OLEInvoke(hE,"Navigate","http://www.cnn.com")
SysRefresh()
return nilApplication
===========
Path and name: c:\FWH1306\samples\teste.exe (32 bits)
Size: 2,411,520 bytes
Compiler version: xHarbour 1.2.3 Intl. (SimpLex) (Build 20130422)
FiveWin Version: FWHX 13.05
Windows version: 6.1, Build 7601 Service Pack 1
Time from start: 0 hours 0 mins 0 secs
Error occurred at: 11/27/13, 12:57:15
Error description: Error BASE/3000 Argument error: __OBJSENDMSG
Args:
[ 1] = O 8769428
[ 2] = U
Stack Calls
===========
Called from: => __OBJSENDMSG( 0 )
Called from: => HB_EXECFROMARRAY( 0 )
Called from: .\source\function\HARBOUR.PRG => OLEINVOKE( 309 )
Called from: teste.prg => RUNEXPL( 21 )
Gracias, salu2
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341