Hello again!
It seems like I've stumbled on some kind of scripting problem once again. This time, it's much more problematic than
[?] Weirdness. Evolved. or
[?] Trying to get into the advanced stuff...
Here's what's happening:
- The user opens the script's window.
- The user clicks a button.
- The script calls ChooseFontW to open a font dialog.
- If the result of this call is zero (meaning that the user clicked Cancel in the dialog), the script stops here.
- If the result of this call is nonzero (meaning that the user clicked OK), the script continues.
- The script reads the selected font name from the result structure and sets the button text to this name.
- The user closes the script window.
- Messenger crashes.
There really is
nothing I can do to prevent this crash. The structures are cleared, nothing else is done, it doesn't crash when the user clicks Cancel or doesn't click the "Choose a font" button at all... and I have no clue why or how this is happening.
Attached is a sample script which proves this behavior. Feel free to mess around with it, do whatever you want to test this.
Please, help me if you can!
System information:
Windows Vista Ultimate x64 (6.0.6000)
Windows Live Messenger 8.5.1018
Messenger Plus! Live 4.50.0.317
(private BETA received from Patchou to test new scripting methods)