BUG??? - Irrlicht destroys mother window , when closing !

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Ulf
Posts: 281
Joined: Mon Jun 15, 2009 8:53 am
Location: Australia

Post by Ulf »

hybrid wrote:Ulf, you're as helpful as always.
I reckon that's a bit extreme. Sometimes I try to help. :)

No.. no.. wait. Sometimes I do help. So you are completely wrong... I mean, you are such a liar.

:P

... You gotta admit, I'm pretty cool. 8)
No? :x
Last edited by Ulf on Fri Feb 26, 2010 4:04 pm, edited 1 time in total.
I can hear birds chirping
:twisted:

I live in the Eye of Insanity.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

I do admit that you had several useful posts (without any cynical tone here). But you also had as many posts which were completely out of scope or simply wrong. And I just felt to hint you about this. Sorry for the over generalization.
Ulf
Posts: 281
Joined: Mon Jun 15, 2009 8:53 am
Location: Australia

Post by Ulf »

I'll let you know.. I was making fun when I said
So you are completely wrong... I mean, you are such a liar.
I haven't gone through and checked all my posts, but honestly I think more often than not I am helping or trying to.
But I admit I have joked around a few times, a fair few times, or maybe been sarcastic in some sense without knowing all details.

In respect to this post or bug, I was talking crap in a way. I just meant I can't believe it hasn't been noticed until now since irrlicht has been around many years.

hybrid, you are like my Nemesis. That is why I respect you.
:lol:

No... that is one reason I respect you.
The others I shall keep secret until my death my nemesis. muhahahaha
I can hear birds chirping
:twisted:

I live in the Eye of Insanity.
bonsalty
Posts: 120
Joined: Thu Dec 10, 2009 1:30 pm
Location: Budapest,Hungary

Post by bonsalty »

Thanks.
Tomi
bonsalty
Posts: 120
Joined: Thu Dec 10, 2009 1:30 pm
Location: Budapest,Hungary

Post by bonsalty »

So the question remains, how can you implement irrlicht to run it in an mfc child window and closing it manualy without the complete program shuting down and with the ability of releasing the mem. If you find something relevant, I would appreciate if you could share the full code, till that I will run my own version. Thanks again!
Tomi
xirtamatrix
Posts: 219
Joined: Fri Feb 19, 2010 4:03 pm
Location: Estonia

Post by xirtamatrix »

Hi,

This is over a month old and I wonder, did anyone find a solution?

I'm having the same problem using Irrlicht 1.7 window inside Qt, if I do device->closeDevice() it kills the mother window.

Any tips, work-arounds?

Thanks in advance!
/regards
to live, is natural; to die, is not!
bonsalty
Posts: 120
Joined: Thu Dec 10, 2009 1:30 pm
Location: Budapest,Hungary

Post by bonsalty »

It is interesting that nobody found this error till yet.Maybe they are working in irrlichts custom window...
This must be fixed in 1.8 somehow.
I suggest you dont use :

device->closeDevice();
just drop it.
However I dont know exactly what happens if you skip this step, maybe the device doesnt get released?
Tomi
Post Reply