Reading Notes windows core programming (5th)

Source: Internet
Author: User

P5. getlasterror is prone to errors in the case of multiple threads. How can this problem be prevented?

What is a named event Kernel Object? A new concept suddenly emerged, not introduced either.

The object is successfully created and verified by error_already_exists.

Why is the HR qualifier "HR"? Does it have the quality of HR as long as it is called?

P6. this is called the small error lookup.ProgramIs it a task for interns...

Is va_list also an intern?

Formatmessage supports Chinese Characters

P7. you can see that this 32-digit 32-bit number is written in the English version.

Suddenly this facility is a hair!

P8. getdlgitemint is nostalgic.

P12.UTF-32 is still used inside the program

P13./ZC: wchar_t cannot be opened. Foreigners often do this and never consider others' feelings.

Typedef unsigned short wchar_t cannot afford to hurt. This is what many old projects do.

P15. the conversion layer is also available.

P16. It's hard to understand what the resource compiler is and what concepts it comes up with should be briefly introduced. I suspect the author just wants to help sell windows internal.

P17. _ Unicode is really not easy to use.

<Tchar. h> what is there in prepar3d? Why is there a large number of C functions at the underlying layer?

P21. Memory leakage can also be detected in this way.

P22.windows stability is based on limited tolerance for errors.

How can we leave the dwflags empty after its low-byte padding?

What is the cause of failure? strsafe_e_insufficient_buffer? Isn't that a return value? The target buffer zone is too small!

P23. why is it because strasafe_fill_behind_null is executed and 0xfd is specified?

P25.kernel32 programming has its own security mechanism

Is/GS and/RTC useful?

P33. sure enough. If you haven't finished reading this chapter, TM will return and review it. There are too many knowledge points and you won't be able to read it later.

P34. cross-process kernel sharing is so troublesome!

Why is the owner of the kernel object the kernel?

P36. why does the process handle table look like the first time I heard of it?

P38.invalid _ handle_value is amazing

P39. it seems that I still don't understand what the kernel object is.

P41. the naming object is Mao. Why can't it be understood?

P44. what other company writes sub-processes?

P45. what is the environmental block?

P52. no matter what name the kernel object is, just create one?

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.