![]() |
#1 |
Junior Member
Join Date: Jul 2007
Posts: 7
|
Jamendo plugin
Hi,
I'm trying to develop a plugin to add Jamendo to media library. I'm new to C++ but I know C and java. I haven't use sdk before. In order to do that I download wa_sdk and I tried to modify ml_ex (MediaList_example) plugin. I need to retrieve differents ids with standard http get request but I don't know how to do that. My idea was to use the a winamp internal function to do that, instead of an external library. (This would also use proxy setting of winamp and other things like that). So do you know if it's possible and where I can find this function ? Thanks |
![]() |
![]() |
![]() |
#2 |
Junior Member
Join Date: Jul 2007
Posts: 7
|
I founded the function. It's :
code: at line 377 in wa502_sdk\winamp\wa_ipc.h I founded an use of it here I founded this : code: 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 but running Winamp : Run-Time Check Failure #3 - The variable 'httpRetrieveFile' is being used without being defined..code: 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. |
![]() |
![]() |
![]() |
#3 |
Junior Member
Join Date: Jul 2007
Posts: 7
|
Here is a snipped of the code I tried to use.
code: I try to initialize httpRetrieveFile with result but : cannot convert from 'int' to 'int (__cdecl *)(HWND,char *,char *,char *)'. However I used the same pattern as the plugin on my first post. How can I cast error to the type of httpRetrieveFile pointer ? |
![]() |
![]() |
![]() |
#4 |
Junior Member
Join Date: Jul 2007
Posts: 7
|
I founded how to do :
code: |
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|