Page 1 of 1

vst VS project without CMAKE (preprocessor and maindll question)

Posted: Thu Feb 27, 2020 5:46 pm
by Wanderer
I created project in VisualStudio where I set up VST without cmake. (for my personal needs) It is working, but I have question because it is not clear to me.

1. Preprocessor
Under preprocessor I have this:

Code: Select all

Everything here is necessary or not, when I didn't use CMAKE?

2. Dllmain.cpp
I copy this file and add it in to my project. My old project created with CMAKE looks ok, but my new project without CMAKE intelisense select InitModule function as not declared.

Code: Select all

extern bool InitModule ();
Hovewer my new project without CMAKE is compiled, validated and it runs in Reaper without problem.