never try to use a C-cast for interface!!!
you could use like you did with queryInterface or:
FUnknownPtrVst::IHostApplication hostApp (context);
if (hostApp) { …
never try to use a C-cast for interface!!!
you could use like you did with queryInterface or:
FUnknownPtrVst::IHostApplication hostApp (context);
if (hostApp) { …