Antonio,
Still there. Its puzzling ! This had been rock solid for the past few years with xHarbour and suddenly I'm running into a problem ....
Tim
The exact error is: Destructors Disabled : Destructor of class 'TOLEAUTO' can't be executed
function OleInvoke( hObj, cMethod, uParam )
#ifndef __XHARBOUR__
return __ObjSendMsg( TOleAuto():New( hObj ), cMethod, uParam )
#else
local aParams := hb_aParams()
aParams[ 1 ] = TOleAuto():New( hObj )
return hb_execFromArray( @__ObjSendMsg(), aParams )
#endif
return NIL
function OleSetProperty( hObj, cPropName, uValue )
return __ObjSendMsg( TOleAuto():New( hObj ), "_" + cPropName, uValue )
function OleGetProperty( hObj, cPropName )
return __ObjSendMsg( TOleAuto():New( hObj ), cPropName )
function OleInvoke( hObj, cMethod, uParam )
#ifndef __XHARBOUR__
return __ObjSendMsg( TOleAuto():New( hObj ), cMethod, uParam )
#else
local aParams := hb_aParams()
local u
aParams[ 1 ] = TOleAuto():New( hObj )
u = hb_execFromArray( @__ObjSendMsg(), aParams )
aParams[ 1 ] = nil
return u
#endif
return NIL
function OleSetProperty( hObj, cPropName, uValue )
local o := TOleAuto():New( hObj )
local u := __ObjSendMsg( o, "_" + cPropName, uValue )
o = nil
return u
function OleGetProperty( hObj, cPropName )
local o := TOleAuto():New( hObj )
local u := __ObjSendMsg( o, cPropName )
o = nil
return u
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 49 guests