VST primer
Since I tend to forget a lot of little things, here's a very quick guide of getting started with VST SDK
- download the vst sdk
- unpack / install vst sdk somehwere ( for example
D:/tools/vst) - create an empty dll project
- add to headers
vstdsk/plugininterfaces/vst2.x/*.h - create folder vst2.x in project "Source Files"
- add all files from
vstdsk/public.sdk/source/vst2.x/ - add
YourModuleName.cppfile in "Source Files" - write the
AudioEffectXinherited class - add the
AudioEffect* createEffectInstance( audioMasterCallback audioMaster )function inYourModuleName.cpp - project name -> right click -> properties -> linker -> input -> Module Definition File = "../vstplug.def"
vstplug.def should export the needed functions :EXPORTS
VSTPluginMain
main=VSTPluginMain