Results 1 to 5 of 5

Thread: Vat is a DLL?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2000
    Location
    Greenville
    Posts
    73
    Will someone define what a DLL (data link library - I know that part) does, is and any other important detail about what I can do with it or them? Hey thanks.

  2. #2
    Fanatic Member Ianpbaker's Avatar
    Join Date
    Mar 2000
    Location
    Hastings
    Posts
    696

    Cool

    On a very basic level a DLL is piece of code that can be used over and over again in a project. Hang on a minute you are probably saying that I can use a module to do the same, but where DLL's come into there own is that you can create a DLL and use it in any project you want and all you have to do is make a reference to it.

    For example

    You have a set of custom string functions that you need to use in 4 apps. Instead of creating a module or a class for each project, you can create a dll to store all these functions and make each app reference the DLL. This saves both Space and Time.

    Finally you can create DLL's to do just about anything you can think of. Most programs use Dll's because they dont't take up much space and also because when compliled dll's go down to almost machine code level and makes it virtually impossible for other people to find out how they were made. Thus keeping company secrets.

    Hope This helps

    Ian
    Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!

  3. #3
    Hyperactive Member Al Smith's Avatar
    Join Date
    May 1999
    Location
    Marcellus, MI. USA
    Posts
    330
    Hi,
    Although the following is not refering to VB or Windows apps, it gives a basic definition of DLLs.
    Al.


    In BAAN IV Tools, Dynamic Link Libraries (DLLs) are implemented. This
    means that functions for common use can be programmed in a library and
    linked to the object at function call at runtime.
    By implementing DLLs, the size of objects can be reduced to a minimum,
    because the standard program is no longer merged with each 4GL program
    script.

    To understand what DLLs means, consider for a moment the familiar 4GL
    function sprintf$(). In older versions, every program that uses sprintf$
    has a copy of it linked right in with the rest of the program. Just
    imagine how many programs are out there with copies of sprintf$ compiled
    inside them! So a lot of memory is wasted when each program has its own
    copies of sprintf$ and all the other standard functions. Since the
    copies are 100 per cent identical for all programs, why not find some
    way to share them? This is exactly what dynamic link libraries provide:
    a way to share functions among several programs running at the same
    time.

    DLLs provide other benefits besides sharing code. You can, for example,
    upgrade a function within a DLL without recompiling all the applications
    that use it.
    A computer is a tool, not a toy.

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Jan 2000
    Location
    Greenville
    Posts
    73
    Thanks for your good replies.

  5. #5
    Junior Member
    Join Date
    Apr 2000
    Posts
    17

    Cool dll = dynamic link library

    hi vbAMATEUR ( cause thats really what you are )

    A .dll-file is a library full with functions which is used by Windows. Everytime you, for example, click on an icon Windows load a function from, in this case, user32.dll.

    Best regrets PRGRMR

    -------------------------
    If you have any questions
    about VB, just send a mail to:
    [email protected]
    ----------------------------

    PRGRMR

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width