View Single Post
Old 12th November 2005, 00:20   #3
aceman118
Junior Member
 
Join Date: Nov 2005
Posts: 11
Thanks a bunch for the help. I got it compiling again but winamp crashes when I try and use the "char* file = (char*)SendMessage(hwnd_winamp,WM_WA_IPC,SendMessage(hwnd_winamp,WM_WA_IPC,0,IPC_GETLISTPOS),IPC_GETPLAYLISTFILE);"

I had to change the hwnd to plugin.hwndParent cause I thought I remember reading somewhere that they are used the same way and the template I had used hwndParent. If I am wrong about that please let me know. Thanks again.

EDIT: I just thought of something. Would it be a problem if nothing is being played at the time? When I first open winamp, nothing is being played so that may be causing the crash.
aceman118 is offline   Reply With Quote