createoleobject

Delphi SAPI Text-To-Speech

First of all: this is not a duplicate of http://stackoverflow.com/questions/1021490/delphi-and-sapi. I have a specific problem with the "SAPI in Delphi" subject. I have used the excellent Import Type-Library guide in Delphi 2009 to get a TSpVoice component in the component palette. This works great. With var SpVoice: TSpVoice; I c...

Delphi CreateOleObject events

Hello there is a code var myobject:OleVariant; begin myobject:=CreateOleObject('SomeNamespace.SomeClass'); end; this com object has event OnClick for example. How must I connect to them without importing tlb? Regards, Yuriy ...