After much fiddling around, I finally got MilkDrop to compile in newer versions of Visual Studio. However, Winamp would crash when attempting to start the plugin. After attaching a debugger I saw the exception was in msvcr110.dll. Rather than reverse engineer that whole deal, I just took the advice on
http://www.geisswerks.com/milkdrop/ and compiled it in Visual Studio Express 2008. I can confirm the resulting dll works with Winamp.
I did have to change a couple of things after opening the solution in Visual Studio Express 2008.
- Right click the project -> Properties -> Configuration Properties -> C/C++ -> General -> Additional Include Directories. I changed this to be
code:
C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Include
../Wasabi
- After a build attempt, it will complain about afxres.h in plugin.rc. Change this to be WinResrc.h.
- It then complained about IDC_STATIC. So I added
code:
#ifndef IDC_STATIC
#define IDC_STATIC -1
#endif
in there, right below // Dialog.
Hope this helps!