> I think I've solved it.
> >-----Original Message-----
[quoted text clipped - 65 lines]
> >
> >.
Ok, here goes:
It was just plain incompetence. I needed to define a coclass that
pointed to the MS 'Group Policy Object'.
I created an instance of this coclass and casted it to IGroupPolicyObject.
The example that helped me was this msdn example:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/csref/html/vcwl
kCOMInteropPart1CClientTutorial.asp
Scroll down to the 'Example 2: The C# Code Approach' section.
One way to find the guid id:s for the interfaces and classes that one wishes
to define
is to look in the appropriate *.h-files.
> Lars,
>
[quoted text clipped - 73 lines]
> > >
> > >.
Andreas H?kansson - 01 Apr 2004 23:33 GMT
Lars,
Cheers =)
//Andreas
> Ok, here goes:
>
> It was just plain incompetence. I needed to define a coclass that
> pointed to the MS 'Group Policy Object'.
> I created an instance of this coclass and casted it to IGroupPolicyObject.
> The example that helped me was this msdn example:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/csref/html/vcwl
kCOMInteropPart1CClientTutorial.asp
> Scroll down to the 'Example 2: The C# Code Approach' section.
> One way to find the guid id:s for the interfaces and classes that one wishes
[quoted text clipped - 79 lines]
> > > >
> > > >.