Creating Dynamic Code Segments Using PrestoChangoSelector (89560)
The information in this article applies to:
- Microsoft Windows Software Development Kit (SDK) 3.0
- Microsoft Windows Software Development Kit (SDK) 3.1
This article was previously published under Q89560 SUMMARY
Some problems arise when an application for the Microsoft Windows
graphical environment uses a segment addressed by a selector that is
not allocated by the Windows kernel. This article describes the
correct method of building selectors at run time. While the text below
describes the problems that arise when an application calls the
PrestoChangoSelector() function to alias a selector, it does not
discuss other difficulties involved in building a code segment at run
time. Note that the techniques in this article are specific to the
current implementation of 16-bit Windows.
Note that version 3.0 of the Windows Software Development Kit (SDK)
"Reference: Volume 1" manual refers to the PrestoChangoSelector()
function as the ChangeSelector() function.
Modification Type: | Major | Last Reviewed: | 10/30/2003 |
---|
Keywords: | kb16bitonly KB89560 |
---|
|