For Programmers: Free Programming Magazines  


Home > Archive > C# > January 2005 > Unmanaged IServiceProvider









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Unmanaged IServiceProvider
Winston Kotzan

2005-01-26, 8:57 pm

I need to call IServiceProvider.QueryService() to get a COM component
(IWebbrowser2)...

The problem is that C# is trying to call the .NET managed
System.IServiceProvider interface, which does not have a QueryService()
method. How can I import the unmanaged COM IServiceProvider into C#?

Thanks.


--
--
Winston Kotzan
http://www.wakproductions.com/


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com