I was just playing around with a very simple PropertiesFile test and it crashes on an assert in Timer::startTimer(). I don’t understand. Here’s my code:
#include "../JuceLibraryCode/JuceHeader.h"
int main (int argc, char* argv[])
{
ScopedPointer<PropertiesFile>globalsFile;
PropertiesFile::Options options;
options.applicationName = "Vtree";
options.filenameSuffix = "ini";
options.osxLibrarySubFolder = "Application Support/MyCompany";
globalsFile = new PropertiesFile(options);
globalsFile->setValue("myKey", 5);
globalsFile->save(); // <-----assert failure
return 0;
}
What’s going on? Thanks.