Recommend a simple pallet class

Some netizens developed their own pallet class, to achieve a slightly cumbersome. Here I recommend a simple and very effective pallet class (which I learned in a book). 1. Copy TrayIcon.cpp and TrayIcon.cpp to your project directory and add it to

Graphics Display CPU Memory utilization

First, the operating interface of the program is as follows: Second, the procedure thought and the key points: 1, this program is divided into two situations to obtain CPU utilization, NT under the use of Ntdll.dll api:ntquerysysteminformation, 9

How to invoke a system dialog box

Yesterday, a classmate of mine asked me how to call the system in the program of the running dialog box, began to feel that should not be difficult, there should be API functions available, but on the MSDN for a half-day found. Later think of may be

Introduce a VC assistant development tool Vcextend

Vcextend expands the function of VC6.0, including function batch generation, automatic data interface generation, annotations can be hidden, annotations automatically generate documents and other functions, can greatly improve the efficiency of VC.

Simple and practical XML parsing classes

A little depressed today, don't want to work. When sorting the code, I saw the code that had been written for a long time, so I wanted to make it up for everyone to take the bricks. Parsing XML is too simple for the. NET platform, thanks to

Thread synchronization--Using a critical section

A critical section is an easy way to ensure that only one thread at a time can access data. Regardless of which thread occupies the critical section object, it can access the protected data, while the other threads must wait until the thread that

System timed hibernation

Unit recently strengthened security checks, in addition to some servers, not off the machine colleagues, were fined. To this end, I tried to download a few automatic shutdown programs, but none of the works. The final display "You can safely shut

Talking about the timing shutdown of the system

Before I wrote this program, I had seen a shutdown program written by someone else in the SDK. However, his program is only valid under the Win9x, in 2000 is not, can not shut down the machine can only log off. Because 2000 is a multi-user operating

Methods of process and multi-process management in VC + +

The process is the next instance of the current operating system that is loaded into memory and is running. Each process is made up of kernel objects and address spaces, the kernel object allows the system to store statistics about the process and

Initialization of MFC common controls

This is a problem I accidentally thought of when I read a source code, I did some research and now I'm posting the results to help people who are interested. InitCommonControls和InitCommonControlsEx Starting with Win95, Windows provides a number of

A brief description of the method of linking the dynamic link library in VC

Method One: Windows provides a set of functions for loading symbols (functions and variables) in a dynamic-link library, calling these functions to load: 1.HINSTANCE LoadLibrary (LPCTSTR lplibfilename); 2.FARPROC GetProcAddress (hmodule hmodule,

Proficient VC and MATLAB joint programming (VII)

Matlab Compiler is a compiler with MATLAB, it can convert m file into C, C + + or p and other types of source code, and according to the need to generate executable files, lib files (library files), DLL files or S function files. MATLAB 6.5 uses the

Re-learning gdi+[32]: Tgppen

The default value of the corner length limit is 10.0, which is generally sufficient. This example effect chart: Code files:Unit Unit1;InterfaceUsesWindows, Messages, sysutils, variants, Classes, Graphics, Controls, Forms,Dialogs, Stdctrls,

A simple and efficient logging system

A, the program log is an essential part of the commodity procedure. In formal commercial programs, there are generally some similar requirements for logs: Performance requirements Run-time log level can be adjusted Log file space usage security

Using VC6 to implement IE toolbar

Usually always like to use Google in IE on the toolbar, so also pondering to write a. Domestic introduction of this article too little, took a lot of detours, so put some of their own experience to sum up, hoping to help Up-and. First, IE toolbar

Using template element programming to realize solution cycle optimization

Brief introduction In the Book of C + + templates:the Complete Guide (hereinafter referred to as the book), this paper proposes one of the earliest practical applications of template element programming: Optimizing the solution cycle in numerical

VC production Crystal repeatedly see plug-in

Introduction: Recently in a friend that has a lot of watching games to play, feel good, but is to play but people, remember before in a book saw repeatedly see the practice of plug-in, but also relatively simple, they have not forgotten, so

A useful registry class

In daily programming, the use of the registry is very wide, for this reason, the author carefully studied on the Registry API functions (all in WINREG.H definition), wrote this registry class CRegistry for your reference. The main functions are

The boundary of Life and Death (upper)---between New and delete

The problem comes from a simple piece of code: void main() { char *p = new char; cin>>p; cout delete p; } In the above code, if you enter: ABCD, then, as you would expect, you will see the "correct" output "C". But there will be error prompts:

Point to Class members

Summary: This article describes the internal mechanism of the class member pointer and how it is generally used ... Recently I received many questions about the class method pointer, such as: The class method pointer cannot be used in VC, the

Total Pages: 64722 1 .... 44628 44629 44630 44631 44632 .... 64722 Go to: GO

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.