Basically, I have generated a .snk file and included it in my assembly
and my C# class inherits from ServicedComponent. The first time I
access my class it self registers (I didn't do anything to make that
happen). However, every time I build and then run again I have a new
entry in the Registry for the COM stuff and I'm getting gazillions of
entry's. How can I stop this and stick with only a single
registration.
Phil Wilson - 25 Sep 2003 18:28 GMT
Define a GUID for the Class, and for your interfaces if you're deriving from
one.
[Guid("some guid")]
public class yourclass etc etc

Signature
Phil Wilson [MVP Windows Installer]
----
> Basically, I have generated a .snk file and included it in my assembly
> and my C# class inherits from ServicedComponent. The first time I
[quoted text clipped - 3 lines]
> entry's. How can I stop this and stick with only a single
> registration.
Kevin Westhead - 25 Sep 2003 23:35 GMT
> Basically, I have generated a .snk file and included it in my assembly
> and my C# class inherits from ServicedComponent. The first time I
[quoted text clipped - 3 lines]
> entry's. How can I stop this and stick with only a single
> registration.
I assume you're talking about new registry entries under the following keys:
HKEY_CLASSES_ROOT\CLSID
HKEY_CLASSES_ROOT\Interface
HKEY_CLASSES_ROOT\TypeLib
You are probably seeing new Guids generated because either you're not
specifying your own Guids in code or you don't have a fixed version number
(a fixed version should prevent the auto-generated Guids from changing).

Signature
Kevin Westhead
Tia - 20 Nov 2005 15:32 GMT
START YOUR OWN E-MAIL BUSINESS TODAY and TAKE ADVANTAGE OF THE FOLLOWING:
1.ALL CUSTOMERS PAY YOU IN CASH!!!
2. TOP PART-TIME OWNERS HAVE EARNED $5,000+ IN ONE MONTH!
3. TOP FULL-TIME OWNERS HAVE EARNED $10,000+ IN ONE MONTH!
4. YOU WILL SELL A PRODUCT WHICH COSTS NOTHING TO PRODUCE!
5. YOUR MAIN OVERHEAD IS YOUR TIME!
6. YOUR START UP COSTS ARE LESS THAN $25
7. YOU HAVE MORE THAN 40 MILLION POTENTIAL CUSTOMERS
For additional information please E-mail me at saita@dodo.com.au
=====================================================
New Software that finds leads for YOU for F.R.E.E.!!!!!
http://www.contactthem.com/cgi-bin/at.cgi?a=316161
---
MAF Anti-Spam ID: 20051113184547I1n0UmZ7