Visual C++

Win32 Programming – How to create a simple GUI based application?

By adding Graphical User Interface (GUI) to the applications we can change whole look and feel of the applications and users will feel more comfortable to access the GUI based applications than the text-based or console-based applications. Win32 API provides vast number of API functions to create and deal with Graphical User Interface (GUI) applications. In […]

Visual C++: Exporting functions from a DLL using “.DEF” file.

As we discussed in our previous article, the functions in the DLL can export using the “__declspec(dllexport)” keyword or “.DEF” file. We have already discussed exporting the functions using the “__declspec(dllexport)” keyword in our previous article. In this article I am going to discuss exporting functions in the DLL using “.DEF” file. Let’s start this […]

MFC – CObject class – Enable Object Diagnostic support

In our previous articles we have discussed about CObject‘s “run-time class information”, “serialization support” and “dynamic object creation” features. In this articles I am going to discuss about CObject‘s “object diagnostic support” feature. Object diagnostic feature is useful to provide additional information about the objects; usually this information will be displayed in the output window in the integrated […]

Win32 Programming – How to create a simple Console based application?

Microsoft Windows’s Win32 API (Application Programming Interface) is for developing applications on 32-bit Windows platforms. Win32 also introduced API functions for 64-bit applications. So, using Win32 API we can develop both 32-bit and 64-bit applications. Programming using Win32 API is a bit difficult compared to programming using MFC (Microsoft Foundation Classes). MFC is a framework […]

MFC – How to create user-defined messages and their message handlers?

Windows based user interface applications are message driven. When a message is generated, its associated message handler will be executed. MFC (Microsoft Foundation Classes) framework enables to write message driven applications more easily. MFC provides CCmdTraget class for this purpose. In this article I am going to explain the steps to create user-defined messages and […]

MFC – CObject class – Enable Dynamic Object creation

As of now, we have discussed CObject class features “run-time class information” and “serialization support” in our previous articles MFC – CObject class – An Introduction – Enable Run-time class information and MFC – CObject class – Enable Object Serialization respectively. In this article, I am going to discuss CObject‘s another feature “dynamic object creation”. […]

Scroll to top