The Assembly Programming Master Book

Overview

In this chapter, I cover the two aspects most important for everyone who is going to start programming for Windows in Assembly language. These are application programming interface (API) function calls and possible structures of Windows programs. [i] There are several types of program structures, conventionally classified as follows : [ii]

In this chapter, the main attention will be concentrated on the first (classical) program structure.

Well, let me start by explaining several fundamental concepts of Windows programming. Those of you who already have some experience in the field of Windows programming can skip this material.

Now, after explaining some theoretical aspects, it is time to proceed with considering some programming examples.

[i] Not to be confused with the structure of executable modules.

[ii] I developed this classification.

[iii] As will be shown later, console applications also can have dialogs.

[i] Based on the terminology once adopted in MS-DOS, such a procedure must be called the "interrupt procedure." Windows, however, uses different terminology. Such procedures, called by the operating system itself, are CALLBACK procedures.

Категории