I know I’m missing the obvious but how I can write a String to a file using juce_fileWrite? I thought of:
int written = juce_fileWrite(fh, (void*)temp.toUTF8(), temp.length());
or something similar, but I get a link error:
unresolved external symbol “int __cdecl juce::juce_fileWrite(void *,void *,int)” (?juce_fileWrite@juce@@YAHPAX0H@Z)
This code is in juce_File.cpp.