Here is what i am doing:
I need to work with intel hexa files. this files are composed by intel hexa lines ( each hexa line is a line in the file) and is terminated by a special line.
I have created one CIntelHexaLine object for treating lines and one CIntelHexaDoc for the file. My doc has one CtypedPtrArray of CIntelHexaLine.
The problem is serialization.
My intel line is saved as a CString in CIntelHexaLIne and i think i can not serialize CString objects?
Also for opening i am searching the end of a line. Isn´t there a way of reading files line by line?
My serialization in the document is passing the work for the CIntelHexaLine Serialization. The termination condition (in serialization doc) is the line reading==end line. But if the file is corrupted and the end line never occurs? Does the >> operator triggers any exception if there is nothing else to read?
Thanks a lot for any comments/answers you can give me.
Dialogs (1) modal - maintaining the database.
Continuing from the ninth article about sudoku.
You might have heard of modal and modeless dialogs. Here with this Sudoku application will we use one of each type: a modal dialog …
Exception Handling is in the core of any application that is able to dignify its name.
In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data.
But that feeling is fleeting. Attacks these days can happen in many w…