CodeSteps

Python, C, C++, C#, PowerShell, Android, Visual C++, Java ...

Author : venkat

C++ – Class Constructors

In C++, class constructors are special kind of methods to instantiate a class. When the class’s object is going to create, C++ will first call the class’s constructor to initialize the class. Initializing the class means, assigning its members and allocating any dynamic memory, etc., After the class’s constructor is called, the class’s object creation […]

MFC – Convert C++ Class to MFC based class

Microsoft Foundation Classes (MFC) are used to develop Windows based applications. MFC supports Document-View architecture; where data management separates from presentation layer. MFC wraps portions of Windows API C++ classes and enables to use them easily. In this article, we will discuss how to enable MFC to a simple C++ class. Let’s take a simple […]

C++ – How to define virtual functions?

C++ is a Object Oriented language. C++ uses virtual keyword in different places. One of the use of virtual keyword is to create virtual functions. An important feature in Object Oriented programming is Polymorphism; which means multiple-behaviors. An object has multiple behaviors and it shows particular behavior depending on its context. C++ achieves this with […]

COM – Creating a COM Component using C++ – DLL component

In this series of articles on creating a COM Component using C++, in the previous article, we implemented a component using C++. The component implemented the IUnknown standard interface and IHello custom interface. Custom interfaces are the interfaces defined by us. Standard interfaces are the interfaces that are defined by the COM component library. We need to […]

COM – Creating a COM Component using C++ – IUnknown interface

COM – An introduction COM (Component Object Model) is a platform-independent, distributed, and object-oriented technology developed by Microsoft to create re-usable software components and enables software components to communicate. COM enables interaction between objects through interfaces. Interfaces are core concepts to build COM components. An interface contains function prototypes only not the function implementations. COM […]

C++ – Pure Virtual functions

C++ Pure Virtual functions are used to create an abstract classes or interfaces. Pure Virtual functions have no function definition; just the function will be declared and the definition left to the derived classes. In C++, like Java, there is no interface keyword to create an interface. To create an interface in C++, the option […]

How to add or remove icons to taskbar in Windows 7?

Windows Taskbar is useful to launch applications quickly. And also useful to monitor the running applications. Usually frequently used application icons will be placed in Taskbar. Window 7 Operating System allows the users to add or remove the application icons to/from Windows Taskbar. This article applies to: Windows 7 Adding application icons to Windows Taskbar […]

Scroll to top