Command line app

Hi,

When using Juce within a command line app, is it best to still create a JUCEApplication and invoke it in the usual way, or is it safe to use the Juce libs (not the GUI stuff, just all the other stuff) from a standard main() function?

If the former, which member of JUCEApplication becomes the place to put all yer gubbins? initialise() ??

Thanks!

No, there’s no need for all that - just write a main(), and call juce_InitialiseNonGUI() at the start of it - check out the BinaryBuilder project in juce/extras

ah super,
Thanks Jules :slight_smile: