[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 BLILIBOVR()                   Force dynamically loaded DLL library functions to override EXE functions with same name
------------------------------------------------------------------------------

 Function : Force dynamically loaded DLL library functions to override EXE
            functions with the same name

 Syntax   : BLILIBOVR(lValue)

 Return   : None

 This function is used to force CA-Clipper functions in a dynamically loaded
 DLL to override functions of the same name in the main .EXE, allowing
 replacement of existing functions with new ones.

 CA-Clipper's default behaviour is for functions in the main .EXE file to
 take priority over functions of the same name in DLLs.

 This function would typically be called once at the start of the program,
 but it can also be used to change the setting for individual DLLs as
 required.

 Please see Chapter 5, 'DOS extended / Dual Mode programs', for more details
 on using DLLs.

 Example:

    BLILIBOVR(.T.)                // Force DLL to override EXE
    libhan = BLILIBLOD (dllnme)      // Dynamically load the DLL
    if libhan > 32                // If it loaded successfully
       funhan = BLIFUNHAN (libhan,funnme)  // Get the handle
       if funhan > 0              // If the function was found
                      // Call function with (multiple) params
          funres = BLIFUNCAL (funpa1,funpa2,funhan)
                         // Note that function handle is LAST
       endif
    endif

See Also: BLIFUNCAL() BLIFUNHAN() BLILIBFRE() BLILIBLOD()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson