Ruuning daz3d from outer app

Hi, i'm totally new to daz3d sdk, so i have few questions. I think it is possible to setup the daz3d environment from for example simple c++ console app(not like a plugin). But i have no idea how to properly initialize daz objects after i call
new DzApp(argc, argv);
It looks like that app runs as expected, but gui is not initialized, no renderers are initialized etc. Is there some examples of usage?