# Module dynlib

This module implements the ability to access symbols from shared libraries. On POSIX this uses the `dlsym` mechanism, on Windows `LoadLibrary`.

# Types

    TLibHandle* = pointer

  a handle to a dynamically loaded library

# Procs

    proc LoadLib*(path: string): TLibHandle

  loads a library from path. Returns nil if the library could not be loaded.

    proc UnloadLib*(lib: TLibHandle)

  unloads the library lib

    proc symAddr*(lib: TLibHandle; name: string): pointer

  retrieves the address of a procedure/variable from lib. Returns nil if the symbol could not be found.

    proc checkedSymAddr*(lib: TLibHandle; name: string): pointer

  retrieves the address of a procedure/variable from lib. Raises EInvalidLibrary if the symbol could not be found.

Generated: 2012-09-23 21:47:54 UTC