As it is described here I'd like to use a DLL in my C program. The first two options I am considering are:
1. Host CLR
My problem here would be the note from this article:
Hosting methods provided by versions of the .NET Framework before the .NET Framework 4 are deprecated. We recommend that you use the interfaces introduced by the .NET Framework 4 and discussed in this topic.
In my case the DLL files are working under the .NET Framework 2.0 so this could be a problem in the first place.
- Does anybody know if I can do this anyway somehow?
2. Register for COM interop
The other option is using COM. In this case I would need to know what exactly does the option Register for COM interop in Visual Studio 2010. The DLL file is part of a library that our company also gives to customers. So what I need to know is:
- Which additional information are stored inside the DLL?
- Could there be a reason why a company would not want to register its DLLs for COM interop?
Thanks for any information!