Article View: alt.privacy.anon-server
Article #6351Re: DLL vs. OCX - What is the difference?
From: RProcess
Date: Thu, 04 Feb 1999 00:00
Date: Thu, 04 Feb 1999 00:00
33 lines
2624 bytes
2624 bytes
On 29 Jan 1999 09:14:14 +0100 Elisabeth van Aaring <Eva32@nym.alias.net> wrote: >Perhaps off-topic. But what is the difference between a DLL and an OCX? >For the programmer? >For the user? > >Thanks, Elisabeth > A DLL is a dynamic link library module - sort of a program which contains subprograms, each of which may be called (run) by programs. Windows comes with various DLLs to perform tasks for apps, and DLLs may also be written and added to the system. For example a DLL might contain a function to convert one data format to another. Any program which needs to make that conversion can call the function in the DLL. An OCX actually is implemented as a DLL (compiled to a DLL), but is based on Microsoft's COM (Component Object Module) interfaces, which is OLE's (Object Linking and Embedding) successor and is supported by various programming languages such VBasic and VC++. It allows programmers to access (eventual) DLL's as objects. An OCX is an OLE custom control, or more recently is an ActiveX control, which is a reusable program object (resuable in that many programs and programming languages can use the same objects). These objects reduce dev time and supposedly create more stability (although most of JBN's problems stem from them, ironically. But they are quite powerful.) For the user, DLL's and OCX's are system file dependencies. In order for an app to work correctly, the correct DLL's and OCX's must be installed and registered. Usually these are placed in \Windows\System. Also, the files must be up-to-date. When replacing DLL and OCX files, generally keep whichever is the newer (dated) file. Generally setup programs take care of replacement and registration for the user.
Technical Details
Message-ID:
<19990204090008.3890.qmail@nym.alias.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.security.pgp.mbox.zip!not-for-mailReferences:
<199901290814.JAA07823@replay.com>Show Full Headers
Complete Article Headers
Message-ID: <19990204090008.3890.qmail@nym.alias.net> Subject: Re: DLL vs. OCX - What is the difference? Date: Thu, 04 Feb 1999 00:00:00 +0000 From: RProcess <Use-Author-Address-Header@[127.1]> References: <199901290814.JAA07823@replay.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.security.pgp.mbox.zip!not-for-mail X-Deja-AN: 440520497 Author-Address: rprocess <AT> nym <DOT> alias <DOT> net Followup-To: alt.privacy.anon-server Organization: mail2news@nym.alias.net Mail-To-News-Contact: postmaster@nym.alias.net X-Potato-URL: http://www.bigfoot.com/~potatoware Newsgroups: alt.privacy.anon-server,alt.security.pgp,de.comm.software.forte-agent