c# dcom component

  • Thread starter Thread starter mememe
  • Start date Start date
M

mememe

I have created a c# com component and it seems to work, however I am unable
to get it to show up on the dcomconfig, is it possible? what might I be
doing wrong?
 
Hi
a C# com should have the same normal com behavior
Did you expose a type library for your component (using tlbexp.exe)
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cptools/htm
l/cpgrftypelibraryexportertlbexpexe.asp
Here you are some links that discuss common issues with DCOMCNFG.EXE
http://home.no.net/svbug/emner/dcomcnfg_side1.htm
http://home.no.net/svbug/oppgaver/dcomcnfg_side2_q.htm

Mohamed Mahfouz
MEA Developer Support Center
ITworx on behalf of Microsoft EMEA GTSC
 
Mohamoss said:
Hi
a C# com should have the same normal com behavior
Did you expose a type library for your component (using tlbexp.exe)
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cptools/htm
l/cpgrftypelibraryexportertlbexpexe.asp
Here you are some links that discuss common issues with DCOMCNFG.EXE
http://home.no.net/svbug/emner/dcomcnfg_side1.htm
http://home.no.net/svbug/oppgaver/dcomcnfg_side2_q.htm

Mohamed Mahfouz
MEA Developer Support Center
ITworx on behalf of Microsoft EMEA GTSC

i read somewhere that you have to manually add some registry keys to make
the com component available on dcom, any idea what those might be?
 
Mohamoss said:
Hi
a C# com should have the same normal com behavior
Did you expose a type library for your component (using tlbexp.exe)
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cptools/htm
l/cpgrftypelibraryexportertlbexpexe.asp
Here you are some links that discuss common issues with DCOMCNFG.EXE
http://home.no.net/svbug/emner/dcomcnfg_side1.htm
http://home.no.net/svbug/oppgaver/dcomcnfg_side2_q.htm

Mohamed Mahfouz
MEA Developer Support Center
ITworx on behalf of Microsoft EMEA GTSC
turns out all i needed was to run C:\Program
Files\Microsoft.NET\SDK\v1.1\Samples\Technologies\Interop\Advanced\ComReg
 
Back
Top