D 2009-06-30T21:29:34 J icomment You\smight\stry\sthe\sattached\spatch.\sIn\sgeneral\sthe\sTcl\scode\sis\scompiled\sas\snarrow\s(TCHAR\s==\schar)\sand\sit\sswitches\sthe\swin32\sapi\sfunctions\sat\sruntime\susing\sthe\stclWinProcs\sglobal.\sSo\sGetUserName\sshould\shave\sbeen\sindirectly\saccessed\susing\sthis.\nThis\spatch\sseems\sto\swork\sfor\sme\sand\sI\stried\sforcing\sa\scyrillic\sname\sthrough\sit\sand\sthat\swas\sok\stoo.\n J login patthoyts J mimetype text/plain J username patthoyts K 2806622fffffffffffffffffffffffffffffffff U patthoyts Z 26cfa28618b475559565d6535ab70d6d