W
Willy Denoyette [MVP]
glenn said:But what do you mean about the proper settings made for the COM server? I
have done nothing here but write a C# dll library. I have done nothing to
tell this I'm working on a COM server except for running the regasm
program
against it. Is there anything else in the program itself that must be
told
that this is a COM server?
Thanks,
glenn
When working from the commandline you compile using csc and register the
library as a COM server using Regasm.exe.
When building from a VS project, you have to set your project properties
such that the assembly gets registered as as COM server, else you only call
it from managed code and not from a native COM client.
Note that there are attributes you can set (and you better do) to make your
classes COM friendly (
must read : Exposing .NET Framework Components to COM in MSDN)
Willy.