Reputation: 1534
I'm using Visual Studio 2013 and have a number of DLL's that i need to add as refernces in my project. The references need to be of File Type ActiveX but whenever i add the reference to the project they just show as a .net class library.
I'Ve tried adding them as COM Components but it says the files cannot be loaded, i know the files are correct as i can see in another project on the same machine that they've been loaded.
Does anyone know how i can reference these DLL's as ActiveX file type?
Thanks.
Upvotes: 0
Views: 2602
Reputation: 379
You need to register each dll with regsvr32 "path_to_the_dll".
After that, you can add it as COM.
Upvotes: 1