Expose .net dll to Component Services
Hi all,
I created a .net dll which I need to expose and register with com components which will need to make this dll available to use for the web and applications installed.
Now to do this. I started out giving the dll a strong name.
Then, selected "Register for Com Interop" in the library properties.
Now this is where I'm stuck.
I registered the dll in the component services, but only the "vs generated methods" are shown. So I guess I have to "Expose" my functions in my DLL in order to use them in Component Services. I want to be able to call it through the web with asp pages using server.createobject
How will I do this?
Thanks
Thanks
Re: Expose .net dll to Component Services
check out this article.. not sure if you will need ALL of this or not.. but it should give you all the info you need
http://www.codeproject.com/dotnet/nettocom.asp
Re: Expose .net dll to Component Services
Thanks... I'll have a look at it.
Re: Expose .net dll to Component Services
You could also just use regasm.exe to generate a TLB file for yourself, and then access the TLB in your project. I don't know if that'd work in asp 3.0 though!