Prev Previous Post   Next Post Next
Old 12th February 2011, 19:51   #1
Junior Member
Join Date: Jan 2004
Location: Serbia
Posts: 17
Problem initializaing WinAmp plugin(s), in_mp3.dll

What I am trying to do is to load in_mp3.dll, and use it to play mp3 file using out_ds.dll.
Apparently, I am missing something, because no example is working for me, they always fail at Init() call. I wrote some code on my own, I tried few examples from web, I tried Delphi, C++ Cygwin and MinGw, and it always fails on Init. Libraries are loaded just fine, manifest is OK, msvcr90 used from private assembly. Please, advise, what am I doing wrong?

E.g. Delphi:

FHandleInDLL := LoadLibrary(PWChar(PathInDLL));

//fp: function: pointer; cdecl;
fp := GetProcAddress(FHandleInDLL, 'winampGetInModule2');

imod := fp();
imod.hMainWindow := Handle; // main window handle
imod.hDllInstance := FHandleInDLL;

Obucinac is offline   Reply With Quote
Go Back   Winamp & Shoutcast Forums > Developer Center > Winamp Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump