General information
Category:
ActiveX controls in VFP
Hello
I have problem when create object from Activex
When I directly call : o=CREATEOBJECT("sapi.SpSharedRecoContext") its work good.
But I need redefine "Recognition" event. So I create class
Define class "_sapi" As OLECONTROL
Procedure Recognition
Lparameters StreamNumber, StreamPosition, RecognitionType, Result
endproc
Enddefine
Now.. my CREATEOBJECT("_SAPI") or ADDOBJECT("_SAPI","sapi.SpSharedRecoContext") fail.. with error message
"Object class is invalid for this container."
Any ideas
Thanks
Denis
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