Home All Groups Group Topic Archive Search About

Com interfaces build in DotNet?

Author
3 Apr 2006 5:13 AM
Chip
Hi -

I know that this is a naive newbe question...

But I need to create a DotNet "something" that can be discovered
via a Com interface, and I'm not sure what type of "whatever" I
need to be making (or what to do with it when I'm done)

I have XP Pro and Studio 2005 (so I know this should be able to be
done), but there are so many options of things to create and I'm not
sure which type of what is for what. (A bit overwhelmed)

I have another piece of software that can "interrogate installed COM
exposed applications" and I've been tasked with creating the COM
side of an API so we can show/test the two things working together.

Any and ALL help is greatly appreciated.

Thanks in advance
Chip

Author
3 Apr 2006 10:19 AM
Ken Tucker [MVP]
Hi,

        Make sure the class is marked as com visible.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemruntimeinteropservicescomvisibleattributeclasstopic.asp

Use regasm to register at dot net dll

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cptools/html/cpgrfassemblyregistrationtoolregasmexe.asp

Ken
-----------
Show quoteHide quote
"Chip" <c***@tahitiplanet.com> wrote in message
news:1144041209.615669.176530@i40g2000cwc.googlegroups.com...
> Hi -
>
> I know that this is a naive newbe question...
>
> But I need to create a DotNet "something" that can be discovered
> via a Com interface, and I'm not sure what type of "whatever" I
> need to be making (or what to do with it when I'm done)
>
> I have XP Pro and Studio 2005 (so I know this should be able to be
> done), but there are so many options of things to create and I'm not
> sure which type of what is for what. (A bit overwhelmed)
>
> I have another piece of software that can "interrogate installed COM
> exposed applications" and I've been tasked with creating the COM
> side of an API so we can show/test the two things working together.
>
> Any and ALL help is greatly appreciated.
>
> Thanks in advance
> Chip
>