Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Blinker 5.10 Online Reference - <b> blilibovr()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 BLILIBOVR()
------------------------------------------------------------------------------
 Purpose:
 Force dynamically loaded DLL library functions to override EXE functions
 with the same name.

 Syntax:
 BLILIBOVR(lValue)

 Parameters:
 lValue  Enable / disable indicator.

 Returns:
 None.

 Description:
 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.

 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                                                                       

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

See Also: BLIFUNCAL() BLIFUNHAN() BLILIBFRE() BLILIBLOD()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson