The following sample
FUNCTION MAIN()
LOCAL oWord
oWord = CREATEOBJECT( "Word.Application" )
oWord:Documents:Add()
oWord:Visible = .T.
RETURN NIL
stops with
Error TOleAuto/65535 : TOLEAUTO:NEW
Called from THROW(0)
Called from TOLEAUTO:NEW(0)
Called from CREATEOBJECT(0)
Calle
Hi Enrico,
Il 15/09/2009 11.23, Enrico Maria Giordano ha scritto:
The following sample
FUNCTION MAIN()
LOCAL oWord
oWord = CREATEOBJECT( "Word.Application" )
oWord:Documents:Add()
oWord:Visible = .T.
RETURN NIL
stops with
Error TOleAuto/65535 : TOLEAUTO:NEW
Called from TH
Hi,
oWord = CREATEOBJECT( "Word.Application" )
oWord:Documents:Add()
oWord:Visible = .T.
RETURN NIL
stops with
Error TOleAuto/65535 : TOLEAUTO:NEW
Called from THROW(0)
Called from TOLEAUTO:NEW(0)
Called from CREATEOBJECT(0)
Called from MAIN(5)
It works fine using xHarbour. What a
-Messaggio Originale-
Da: "Mindaugas Kavaliauskas"
A: "Harbour Project Main Developer List."
Data invio: martedì 15 settembre 2009 13.55
Oggetto: Re: [Harbour] Error using OLE
I do not have Word for testing, but changing CreateObject() to
WIN_OleCreateObject()