|
This kind of error is generally that a pointer points to the wrong place, depending on the situation, if it is a very small number, for example, 0x00000023
Then maybe a pointer is empty, and an offset is added.
If it is a relatively large number, such as 0x5FFFFFFF, it may be that the pointer is not initialized, just like your brvDlg;
When you pop up an error message, click Retry first, then click Debug, and enter the debugging to see what the problem is.
The most obvious mistake is here
CBookRoomView *brvDlg;
brvDlg-> m_list.SetExtendedStyle(LVS_EX_FULLROWSELECT| LVS_EX_GRIDLINES);
brvDlg is called without assigning a value, of course it is wrong |
|