Skip to content

Console2 application fail

The tests for my job tasks sometimes involves the execution of command line applications. One year ago I used for a while Console2 application because of nice features (transparency, easy copy+paste, etc).

I stopped using this application when I saw how it behave when I searched an application with a little bit complex command sintax.
[]

Dynamic popup and drop down menus for custom representations

Many applications allow dynamic customization for visual objects or data views. For instance, well known Internet Explorer application provides toolbars customization using a popup menu that appears when the user execute right click mouse action in toolbar zone area.

Internet Explorer sample menu

Other sample where this kind of menu is very useful is when it’s used in order to customize database data representation in Windows controls like List control or grid control. These kind of applications allow data filtering and show/hide columns using this kind of menu. The user just right click on control header and gets what he need.

[]

Versionable Object’s Serialization in MDI applications

This article represents a follow-up of the last article, “Versionable Object’s Serialization using MFC in non Document View applications”. In that article I presented to you a way to solve incompatibility issues between different file versions of the same application, based on MFC serialization into a dialog base application.
But, the dialog base applications are not the best way to use and apply MFC serialization.
Applications base on document view architecture (MDI or SDI) are the best solution when we want to develop MFC application with serialization support.
Document View MFC architecture offers support for automatic save and load document to/from a file on a storage area, using a serialization mechanism. MDI (Multiple Document Interface) and SDI (Single Document Interface) application offers default serialization basic mechanism.

SerAddressBookMDI Main Window - continue to article

[]

Versionable Object’s Serialization using MFC in non Document View applications

Most existing applications operate with data that must be stored and loaded in different times and different locations. The data is stored in text or binary files with a well defined format.
The Problem
Initially, in the first version 1.0, an application operates with data structures that can be stored and loaded. But, next version (2.0) these data structures suffers changes. Some structure’s attributes are added and other could be removed. These things change files format and structure when a new file version is saved.
Question: What happens when you are using an application version 2.0 and you are trying to load old files format (version 1.0)?
Answer: Most cases should cause incompatibility troubles between the current new application and files in old format. This could throw exceptions and the application could have undefined behavior.
That’s why the application must be written in order to be able to open both file versions.
Solution
In order to solve the compatibility issue exist many solutions, more or less professional. The recommended solution is the serialization.
Application window

[]

Progress database operations

Preliminary remarks

Application path (Sun Solaris Unix OS): /myApp/myapp111a/
Database location: /myApp/db/test_db

Usually, our workstations have Windows OS and we need to connect to Solaris Unix OS on SSH. That’s why we are using Putty application.
User: root
Password: xxxxxxxxxx

[]

About me

My name is Silviu Ardelean (full name Silviu-Marius Ardelean) and I am a Romanian software engineer living in Switzerland.
I do have a keen interest in cyber-security, browsers and operating systems under the hood, databases, HFT, image processing and other interesting stuff.

Currently working as browser principal software engineer on AVAST Secure Browser.

More details about my career you can find on my Linkedin page.

Highly skilled

  • Object-Oriented Programming (OOP)
  • Designing new application features
  • Application / Framework Architect
  • C / C++ 1x / STL / Visual C++ / C# / .NET / SQL
  • Chromium based browsers internals
  • Windows internals
  • Security
  • Relational Database Analysis & Design
  • Technical Assessments
  • Requirement Specifications
  • Strong debugging skills
  • Good communication and soft skills
  • Adaptable and flexible, keen for the best of his team
  • Languages (English, German, Romanian)

Follow me:
Twitter
Linkedin
GitHub
Facebook
Instagram
Youtube Channel
Codeguru
Pinterest

LOCATION
Switzerland

E-MAIL
my_email