CodeSteps

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

cPanel – How to see bandwidth usage for your site?

The cPanel control panel allows us to see the bandwidth usage of your site. It displays the current month’s bandwidth usage, as well as the previous month’s bandwidth usage in graphical view. Depending on the settings made by your system administrator, the bandwidth usage includes: HTTP (web) bandwidth usage POP3 (mail) bandwidth usage FTP bandwidth usage […]

COM – Creating a COM Component using C++ – Summary of component development

Finally, we have successfully developed our COM component HelloComponent using C++. Let’s summarize how we developed our COM component in this article. Microsoft’s Component Object Model (COM) is a specification to allow to write of reusable components and enables them to communicate with each other. COM depends on interfaces to achieve its goals. One of […]

C++: Templates

C++ Templates are used for writing generic programming. C++ allows defining the function templates and class templates. In C++, we use the template keyword to write generic programming. The syntax of the template declaration starts with template<class T> Where template is the keyword that indicates the particular function or class is a generic function or […]

COM – Creating a COM Component using C++ – IClassFactory implementation

CoCreateInstance depends on IClassFactory to create class instances. We have looked into IClassFactory‘s methods and we have implemented these methods in our previous article. Let’s include IClassFactory‘s implementation into our HelloComponent. We already have HelloComponent‘s declaration in the “HelloComponent.h” file and its implementation in the “HelloComponent.cpp” file. In the same way, we will add the IClassFactory […]

MS-DOS – Writing a simple batch file

In MS-DOS, we can write DOS commands into a file and these commands are invoked when we run the file. Usually we can enter our command at DOS prompt. Once we enter the command, Operating System will execute the command and display the results on DOS console window. How do we enter multiple commands at […]

jQuery – Writing a simple “Hello, World!” program

jQuery is a JavaScript library designed to simplify client-side scripting. jQuery enables the writing of cross-browser-compatible JavaScript code. Without it, it is tedious to write cross-browser-compatible code with JavaScript. In this article, we will look at our “Hello, World!” program using jQuery. We can download the jQuery library from jQuery.com. Instead of downloading it, we can […]

COM – Creating a COM Component using C++ – IClassFactory

In our previous article, we have identified that CoCreateFunction is requesting an instance of IClassFactory. Why CoCreateInstance is requesting an instance of IClassFactory? One of the goals of the COM is to locate the objects easily without worrying about where they are located and where they are housed; whether they are housed in in-process, local, or remote. in-process means, the […]

Scroll to top