Just one thing. I'm using this test script:
Code:
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
MsgBox Not dead 1
MsgBoxU(0, "Hello Unicode!", "Unicode is supposed to rock")
MsgBox Not dead 2
ExitApp
MsgBoxU(Options, Title, Text, HWND=0){
StandardUnicodeConvert(TitleU, Title)
StandardUnicodeConvert(TextU, Text)
DllCall("MessageBoxW", "uint", HWND, "uint", &TextU, "uint", &TitleU, "uint", Options)
}
StandardUnicodeConvert(ByRef Output, Input){
ILength := StrLen(Input)+1
VarSetCapacity(Output, ILength*2)
DllCall("MultiByteToWideChar", "uint", 0, "uint", 0, "str", Input, "uint", ILength, "str", Output, "uint", ILength)
}
But it silently dies. What am I doing wrong?
EDIT: Ahh yeah. MultiByteToWideChar() doesn't exist in Windows Mobile 2003 >_<
EDIT2: You forgot to add the AutoHotkey executable to the CAB file!
_________________
fincs
Highly recommended: AutoHotkey_L (
see why) (all my code snippets require it)
Formal request to polyethene - I support the unity of the AutoHotkey community
Get SciTE4AutoHotkey v3.0.00 (Release Candidate)[My project list]