Re: [GD-Windows] GetDIBits() return values
Brought to you by:
vexxed72
From: Dan T. <da...@ar...> - 2006-01-05 03:13:42
|
Any possibility of threading issues? If you add a second call to GetDIBits right after (i.e. on skitzo fail, try agian), does it work or fail again? Maybe toss a Sleep(1) between the two? If the second one fails, you might be able to disasm into gdi and see whats up. Could try VirtualAllocing the memory and protect it vs Write on the second call, see if it even touches the memory. All I got. -Dan Brian Hook wrote: >On Wed, 4 Jan 2006 18:29:22 -0700, Bryan Wagstaff wrote: > > >>Are you absolutely positive you don't call anything that sets the >>Windows error before you read it? >> >> > >Yeah, very next line is the check and report. This one is mystifying >me, leading me to think it's a memory corruption issue because it only >happens about 1% of the time using the exact same inputs. > >Brian > > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://ads.osdn.com/?ad_idv37&alloc_id865&op=click >_______________________________________________ >Gamedevlists-windows mailing list >Gam...@li... >https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows >Archives: >http://sourceforge.net/mailarchive/forum.php?forum_idU5 > > > > |