General information
Category:
COM/DCOM and OLE Automation
Title:
Instance object COM+
Hi all !!
I have this class:
DEFINE CLASS msgcom as Custom OLEPUBLIC
PROCEDURE alerta
LPARAMETERS palerta
return(palerta + "(" + SYS(0) + ")" + DTOC(DATE()) )
ENDPROC
PROCEDURE alerta2
return('code of the object')
ENDPROC
ENDDEFINE
I don't obtain sucess when use the methods. I generated this class as objcom.dll e made the follow command:
ob = createobject("objcom.msgcom") && The object "ob" is created with sucess
ob.alerta('Lazaro') && The error occur: "Syntax error"
What is the problem ?
Thanks by help.
Lázaro Santos.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only