GetDllFileName$
filename$ = GetDllFileName$(DllIndex)
 
Parameters:

    DllIndex = The Index of the dll you wish to query
Returns:

    filename$= The filename of this loaded dll
 

      The GetDllFileName$ function returns the filename of this dll.




FACTS:


      * none



Mini Tutorial:


      This example loads the user32.dll into memory then it displays it status and filename.

  
  
  
; Ask PlayBASIC for the Image Index that is currently free for use.
  User32 = GetFreeDll()
  
; Use this index to load the user32.dll
  LoadDll "user32.dll", User32
  
; display the status of the loaded dll
  Print GetDllStatus(user32)
  
; Get the Filename of this loaded DLL
  Print     GetDllFileName$(USer32)
  
  
  Sync
  WaitKey
  
; Delete the DLL from memory
  DeleteDll user32
  




This example would output.

  
  1
  user32.dll
  
  

 
Related Info: GetDLLExist | LoadDLL :
 


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