Talk:Beginner's Basic Plugin Guide
Is this format okay?
Hey everyone, this is my first work with any Winamp plugin code and my first edits to the wiki. Sorry if anything is in the wrong format or wrong place. Please feel free to move or work on it; I'm open to suggestions on how to improve. --Culix 02:29, 10 June 2009 (UTC)
Questions and TODO
I still have a few questions about writing plugins. These should probably be filled into the guide at some point. --Culix 02:34, 10 June 2009 (UTC)
- How do the naming conventions work for plugins? It seems more complicated than simply naming your file 'gen_*' or 'ml_*'.
The answer to this is complicated, as so much with Winamp. The prefix is actually used by Winamp.exe to find plugins and identify what type they are. There is another way to create plugins that does not require the prefix. This second way is called Wasabi. Wasabi is a way to 'share' code among components of a software system (i.e., Winamp). Wasabi dlls do not need the prefix. We'll get to Wasabi if we keep writing these kinds of tutorials. Is there something specific about the prefixes that leads you to believe that there is a 'real' answer? Maybe I can investigate further.
- For the "cannot convert parameter from 'const char [x]' to 'LPCTSTR'" error, which option from the MSDN FAQ should we actually use? Is it better to change the project settings to use a multi-byte character set?
- Why do some people put their 'extern "C" __declspec' code in the header and others in the .cpp? Does it matter?