Writing LADSPA plugins in Windows

Anyone know how to write LADSPA plugins in Windows? I downloaded the source, but it seems to be very Linux based. I have a Windows setup of MINGw compiler on a Win8.1 machine and the make file didn’t work at all. So I tried to simply create a dll project (using Code::Blocks as IDE) and added the amp.c example file. Everything compiled, I got the dll file, placed it in the plugin folder and launched Audacity. No trace of a new plugin there.

Ok, I found this: http://audacity.238276.n2.nabble.com/LADSPA-plugin-for-Windows-td253032.html
…which helped a lot. I managed to compile that and got a dll which installed fine as a plug-in. Now I’ll use that as a kind of a template. But feel free to comment or share your knowledge. The link above points to a post with a win32-ified version of amp.c, which I mentioned above. This stuff about win32 vs Linux(?) is beyond my knowledge, though I don’t seem to need that knowledge now.

There’s a clue in the name :wink:
Linux Audio Developer’s Simple Plugin API (LADSPA)

The LADSPA web site is here: http://www.ladspa.org/

Note that LADSPA now has a successor called LV2: http://lv2plug.in/
I don’t use Windows myself, but I read that porting LV2 to Windows is more straightforward than LADSPA.