待辦事項 #17465

Crash when trying to use graphical tiles.

啟用日期: 2009-06-21 17:07 最後更新: 2009-06-22 05:19

回報者:
負責人:
(無)
類型:
狀態:
關閉
元件:
(無)
里程碑:
(無)
優先權:
7
嚴重程度:
5 - 中
處理結果:
檔案:

細節

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
評語

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
  • 狀態 Update from 開啟 to 關閉
  • Ticket Close date is changed to 2009-06-21 22:30
評語

'sizeof' of wrong type being used.

2009-06-22 00:03 Updated by: paulblay
  • Details Updated
  • 狀態 Update from 關閉 to 開啟
2009-06-22 02:57 Updated by: paulblay
評語

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

2009-06-22 05:19 Updated by: paulblay
  • 狀態 Update from 開啟 to 關閉
  • Ticket Close date is changed to 2009-06-22 05:19

Attachment File List

No attachments

編輯

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