Greetings everyone !

First of all, I'm late, but congratulation for the 1.0 release ! Really an 
impressive work !

Now my question :
For my project, I want to implement some basic modal dialogs ( OpenFile dialog, 
MessageBox dialog, ...) with CEGui
That is to say I want to call my dialogs with something like "UserResult = 
MessageBox( [...] );"
To do such a thing, my MessageBox function must return only when the user has 
selected it's answer.
In order to continue message pumping in the MessageBox, I implemented the 
following code :

csRef<iEventQueue> q (CS_QUERY_REGISTRY(m_pObjectReg, iEventQueue));
if (!q)
    return false ;

while (!m_bFinished)
    q->Process();

When the "q->Process()" is called, I've got an Assert in the constructor of the 
class "SubscriberIterator" (file cssubscription.h, line 262, 
"CS_ASSERT(record->iterator == 0);")
If I ignore the assert, everything seems to work fine.

Does this Assert means I've done something forbidden ?
Is there an other way to do that ?

Thanks in advance !
Duc
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to