At the moment I'm just able to check if the dll and certain functions exist.

VB Code:
  1. Option Explicit
  2. Private Declare Function LoadLibrary Lib "kernel32" Alias "LoadLibraryA" (ByVal lpLibFileName As String) As Long
  3. Private Declare Function GetProcAddress Lib "kernel32" (ByVal hModule As Long, ByVal lpProcName As String) As Long
  4. Private Declare Function FreeLibrary Lib "kernel32" (ByVal hLibModule As Long) As Long
  5. Private hDll As Long
  6.  
  7. Private Sub Command1_Click()
  8. Dim hFunction As Long
  9. hDll = LoadLibrary(App.Path & "\WC2.dll")
  10.  
  11. If hDll > 0 Then
  12. hFunction = GetProcAddress(hDll, "WA_Link_Raw_Stats")
  13.  
  14. If hFunction = 0 Then
  15. MsgBox "dll: found; function: found"
  16. Else
  17. MsgBox "dll: found; function: not found"
  18. End If
  19. Else
  20. MsgBox "dll: not found"
  21. End If
  22. End Sub

But what if I want to "get" 'artist', 'bitrate' etc. through that function?

In MSL I do it like
$dll(WC2.dll,WA_Link_Raw_Stats,artist)


Would be great if anyone was able to help me out.

Thank you.