thorin92
07-20-2003, 10:08 AM
Has anyone got experience using this? Im trying to retrieve the file name of the item curently playing in the playlist?
Public Const IPC_GETPLAYLISTFILE = 211
TempL = SendMessageM(WinAMPhWnd, WM_WA_IPC, 0, IPC_GETPLAYLISTFILE)
the problem is the code returns a 'long' variable which is a pointer to where the "filename" is stored.
How can I retrieve the string from this??
in C++ the code looks like this, how to covert this to VB:
char *name = SendMessage(hwnd_winamp, WM_USER, index, IPC_GETPLAYLISTFILE); /*get filename
plz help.
Public Const IPC_GETPLAYLISTFILE = 211
TempL = SendMessageM(WinAMPhWnd, WM_WA_IPC, 0, IPC_GETPLAYLISTFILE)
the problem is the code returns a 'long' variable which is a pointer to where the "filename" is stored.
How can I retrieve the string from this??
in C++ the code looks like this, how to covert this to VB:
char *name = SendMessage(hwnd_winamp, WM_USER, index, IPC_GETPLAYLISTFILE); /*get filename
plz help.