Nebulus, your comment helped me.
Many Thanks
Main Topics
Browse All TopicsDear Experts
There is a c# Project (class library) which has a bug. This ClassLib is referenced by an windows service. The service runs well since the bug is not really bad.
Well after I resolved the bug I have to recompile the class llibrary. Of course, I can recompile the Service and it's Setup and deinstall/reinstall the service. But it would be cool, if it is possible just to stop the service, replace the old ClassLib with the debugged one and start the Service again....ins't it?
Well i tried that and got the following message in the EventLog:
"Com object with CLSID XXXXXXXXXXXXXXXXXX is either not valid or not registered"
Is there an option in C# like in earlier times in VB the option "binary compatible"?
Many thanks for your answers
Alesch
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: Nebulus_Posted on 2003-03-14 at 05:34:07ID: 8135990
You have attributes like these:
BC0B-E474F 4C3C83F")]
BC0B-E474F 4C3C83E")]
library/de fault.asp? url=/libra ry/ en-us/c pguide/htm l/cpconapp lyinginter opattribut es.asp
[Guid("EAA4976A-45C3-4BC5-
public interface IComYourClass
{ ... }
[Guid("EAA4976A-45C3-4BC5-
public class YourClass: IComYourClass
{ ... }
in your class library?
If the attribute is omitted, a Guid is assigned automatically.
for more info see:
http://msdn.microsoft.com/