Command line app


#1

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!


#2

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


#3

ah super,
Thanks Jules :slight_smile:


#4