On Win10 virtual machine (tried MS Edge VM and clean install from .iso)
Point Reaper/Mulab to newly built DLL
Clear cache & rescan VSTS
Try load VST
VST will either load once then next session it disappears from the list. Or it’s never in the list.
Looking at Reapers reaper-vstplugins64.ini file, the plugin is listed but doesn’t have the last two fields. I’ve had other 3rd party plugins fail to load (Freakoscope on Mac) and they come up this way in the .ini file.
(p.s. I sent a different plugin for beta testing last year to some engineers and they complained of 64bit version not working. I’m only getting around to troubleshooting this now. This was around April 2016 time using JUCE v4.1.0. The .dll I sent out at that time is exhibiting the same behaviour.)
By just installing the Microsoft Visual C++ 2013 runtime redistributable package.
So the combination that worked for me is…
On Win7 32bit machine
Build x64 VST from Projucer generated project (JUCE v4.3.0)
On Win10 machine (clean install)
Try open in Reaper (works once, then fails to register in future sessions)
Install Microsoft Visual C++ 2013 redist from above link
Open in Reaper. Works!!!
(I’m sure it would work with VS2015 + 2015 redist combo too)
I guess I have to alert my users that the plugins are dependent on Visual C++ redist.
Is there any reason that Juce plugins would need the redist by default?
(Whereas something like TDR Nova (http://www.tokyodawn.net/tdr-nova/) works out of the box? i.e. no VC++ redist needed. TBH TDR’s combo boxes look decidedly JUCE-like?)
Also people need to be careful if they are testing VSTs on the same machine that has Visual Studio installed. This by default installs the Visual C++ runtimes, which may give the false impression that the plugin will run fine on other Windows installations.
So a friend alerted me to the fact that users shouldn’t have to require the Visual C++ redist installed if I have the runtime flags (MT/MD etc.) set correctly.
Seems the Projucer blank plugin defaults to end-users requiring Visual C++ redist.
So…
In Projucer project Config tab
Visual Studio > both Debug/Release > Runtime Library
Set to ‘Use static runtime’
Now the end-user will not need the Visual C++ redist installed to use your plugin. More detailed info in this thread…
JUCE team: Could we get a info tooltip on the Runtime Library field explaining this in the Projucer???
I lost 2 long days to this and I’m sure many others will do the same!