I'm trying to use the registration free com method to "register" a DLL created with C#. The Visual Studio project type used was a class library.
[ComVisible(true)]
public class Report
{
public Report() { }
public string display()
{
return "This is my report.";
}
}
is what the current DLL has to offer (trying to keep it simple). I have tried following this link from Microsoft but when I use the rc.exe tool it keeps saying that my manifest is not in 2.03 format (error RS2169). What should my manifest look like?
Basically, I'm struggling once I get my DLL created, what do I do in order to start using it with COM.
Any ideas?
Thank you.