Re: Newbie questions about Delphi...



Kevinp <kevinp@xxxxxxxxxx> wrote in
news:e3r7f41nirctchkdkok6vec7pd7b4c7a4c@xxxxxxx:

I'll probably dabble a little with Delphi when I have the time. When I
played with it before years ago, it was to create an auto-run program
for a CD. The Delphi executable would run straight off the CD, where
VB had to have the run-time files installed.

In other words, the Delphi program was statically linked.

Dynamic linking is generally a feature, in that it allows multiple programs
to share the same library code, both on disk and in memory. But it also can
be a burden in packaging, so one often chooses static linking to reduce the
number of files deployed.

In today's environment of massive memory and disks, saving space is no
longer so important. But dynamic linking also offers the potential
advantage of fixing the same library bug in many executables
simultaneously. I don't see this done much in the Windows world except in
the issuing of OS patches, but it's very common in the Linux world to
release 3rd party library fixes to address a system-wide issue. Then again,
in the Linux world, *everything* is 3rd party.
.



Relevant Pages

  • SF new article announcement: Dynamic linking in Linux and Windows, part one
    ... Dynamic linking in Linux and Windows, ... The NSA has designated Norwich University a center of Academic Excellence in Information Security. ...
    (Security-Basics)
  • SF new article announcement: Dynamic Linking in Linux and Windows, part two
    ... Dynamic Linking in Linux and Windows, ... Linux, and offers a walk through various data structures to explain how ... dynamic linking is done in these operating systems. ... The NSA has designated Norwich University a center of Academic Excellence in Information Security. ...
    (Security-Basics)
  • Re: Visual C++ 2005 Express wont link my tcl app
    ... I'm having a tough time getting my Tcl Library app to link under the Microsoft compiler on Windows. ... Those errors tell you that the Tcl C API isn't found by the linker, usually the case when you forget to link with the tcl library. ... I don't know whether this is a C vs. C++ problem related to mangling, or maybe a static vs. dynamic linking issue. ... In Linux, it works to just put -ltcl -ltk on the command line when linking. ...
    (comp.lang.tcl)
  • Re: Linking nsswitch apps statically?
    ... The Linux nsswitch.confsays: ... Well, excuse me, but requiring a user to have the same glibc version ... so dynamic linking isn't an option. ... Is the man page correct about Solaris? ...
    (comp.unix.programmer)