Mercurial > projects > dwt-win
view dsss.conf @ 166:cd28aa5221a3
Added DateTime widget port. by Zhiguang Liang
but we need to pay attention to the java code.
Mostly is the call of following:
size = OS.GetDateFormat
if it fails, MSDN says size would be 0, reasons :
1.ERROR_INSUFFICIENT_BUFFER
2.ERROR_INVALID_FLAGS
3.ERROR_INVALID_PARAMETER
since the second time calling , the java code uses the exactly same args. So I assume the javacode is trying to retry for the 1st case. But it shouldn't allocate an empty array for this?
weird...
author | davelzg@gmail.com |
---|---|
date | Fri, 22 Feb 2008 00:43:13 +0800 |
parents | d08838a2a932 |
children | 6d1762e7ebb7 |