Re: GetDIBits() return values
Dan Thompson <[email protected]> Wed, 04 Jan 2006 19:14:36 -0800
| Newsgroups | gmane.games.devel.windows |
|---|---|
| Message-ID | <[email protected]> |
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 >[email protected] >https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows >Archives: >http://sourceforge.net/mailarchive/forum.php?forum_idU5 > > > > ------------------------------------------------------- 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_id=7637&alloc_id=16865&op=click _______________________________________________ Gamedevlists-windows mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=555