This function displays a message box on the screen of the target device.

void _Alert(
  BSTR string 


  • string
    Text to be displayed in the message box.


You can clear the message by passing an empty string into the string parameter.

You can call this function from a script that Cescript.exe executes.


OS Versions: Windows CE 4.2 and later.

See Also

Scripting Host Functions | Scripting Host Tool

 Last updated on Friday, October 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.