I have implemented ITextHost and ITextServices as best I can figure.
Please see
http://rafb.net/paste/results/KfqiX234.html for the complete code to this. It's a mess as I'm experiementing trying to get this to work, and im not paying attention to neatness ;)
When I call CreateTextServices such like...
Dim thost As wre.ITextHost = New wre.MyTextHost(Me)
Dim o As Object = Nothing
wre.MainClass.CreateTextServices(Nothing, thost, o)
I recieve the following exception...
"An unhandled exception of type 'System.ExecutionEngineException' occurred in WindowsApplication1.exe"
To any onlookers, please feel free to use any of this code. If you do happen to get any of this working, PLEASE FOR THE LOVE OF PETE reply and let us know how you managed to.
Thanks!