|
-
Nov 2nd, 2005, 09:55 AM
#1
Thread Starter
Addicted Member
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
Last edited by Tjoppie; Nov 2nd, 2005 at 09:58 AM.
Reason: Cause I wanted to say sum more
-
Nov 2nd, 2005, 10:29 AM
#2
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
-
Nov 3rd, 2005, 01:18 AM
#3
Thread Starter
Addicted Member
Re: Expose .net dll to Component Services
Thanks... I'll have a look at it.
-
Nov 3rd, 2005, 07:21 AM
#4
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!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|