PDA

View Full Version : General Plugin using MFC ??!!


snakebyte
4th September 2001, 13:08
Hi,

Can anybody tell me if it is possible to write the the general plugin dll using MFC ?. I downloaded the gen pluging SDK it is not at all documented . So i don't know that specifications (structures etc)that should be present in my mfc dll for winamp to communicate with it.
Can u give me any refrences or sample code where mfc classes are invoked from a simple C dll.


Thanks in advance
Snake:cool:

spib
5th September 2001, 16:59
Sure can :) Just take a look at http://www.codeproject.com/dialog/winampwnd.asp which not only shows how to create an MFC based general plugin, but also how to create a window which is skinable and docking and resizes like winamp does. Don't forget to vote on the code!

snakebyte
6th September 2001, 19:31
hi,

That link contained what i was looking for.My doubt is cleared Thanx for your help

Snakebyte :cool:

gifs
29th May 2002, 06:56
Just remember this detail:

If you're using MFC, find the part where he explains

AFX_MANAGE_STATE(AfxGetStaticModuleState());

// Please see MFC Technical Notes 33 and 58 for additional
// details.

baafie
1st June 2002, 13:08
http://forums.winamp.com/showthread.php?s=&threadid=82651

Contains empty gen purpose C plugin source, empty C++ general purpose plugin for win32 API source and an empty C++ gen purpose plugin for MFC source.