Wait a minute, hold that - after this patch, you can't use Invoke any more to get and set the members of IFontDisp! With the current code, it works. Alexandre, please don't commit that yet.
Thanks, Walter
On Wed, 14 Sep 2005, Robert Shearman wrote:
Walt Ogburn wrote:
Changelog: Implement IFontDisp::GetIDsOfNames
You're not being lazy enough. All of this stuff can be easily implemented in one go using CreateStdDispatch, as long as you know how to use it. Try the attached patch.
Changelog: Return the standard font IDispatch interface created using CreateStdDispatch on top of a typelib instead of manually implementing the necessary methods.
-- Rob Shearman