Ticket #17465

Crash when trying to use graphical tiles.

Open Date: 2009-06-21 17:07 Last Update: 2009-06-22 05:19

Reporter:
Owner:
(None)
Type:
Status:
Closed
Component:
(None)
MileStone:
(None)
Priority:
7
Severity:
5 - Medium
Resolution:
None
File:
None

Details

Fails on

ret = ReadFile(hFile, &lpbi + offBits, nBytesToRead, &nBytesRead, NULL);
{
	show_win_error();
	goto ErrExit;
}

in readdib.c

Ticket History (3/7 Histories)

2009-06-21 17:07 Updated by: paulblay
  • New Ticket "Crash when trying to use graphical tiles." created
2009-06-21 17:22 Updated by: paulblay
Comment

Possibly should use HeapAlloc instead of GlobalAlloc ?

2009-06-21 18:35 Updated by: paulblay
  • Details Updated
2009-06-21 22:30 Updated by: paulblay
  • Status Update from Open to Closed
  • Ticket Close date is changed to 2009-06-21 22:30
Comment

'sizeof' of wrong type being used.

2009-06-22 00:03 Updated by: paulblay
  • Details Updated
  • Status Update from Closed to Open
2009-06-22 02:57 Updated by: paulblay
Comment

Possibly ReadDIB() could be replaced by use of LoadImage() ?

2009-06-22 05:19 Updated by: paulblay
  • Status Update from Open to Closed
  • Ticket Close date is changed to 2009-06-22 05:19

Attachment File List

No attachments

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login