Knowledge Base

DOC: _set_se_translator and set_terminate Help Info Incorrect

Article ID: 122562

Article Last Modified on 7/5/2005


APPLIES TO


This article was previously published under Q122562

SUMMARY

The Quick Reference Help and Books Online both state that the _set_se_translator() and set_terminate() functions return a pointer to their argument. In fact, they return a pointer to the previous translator or terminate function respectively.

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This problem was fixed in the documentation of Microsoft Visual C++ 4.0.

MORE INFORMATION

Annotate the Books Online and the Quick Reference Help to include the correct documentation. For the _set_se_translator help or Books Online:

  1. Choose Annotate from the Edit menu.
  2. Enter the following text:

    The return value is incorrectly documented. _set_se_translator() returns a pointer to the previous translator function.

  3. Click the Save button.
For the set_terminate function, repeat the above steps using the following text:

  • The return value is incorrectly documented. set_terminator() returns a pointer to the previous terminator function.

Keywords: kbdocfix kbdocerr kbcpponly kbcompiler KB122562