🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.privacy.anon-server
1 messages
1 total messages Started by RProcess Thu, 04 Feb 1999 00:00
Re: DLL vs. OCX - What is the difference?
#6351
Author: RProcess
Date: Thu, 04 Feb 1999 00:00
33 lines
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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads