One-day training of Windows APIs (15) postquitmessage Function

In the natural interface, various creatures have their lifecycles. Program It also has its own life cycle. When it was created, it was born. When it was running for a period of time, and ultimately it was about to die, how did the death of the

One-day training of Windows APIs (50) suspendthread and resumethread Functions

the operating system has several status changes to the thread: Execution, suspension, and recovery. when the thread finishes the task or wants to pause the running of the thread, you need to use suspendthread to pause the thread execution. Of

Windows API one-day training (77) virtualalloc Function

The last time I learned about the global memory allocation, in windows, the memory management is divided into two parts. The global memory is the memory managed by the system, so all processes can access the memory, each process has its own memory

Rich Wickham on Windows-live

For cross-platform gaming, there is one sentence: A game that's an RTS on the PC cocould be an FPS on the 360, where "I'm the RTS commander, and I'm moving units around and you're the foot soldier going out and fighting the battles. and how you

One-day Windows API training (12) translateaccelerator Function

When the application Program When running, you press the shortcut key to generate a key message. In Windows, how does one convert it into a message that responds with the shortcut key? This requires the translateaccelerator function. The main

[Reprint] Windows Network Programming Series 4: select model

Original article:Http://www.51see.com/asp/bbs/public/bp_show.asp? T_id = 200308131152297103. Let's talk about the difference between Socket mode and socket I/O model. First, it is only for Winsock. If you want to pick an egg in the bones and apply

Windows custom message ID

Wm_user to 0x7fff are reserved for private window classes. You can think of this range as meaningful private messages in a specific form class. Applications that want to define their own messages ProgramWm_app should be used. Wm_app ensures that

One-day training of Windows APIs (66) createwaitabletimer and setwaitabletimer Functions

Users feel that the software is easy to use, that is, they can do some work on a regular basis without the need to participate. For example, update the virus database regularly every day, regularly download movies, and regularly update characters in

One-day training of Windows APIs (51) createdirectory and removedirectory Functions

In the age of information explosion, classification of various types of information is already a very necessary function. For example, to save stock market data to a hard disk, you need to separate several directories for storage. For example, when

One-day training of Windows APIs (14) dispatchmessage Function

The previous section describes how to obtain a message from the system queue, check the function of the shortcut key, and convert the character message function. The last thing to do is to call the dispatchmessage function, it means to send this

Windows API one-day training (55) flushfilebuffers and setfilepointer Functions

In PC In the hardware architecture, the fastest memory is CPU Register in the system, then to the second-level cache, and then to the System Ram Memory, and finally to the hard disk. This architecture determines how the operating system

Windows API one-day training (81) formatmessage Function

Debugging is a common task during software development. Program Many problems may occur, but logical problems may also be unfamiliar with the API, or API calls may fail under certain conditions. So what are the causes of these errors? Generally,

Windows API one-day training (70) getsystemtime and getlocaltime Functions

Time is a very important information. For example, when writing a log, you need to output the time and track it. Program When did the error occur. Or when you develop a bank transaction system, you need to record the current transaction time so that

Windows API one-day training (46) entercriticalsection and leavecriticalsection Functions

When multiple threads operate on the same data, they generally need to access the data in order. Otherwise, data may become disordered and data cannot be controlled and becomes a random variable. To solve this problem, we need to introduce mutex

One-day training of Windows APIs (56) SetEndOfFile and GetFileSizeEx Functions

One day, I was developing the btsoftware, which had the function of allocating the file size and then writing data to the corresponding location. The advantage is that the disk space can be occupied first, so that subsequent Downloads can proceed

Windows API one-day training (52) GetCurrentDirectory and SetCurrentDirectory Functions

In software development, you often encounter the need to read the configuration parameter files in the current directory, or open other programs in the current directory to run, you need to obtain the directory location of the current process, in

One-day Windows API training (13) TranslateMessage Function

TranslateMessage is used to convert a virtual key message to a character message. Because Windows uses the definition of virtual keys for all keyboard encodings, when the keys are pressed, messages that do not have character messages need to be

One-day training of Windows APIs (59) CreateFileMapping and MapViewOfFile Functions

During software development, data sharing between processes is also frequently required. For example, if process A creates computing data, process B displays the Data graph. Such a development method can split a large program into independent small

One-day Windows API training (85) OpenClipboard Function

Data sharing among multiple software is very important. It is hard to imagine how inconvenient it is to edit the software without the CTRL + C and CTRL + V functions. Many operations are the copy action for data sharing. Clipboard sharing is an

One-day Windows API training (60) CreateIoCompletionPort and GetQueuedCompletionStatus Functions

In Windows, using the completed port is one of the high-performance methods, such as using the completed port to the thread pool and network server. Now we will introduce how to use the finished port through the thread pool method, and how to

Total Pages: 1788 1 .... 1207 1208 1209 1210 1211 .... 1788 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.