drud Guest
|
Posted: Fri Feb 16, 2007 7:32 pm Post subject: EOutOfResources: Child windows cannot have menus |
|
|
Hi there,
i have a strange problem occuring in my application.
The application is a reporting application, were i can create several
reports. In order to open more than one report i create child windows,
that contains one report - each of them.
The child forms have several special menus, that should be merged
automatically with the menu in my mainform.
| Quote: | From time to time it happens, that, when i generate a child window,
that i get the Exception "EOutOfResources: child windows cannot have |
menus" ("Untergeordnete Fenster koennen keine Menues enthalten" - in
german). The error occurs randomly (after 2 weeks, after 1 day), but
after the error occurs everything works fine again, as if nothing has
happened - until the error occures again (after 2 weeks, after 1
day)...
EOutOfResources is thrown when the application runs out of handles. I
checked for leaks, but didn't find leaks. Another point thats
troubling me - when i run out of handles why is the application
working fine again after the exception?
Because the Exception message i tried to move the menus of the child
windows into the main window. but the error occured again with the
same message.
My question here is - has anyone discovered the same problem and has
eventually a solution what i could do to solve it?
thanks in advance for your help,
Daniel |
|