BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

EOutOfResources: Child windows cannot have menus

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (WinAPI)
View previous topic :: View next topic  
Author Message
drud
Guest





PostPosted: Fri Feb 16, 2007 7:32 pm    Post subject: EOutOfResources: Child windows cannot have menus Reply with quote



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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (WinAPI) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.