Problem in creating dialog (IDialog::CreateNewDialog)


hi all,

 

when trying create dialog follows:

 

idialog* dialog = dialogmgr->createnewdialog(dialogspec, idialog::kmovablemodal)

 

i following 2 asserts subsequently when above line executed in indesign cs5 debug version:

 

assert1->

wwindow::openwindow - fwindowptr not null

..\..\..\source\private\windows\wwindow.cpp (358)

 

assert2 following above->

adddependency: dependency exists observer kapplicationobserverimpl attaching subject kmovablemodalwindowboss iid iid_iobserver listening iid iid_iwindow

..\..\..\source\components\appframework\messaging\cchangemanager.cpp (258)

 

 

the dialog not shown @ all. dialog resources have been defined correctly.

 

what reason above 2 asserts, due dialog not shown?

can figure out?



More discussions in InDesign SDK


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support