Well - that patch totally failed to solve the problem No change whatsoever to the results after making that change...
What makes it even more infuriating is that I've just compiled Demo7 and it works perfectly - and yet the code that was basically copied and pasted into my program doesn't work at all...
Events causing crash
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Events causing crash
Well - that patch totally failed to solve the problem No change whatsoever to the results after making that change...
What makes it even more infuriating is that I've just compiled Demo7 and it works perfectly - and yet the code that was basically copied and pasted into my program doesn't work at all...
Which can only mean that the problem is being caused by something else you are/aren't doing. So I ask again, what is the exact exeption that causes program termination, and can you post some debugging information like a call stack that shows where in the program the issue is occurring.
If I could reproduce the problem here this would not be required (since I'd just get it myself), but since I can't, you'll have to provide this information for me
CE.
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Events causing crash
Hehe Glad you got it working okay.
Thanks for the suggestion of the configure options, I'll get this looked into.
But it is evil.
CE.
Thanks for the suggestion of the configure options, I'll get this looked into.
And I sincerely apologize to boost for saying it's an evil baaaastard
But it is evil.
CE.
Events causing crash
Seems I've found out what's wrong with my code too - as you said, there was nothing wrong with the code itself. Just the fact that boost::bind doesn't work properly with Managed C++ code - which I was using... Turning off the /CLR flag and it all works fine...
--
Graham
--
Graham
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Events causing crash
That's great news
You could possibly produce some kind of functor object of your own that would allow you to make the handler call within managed C++ (rather than using boost::bind), though since I've never tried it I can't advise the best route to take with that.
Having said that, if you don't need the managed environment and are happy to continue without it, then this is a non-issue anyway
CE.
You could possibly produce some kind of functor object of your own that would allow you to make the handler call within managed C++ (rather than using boost::bind), though since I've never tried it I can't advise the best route to take with that.
Having said that, if you don't need the managed environment and are happy to continue without it, then this is a non-issue anyway
CE.
Events causing crash
I do want the managed environment for what I'm aiming for, but I can find another way of doing it than writing the whole thing in managed code...
Just a pain that boost::bind doesn't work with the managed function calls - even in unmanaged classes... Kinda useful at times
Just a pain that boost::bind doesn't work with the managed function calls - even in unmanaged classes... Kinda useful at times
Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: Bing [Bot] and 13 guests