Visual C++ 2010: What’s new for MFC library?

August 29, 2010 7 comments

Some years ago I thought that MFC will be obsolete, and no new features will be added, but I was wrong, VS2008 added many features and enhancements, and with VS 2010 I discovered new improvements.

So what’s new in MFC 10? to answer to this question I tried to compare the two versions MFC 9 and MFC 10 using CppDepend.

Read more…

Categories: CodeProject

Where’s the model for MFC Doc/View Design?

August 18, 2010 Leave a comment

MFC is a good library that wraps Windows API, and it’s also a framework so it provides a structure for your application and influent the design.

We have to be careful when using frameworks, because it impact also the design, and accepting the structure imposed by a specific framework without understanding its impact could be dangerous.
Read more…

Categories: C++, MFC

PVS-Studio a tool complementing CppDepend

June 28, 2010 1 comment

CppDepend is a tool that simplifies managing a complex C\C++ code base. Architects and developers can analyze code structure, specify design rules, do effective code reviews and master evolution by comparing different versions of the code.

CppDepend focus more on design analysis to understand the structure of existing code, and many times we ask us if CppDepend can detect implementation problems, like variables not initialized, 64 bits and parallel issues.
Read more…

Categories: Uncategorized

Refactoring:What’s the origin of bad design?

December 17, 2009 3 comments

The refactoring is defined as the process of changing a software system in such a way that it does not alter the external behavior of the code yet improves its internal structure.

Refactoring improves the quality of application design and implementation, but unfortunately the expression “If it is working don’t change” is many times used to bypass it.

We can found in general three cases concerning refactoring:
Read more…

Categories: CodeProject

“Keep it Simple” Concept makes C++ much easier

October 19, 2009 3 comments

When the languages like Java or C# were used by companies, a language like C++ became for many developers and mangers very complex and expert friendly.

The history of computer engineering can maybe explains this C++ opinion:

Before internet explosion in 1990s, developing with C++ was very difficult due to the lack of technical documentation and feedbacks to resolve easily technical problems, and the team focus more on technical layer, in this period we can understand why the managers followed the technical approach and they looked for a C++ technical guru to join the development Team.
Read more…

Categories: C++

Why POCO is well implemented and designed?

September 24, 2009 8 comments

The POCO library is defined like this:

“The POCO C++ Libraries are a collection of open source class libraries for developing network-centric, portable applications in C++. POCO stands for POrtable COmponents. The libraries cover functionality such as threads, thread synchronization, file system access, streams, shared libraries and class loading, sockets and network protocols (HTTP, FTP, SMTP, etc.), and include an HTTP server, as well as an XML parser with SAX2 and DOM interfaces and SQL database access. The modular and efficient design and implementation makes the POCO C++ Libraries well suited for embedded development.”
Read more…

Categories: C++

Get every new post delivered to your Inbox.