I want to be able to launch a “balloon”-type window when errors happen in my command line apps that I run in a batch. I’m thinking of creating a WPF executable, and passing it the message to be displayed on its command line.
Will I be able to pass in Unicode characters on its command line?
Can anyone suggest a different approach of passing the text to be displayed to a WPF window in an external executable/DLL?
[request for more detail]
Essentially I’m looking for an easy way to launch a window with some message, and that message will come executables that don’t have a UI (windows service, ommand line tool). I was thinking of calling a WPF app with the message on the command line, like this:
NotificationBalloon.exe “this is the message to display”
but that wouldn’t support unicode characters. I’m looking for a better way to pass the message to NotificationBalloon.exe
I ended up passing the UTF-16 values on the command line and converting it to a string inside my main() function. For example:
NotifWindow.exe 00480065006c006c006f0021
will print out “Hello!”