Thread: Jamendo plugin
View Single Post
Old 4th July 2007, 07:39   #2
id2ndr
Junior Member
 
Join Date: Jul 2007
Posts: 7
I founded the function. It's :
code:
int (*httpRetrieveFile)(HWND hwnd, char *url, char *file, char *dlgtitle);

at line 377 in wa502_sdk\winamp\wa_ipc.h

I founded an use of it here

I founded this :
code:
error=SendMessage(mod.hMainWindow,WM_USER,(WPARAM)NULL,240); // get HTTP getter function

So i tried to do the same thing with the same window handler (m_hwnd is the handler used in ml_ex plugin but doesn't work). Doing this SendMessage return a number greater than 1.
Then I try to use
code:
httpRetrieveFile(plugin.hwndWinampParent, url, file, dlgtitle);
but running Winamp : Run-Time Check Failure #3 - The variable 'httpRetrieveFile' is being used without being defined..

Do someone knows which HWND I have to use with httpRetrieveFile and SendMessage functions ?

Thanks

Last edited by id2ndr; 4th July 2007 at 09:06.
id2ndr is offline   Reply With Quote