Heya,
I'm trying to add some more mfc objects (cedit, cbutton etc) to a dialog class but i keep getting an error at runtime that reads.
"Unhandled exception at 0x00000000 in SpiroTest.exe: 0xC0000005: Access violation reading location 0x00000000."
Initially i assumed i was mucking up a null pointer somewhere but it's definatly when i add a new object to the class. I can add a new data variable (int,double etc) but it seems specifically when i add an mfc control object to have problems. I can even remove an old one and comment out all references to it and then i am able to add a new one error free.
I've been banging my head on this for awhile and am willing to trade my left kidney for any help.
I'm trying to add some more mfc objects (cedit, cbutton etc) to a dialog class but i keep getting an error at runtime that reads.
"Unhandled exception at 0x00000000 in SpiroTest.exe: 0xC0000005: Access violation reading location 0x00000000."
Initially i assumed i was mucking up a null pointer somewhere but it's definatly when i add a new object to the class. I can add a new data variable (int,double etc) but it seems specifically when i add an mfc control object to have problems. I can even remove an old one and comment out all references to it and then i am able to add a new one error free.
I've been banging my head on this for awhile and am willing to trade my left kidney for any help.