Hello. I've been following the FileName discussion messages, and am still at a bit of a loss. I can get everything alright up until the pointer, but when I try to do a copy I just get an access violation.
I'm currently using MSVC++ 6.
Here's the code:
int index = SendMessage(hwndWinamp, WM_USER, 0, 125); //returns the playlist position
long filename=SendMessage(hwndWinamp, WM_USER, index, 211);
CHAR file ;
If anyone can tell me how I've horribily screwed up I'd be grateful.