GetDllStatus
Flag = GetDllStatus(ImageIndex)
 
Parameters:

    ImageIndex = The DLL you wish to query
Returns:

    Flag = This flags holds the state of the DLL. 0 = Not in use, 1 = contains a DLL
 

      GetDllStatus() will return if a selected DLL exits or not.


Flags


      0 = DLL doesn't exist
      1 = DLL exists




FACTS:


      * none



Mini Tutorial:


      How to find out if a DLL number is in use

  
  
; Find a free DLL number
  MyDLL = GetFreeDll()
  
; print the current status: not in use = 0
  Print GetDllStatus(MyDLL)
  
; Load a DLL
  LoadDll "user32.dll",MyDLL
  
; print the current status again. This time: in use = 1
  Print GetDllStatus(MyDLL)
  
  
  Sync
  DeleteDll MyDLL
  WaitKey
  


This example would output.

  
  0
  1
  

 
Related Info: DeleteDll | GetFreeDll | LoadDll | NewAx :
 


(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com