-
Please explain...COM / DLL
Hello,
Can someone please tell me the exact differences between a DLL and a COM?
If I wrote a DLL using, say, C++, is it possible to link to this DLL in a
web page? If so, how?
Thanks a lot,
Kent
-
Re: Please explain...COM / DLL
In really simplistic terms -
Com is a method of wrapping objects to make them com compliant, thus a C++
dll could be access from ASP, VB, C++, JAVA etc. DLL's written in a com
compliant language (like C++) can be accessed from any other com compliant
language. You normally dont need to d the actual wrapping - the dev tools
do that for you, so a VB DLL for instance is already a COM DLL.
Regards
John Timney (MVP)
Kent <kentcb@hotmail.com> wrote in message news:394edf1e$1@news.devx.com...
>
> Hello,
>
> Can someone please tell me the exact differences between a DLL and a COM?
>
> If I wrote a DLL using, say, C++, is it possible to link to this DLL in a
> web page? If so, how?
>
> Thanks a lot,
>
> Kent
-
Re: Please explain...COM / DLL
To anwser the question about how to use it in a web page. You instatiate
it just like any other dll. SET variable = Server.CreateObject("YourDllName.ClassName")
Then to access a property, function, or method just:
variable.YourFunction()
Easy as making pie
D
"John Timney (MVP)" <timneyj@btinternet.com> wrote:
>In really simplistic terms -
>
>Com is a method of wrapping objects to make them com compliant, thus a C++
>dll could be access from ASP, VB, C++, JAVA etc. DLL's written in a com
>compliant language (like C++) can be accessed from any other com compliant
>language. You normally dont need to d the actual wrapping - the dev tools
>do that for you, so a VB DLL for instance is already a COM DLL.
>
>Regards
>
>John Timney (MVP)
>
>
>Kent <kentcb@hotmail.com> wrote in message news:394edf1e$1@news.devx.com...
>>
>> Hello,
>>
>> Can someone please tell me the exact differences between a DLL and a COM?
>>
>> If I wrote a DLL using, say, C++, is it possible to link to this DLL in
a
>> web page? If so, how?
>>
>> Thanks a lot,
>>
>> Kent
>
>
-
Re: Please explain...COM / DLL
missed that bit - thanks Don ... nice Pie
Regards
John Timney (MVP)
Don <don.wolthuis@codejunkies.net> wrote in message
news:395a205f$1@news.devx.com...
>
> To anwser the question about how to use it in a web page. You instatiate
> it just like any other dll. SET variable =
Server.CreateObject("YourDllName.ClassName")
>
> Then to access a property, function, or method just:
> variable.YourFunction()
>
> Easy as making pie
>
> D
>
> "John Timney (MVP)" <timneyj@btinternet.com> wrote:
> >In really simplistic terms -
> >
> >Com is a method of wrapping objects to make them com compliant, thus a
C++
> >dll could be access from ASP, VB, C++, JAVA etc. DLL's written in a com
> >compliant language (like C++) can be accessed from any other com
compliant
> >language. You normally dont need to d the actual wrapping - the dev
tools
> >do that for you, so a VB DLL for instance is already a COM DLL.
> >
> >Regards
> >
> >John Timney (MVP)
> >
> >
> >Kent <kentcb@hotmail.com> wrote in message
news:394edf1e$1@news.devx.com...
> >>
> >> Hello,
> >>
> >> Can someone please tell me the exact differences between a DLL and a
COM?
> >>
> >> If I wrote a DLL using, say, C++, is it possible to link to this DLL in
> a
> >> web page? If so, how?
> >>
> >> Thanks a lot,
> >>
> >> Kent
> >
> >
>
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
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|