Click here to Skip to main content
16,004,944 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: VStudio setting to see macro expansion? Pin
Tom Archer3-May-02 7:02
Tom Archer3-May-02 7:02 
GeneralRe: VStudio setting to see macro expansion? Pin
lucy3-May-02 7:11
lucy3-May-02 7:11 
GeneralRe: VStudio setting to see macro expansion? Pin
Tom Archer3-May-02 7:18
Tom Archer3-May-02 7:18 
GeneralRe: VStudio setting to see macro expansion? Pin
lucy3-May-02 7:39
lucy3-May-02 7:39 
GeneralRe: VStudio setting to see macro expansion? Pin
Tom Archer3-May-02 10:08
Tom Archer3-May-02 10:08 
GeneralRe: VStudio setting to see macro expansion? Pin
hiseldl3-May-02 7:30
hiseldl3-May-02 7:30 
GeneralRe: VStudio setting to see macro expansion? Pin
Tom Archer3-May-02 7:35
Tom Archer3-May-02 7:35 
QuestionDebug Assertion? Pin
Aoife3-May-02 5:08
Aoife3-May-02 5:08 
Hello,

In my MFC application I have two similar dialog boxes. Each have a List Control Box and each has a varaible (of type CListCtrl) associated to them. One of them works fine but I get a Debug Assertion error on the first of these four lines in the second dialog.

m_MyListControl2.InsertItem(0, Line1, 0)

m_MyListControl2.SetItemText(0, 1, Line2);
m_MyListControl2.SetItemText(0, 2, Line3);
m_MyListControl2.SetItemText(0, 3, Line5);

The dialog boxes all have the same header files and the contents of DoDataExchange() are similar too.

Does anyone know why this is happening?

Thanks,
Aoife
AnswerRe: Debug Assertion? Pin
mystro_AKA_kokie3-May-02 5:17
mystro_AKA_kokie3-May-02 5:17 
GeneralRe: Debug Assertion? Pin
Aoife3-May-02 5:31
Aoife3-May-02 5:31 
AnswerRe: Debug Assertion? Pin
Tim Smith3-May-02 5:30
Tim Smith3-May-02 5:30 
GeneralRe: Debug Assertion? Pin
Aoife3-May-02 5:55
Aoife3-May-02 5:55 
GeneralRe: Debug Assertion? Pin
Tim Smith3-May-02 6:10
Tim Smith3-May-02 6:10 
GeneralRe: Debug Assertion? Pin
Aoife3-May-02 6:29
Aoife3-May-02 6:29 
GeneralRe: Debug Assertion? Pin
Chris Losinger3-May-02 8:50
professionalChris Losinger3-May-02 8:50 
GeneralRe: Debug Assertion? Pin
Aoife3-May-02 9:02
Aoife3-May-02 9:02 
GeneralGetting the data from a CString into an LPVOID data type Pin
kyledunn3-May-02 3:23
kyledunn3-May-02 3:23 
GeneralRe: Getting the data from a CString into an LPVOID data type Pin
mystro_AKA_kokie3-May-02 3:53
mystro_AKA_kokie3-May-02 3:53 
GeneralRe: Getting the data from a CString into an LPVOID data type Pin
kyledunn3-May-02 3:56
kyledunn3-May-02 3:56 
GeneralRe: Getting the data from a CString into an LPVOID data type Pin
Tom Archer3-May-02 4:17
Tom Archer3-May-02 4:17 
GeneralRe: Getting the data from a CString into an LPVOID data type Pin
Nish Nishant3-May-02 4:24
sitebuilderNish Nishant3-May-02 4:24 
GeneralRe: Getting the data from a CString into an LPVOID data type Pin
Tom Archer3-May-02 4:40
Tom Archer3-May-02 4:40 
GeneralRe: Getting the data from a CString into an LPVOID data type Pin
Joao Vaz3-May-02 4:56
Joao Vaz3-May-02 4:56 
GeneralRe: Getting the data from a CString into an LPVOID data type Pin
Tom Archer3-May-02 5:21
Tom Archer3-May-02 5:21 
GeneralRe: Getting the data from a CString into an LPVOID data type Pin
Joao Vaz3-May-02 5:39
Joao Vaz3-May-02 5:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.