I'm adding a COM interface to my application so that is can be driven from
Excel using VBA. Everything is fine untile now. I can add properties and
methods using typelibrary editor and implement them. Perfect.
Now I need to add a method taking a string parameter and returning an string
value.
I cannot figure out how to create that simple function using the typelibrary
editor. I'm sure it is simple but it is not as simple as creating a method
and telling it returns a BSTR...
Any help appreciated.
--
francoi...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be
> I cannot figure out how to create that simple function using
> the typelibrary editor.
Create a method with two BSTR parameters - the first marked as [in] and the
second marked as [out,retval].
Gsmbit
I new it was very simple :-)
Thanks, it works.