Member not found error, only in xHarbour
Publicado: Mié May 18, 2011 10:12 pm
Hi,
I'm using some external objects from a vendor SDK. The objects don't
include source code. The initializations run fine ( CreateObject( "..."
), and some of the methods and properties seem ok.
But when I try to perform a Load method from one of the created objects,
there's a DISP_E_MEMBERNOTFOUND error.
This happens only in xHarbour. When using other languages, the Load
method runs fine.
Is there an alternative means of running a method from an existing
object, that can be tried here?
sProcessFile := "whatthe.tf.xml"
oProcess := CreateObject( "DJEC900.Project" )
oProcess:EnableLogging( .T. )
oProcess:Author( "WhyYou" )
sAuthor := oProcess:Author
// Fine, so far.
// Error occurs here:
oProcess:Load( sProcessFile )
I'm using some external objects from a vendor SDK. The objects don't
include source code. The initializations run fine ( CreateObject( "..."
), and some of the methods and properties seem ok.
But when I try to perform a Load method from one of the created objects,
there's a DISP_E_MEMBERNOTFOUND error.
This happens only in xHarbour. When using other languages, the Load
method runs fine.
Is there an alternative means of running a method from an existing
object, that can be tried here?
sProcessFile := "whatthe.tf.xml"
oProcess := CreateObject( "DJEC900.Project" )
oProcess:EnableLogging( .T. )
oProcess:Author( "WhyYou" )
sAuthor := oProcess:Author
// Fine, so far.
// Error occurs here:
oProcess:Load( sProcessFile )