I created a Series 60 application as HelloWorld that uses the traditional Symbian OS Control-Based Architecture where the AppUi creates the container class, and the container class displays the data.

After creating the container I would display a query dialog with CAknQueryDialog inside AppUi::ConstructL() but this panics the application .

If I create the query dialog inside AppUi::HandleCommandL() it works fine .

I searched for documentation but I didn't find anything.

Thanks in advance.