Re: [Plib-users] pui help
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2004-04-07 01:26:49
|
Brian Smith wrote: > Running VC++6.0 with windows XP, plib 1.8.2, I was wondering if anyone > could help me out, I need to hide puObjects but whenever I use .hide() > the program crashes and I get an unhandled exception: access > violation. Any suggestions?? thanks in advance. Well, I've used hide() quite a bit with no problems - we're going to need a LOT more information if this is truly a PLIB bug. It crashes inside hide() ? If so, it *MUST* be that the puObject you are calling it on is an invalid pointer...all hide() does is access an internal member and call puPostRefresh - and all THAT does is set a global. However, if calling hide() causes it to die sometime later then we could be looking at something complicated. Could you get us a stack back-trace from the crash? Or maybe show us some source code? ---------------------------- Steve Baker ------------------------- HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://www.sjbaker.org Projects : http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net -----BEGIN GEEK CODE BLOCK----- GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- !O M- V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r+++ y++++ -----END GEEK CODE BLOCK----- |