I have created one sample mfc application with listcontrol and button.while clicking the button new window should open that also have done.now that new dialog box i created new class and one function .on that function i am trying to insert items into new dialogbox list control.function calling was happening but error is like debug assertion failed.