|
-
ActiveX DLL's vs. Classes
It's common practice in my shop to build ActiveX DLL's which contain frequently
used code (INI File access, etc.). I've been taught that it was better to
use common classes instead - easier to debug, simpler installation, etc.
Is there a reason to use DLL's instead? The only possible reason I can
think of is possible MTS - any others?
-
Re: ActiveX DLL's vs. Classes
Hi Jon -
I am a little unsure about your question. We normally recommend using common
classes and compiling them into an ActiveX DLL!
Deborah
jon wrote in message <38ff27c1$1@news.devx.com>...
>
>It's common practice in my shop to build ActiveX DLL's which contain
frequently
>used code (INI File access, etc.). I've been taught that it was better to
>use common classes instead - easier to debug, simpler installation, etc.
> Is there a reason to use DLL's instead? The only possible reason I can
>think of is possible MTS - any others?
-
Re: ActiveX DLL's vs. Classes
Thanks for the quick response. Here's what I mean: If you have common code
that is used in multiple projects (mostly WebClasses), would you want to
use ActiveX DLL's to encapsulate this common code, or would you want to use
classes?
My preference is to have a Common folder in VSS, with a data access class,
a file handling class, an error handling class, a membership class, etc.
These classes are then shared into new projects.
Another option is to create an ADO wrapper DLL, a file handling DLL, etc.,
and reference these in new projects.
What's your preference and why?
"Deborah Kurata" <deborahk@insteptech.com> wrote:
>Hi Jon -
>
>I am a little unsure about your question. We normally recommend using common
>classes and compiling them into an ActiveX DLL!
>
>Deborah
>
>jon wrote in message <38ff27c1$1@news.devx.com>...
>>
>>It's common practice in my shop to build ActiveX DLL's which contain
>frequently
>>used code (INI File access, etc.). I've been taught that it was better
to
>>use common classes instead - easier to debug, simpler installation, etc.
>> Is there a reason to use DLL's instead? The only possible reason I can
>>think of is possible MTS - any others?
>
>
-
Re: ActiveX DLL's vs. Classes
I prefer to have them compiled. That way that cannot be accidentally
changed. That allows allows correcting bugs and deploying updates to the
component without recompiling any of the applications that use it.
Good luck!
Deborah
jon wrote in message <38ff49c2$1@news.devx.com>...
>
>Thanks for the quick response. Here's what I mean: If you have common
code
>that is used in multiple projects (mostly WebClasses), would you want to
>use ActiveX DLL's to encapsulate this common code, or would you want to use
>classes?
>
>My preference is to have a Common folder in VSS, with a data access class,
>a file handling class, an error handling class, a membership class, etc.
> These classes are then shared into new projects.
>
>Another option is to create an ADO wrapper DLL, a file handling DLL, etc.,
>and reference these in new projects.
>
>What's your preference and why?
>
>"Deborah Kurata" <deborahk@insteptech.com> wrote:
>>Hi Jon -
>>
>>I am a little unsure about your question. We normally recommend using
common
>>classes and compiling them into an ActiveX DLL!
>>
>>Deborah
>>
>>jon wrote in message <38ff27c1$1@news.devx.com>...
>>>
>>>It's common practice in my shop to build ActiveX DLL's which contain
>>frequently
>>>used code (INI File access, etc.). I've been taught that it was better
>to
>>>use common classes instead - easier to debug, simpler installation, etc.
>>> Is there a reason to use DLL's instead? The only possible reason I can
>>>think of is possible MTS - any others?
>>
>>
>
Similar Threads
-
By Abhijeet Landge in forum .NET
Replies: 0
Last Post: 06-16-2001, 08:48 AM
-
By Jeff Peil in forum .NET
Replies: 6
Last Post: 03-04-2001, 09:56 AM
-
By Patrick Ireland in forum .NET
Replies: 0
Last Post: 03-03-2001, 01:19 PM
-
By Patrick Ireland in forum .NET
Replies: 0
Last Post: 03-03-2001, 11:57 AM
-
By Patrick Ireland in forum .NET
Replies: 0
Last Post: 03-02-2001, 09:31 PM
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
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks