Click here to Skip to main content
16,008,175 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem Reading/Writing text/dat files Pin
Trupti Mehta17-Jun-08 7:52
Trupti Mehta17-Jun-08 7:52 
GeneralRe: Problem Reading/Writing text/dat files Pin
Mark Salsbery17-Jun-08 8:16
Mark Salsbery17-Jun-08 8:16 
GeneralRe: Problem Reading/Writing text/dat files Pin
Trupti Mehta17-Jun-08 22:28
Trupti Mehta17-Jun-08 22:28 
GeneralRe: Problem Reading/Writing text/dat files Pin
Mark Salsbery18-Jun-08 6:13
Mark Salsbery18-Jun-08 6:13 
GeneralRe: Problem Reading/Writing text/dat files Pin
Trupti Mehta18-Jun-08 22:57
Trupti Mehta18-Jun-08 22:57 
GeneralRe: Problem Reading/Writing text/dat files Pin
Mark Salsbery18-Jun-08 9:12
Mark Salsbery18-Jun-08 9:12 
GeneralRe: Problem Reading/Writing text/dat files Pin
Trupti Mehta18-Jun-08 22:44
Trupti Mehta18-Jun-08 22:44 
GeneralRe: Problem Reading/Writing text/dat files Pin
Trupti Mehta19-Jun-08 0:15
Trupti Mehta19-Jun-08 0:15 
Mark,

I removed the template <> SerializeElements() from the code & ran the application. Its still running and giving the results as we expected, but after reading is completed, it throws Assertion Failure: on strcode.cpp Line 171 which falls under void CString::Release(), ASSERT(GetData()->nRefs != 0);
line.

If I do retry, it works properly. I need to get rid of this error. Do you know how to I catch exception in eVC++. If I write
try{
....
} catch(CException e) {
}
it shows warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify -GX. The MSDN warning lists of 4530 mentions to specify /EHsc. How do I speicify any of this & where in the Project Settings. This will be a great help, as I like very much to catch exception and handle them. But in eVC I am not able to do it due to these errors/warnings.

Please would be nice if can help out in this.

Thanks

Terry

GeneralRe: Problem Reading/Writing text/dat files Pin
Mark Salsbery19-Jun-08 6:04
Mark Salsbery19-Jun-08 6:04 
GeneralRe: Problem Reading/Writing text/dat files Pin
Trupti Mehta19-Jun-08 22:38
Trupti Mehta19-Jun-08 22:38 
AnswerRe: Problem Reading/Writing text/dat files Pin
ThatsAlok17-Jun-08 16:45
ThatsAlok17-Jun-08 16:45 
GeneralRe: Problem Reading/Writing text/dat files Pin
Trupti Mehta17-Jun-08 22:33
Trupti Mehta17-Jun-08 22:33 
GeneralRe: Problem Reading/Writing text/dat files Pin
ThatsAlok18-Jun-08 5:15
ThatsAlok18-Jun-08 5:15 
GeneralRe: Problem Reading/Writing text/dat files Pin
Trupti Mehta18-Jun-08 22:48
Trupti Mehta18-Jun-08 22:48 
Questiona error about c++ read xml Pin
huke198716-Jun-08 21:31
huke198716-Jun-08 21:31 
GeneralRe: a error about c++ read xml Pin
huke198716-Jun-08 22:01
huke198716-Jun-08 22:01 
GeneralRe: a error about c++ read xml Pin
ThatsAlok17-Jun-08 20:55
ThatsAlok17-Jun-08 20:55 
AnswerRe: a error about c++ read xml Pin
Naveen16-Jun-08 22:37
Naveen16-Jun-08 22:37 
GeneralRe: a error about c++ read xml Pin
huke198716-Jun-08 22:58
huke198716-Jun-08 22:58 
GeneralRe: a error about c++ read xml Pin
Naveen16-Jun-08 23:11
Naveen16-Jun-08 23:11 
GeneralRe: a error about c++ read xml Pin
huke198716-Jun-08 23:33
huke198716-Jun-08 23:33 
GeneralRe: a error about c++ read xml Pin
Naveen16-Jun-08 23:37
Naveen16-Jun-08 23:37 
GeneralRe: a error about c++ read xml Pin
ThatsAlok17-Jun-08 2:06
ThatsAlok17-Jun-08 2:06 
GeneralRe: a error about c++ read xml Pin
kakan17-Jun-08 2:53
professionalkakan17-Jun-08 2:53 
GeneralRe: a error about c++ read xml Pin
huke198717-Jun-08 14:25
huke198717-Jun-08 14:25 

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.