|
Archives
D Programming
digitalmars.Ddigitalmars.D.bugs digitalmars.D.dtl digitalmars.D.ide digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger D.gnu D C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript electronics |
digitalmars.D.dwt - dwt2 exception: required u_forDigit_3_8 NUL in library icuuc38.dll
an app updated to with dwt2, get runtime exception, Invalid UTF8..., the app works fine with dwt-win and dwtx. I built dwt2 debuglib today, re-compile app with debug flags, run ddbg -r app.exe,get exception on startup: unhandled D Exception (object.Exception "required u_forDigit_3_8 NUL in library icuuc38.dll KERNEL32.dll (0x7c812a5b) thread(1344) ->us #0 ?? () at java\mangoicu\UChar.d:1229 from KERNEL32.dll #1 0x0084ba5b in __d_throw 4 () at java\mangoicu\UChar.d:1229 from deh #2 0x004703e1 in java.mangoicu.UChar.UChar._staticCtor37 () at java\mangoicu\UChar.d:1229 #3 0x00470400 in java.mangoicu.UChar.__modctor () at copy icuuc38.dll to app dir, get same exception. (the icuuc38.dll is not required before) any help? -- yidabu <yidabu.spam gmail.com> http://www.dsource.org/projects/dwin/ D 语言-中文(D Chinese): http://www.d-programming-language-china.org/ http://bbs.d-programming-language-china.org/ http://dwin.d-programming-language-china.org/ http://scite4d.d-programming-language-china.org/ Mar 30 2009
On Tue, 31 Mar 2009 07:26:08 +0800 yidabu <dyuyan.spam gmail.com> wrote:an app updated to with dwt2, get runtime exception, Invalid UTF8..., the app works fine with dwt-win and dwtx. I built dwt2 debuglib today, re-compile app with debug flags, run ddbg -r app.exe,get exception on startup: unhandled D Exception (object.Exception "required u_forDigit_3_8 NUL in library icuuc38.dll KERNEL32.dll (0x7c812a5b) thread(1344) ->us #0 ?? () at java\mangoicu\UChar.d:1229 from KERNEL32.dll #1 0x0084ba5b in __d_throw 4 () at java\mangoicu\UChar.d:1229 from deh #2 0x004703e1 in java.mangoicu.UChar.UChar._staticCtor37 () at java\mangoicu\UChar.d:1229 #3 0x00470400 in java.mangoicu.UChar.__modctor () at copy icuuc38.dll to app dir, get same exception. (the icuuc38.dll is not required before) Mar 31 2009
On Wed, 1 Apr 2009 06:48:49 +0800 yidabu <dyuyan.spam gmail.com> wrote:On Tue, 31 Mar 2009 07:26:08 +0800 yidabu <dyuyan.spam gmail.com> wrote:an app updated to with dwt2, get runtime exception, Invalid UTF8..., the app works fine with dwt-win and dwtx. I built dwt2 debuglib today, re-compile app with debug flags, run ddbg -r app.exe,get exception on startup: unhandled D Exception (object.Exception "required u_forDigit_3_8 NUL in library icuuc38.dll KERNEL32.dll (0x7c812a5b) thread(1344) ->us #0 ?? () at java\mangoicu\UChar.d:1229 from KERNEL32.dll #1 0x0084ba5b in __d_throw 4 () at java\mangoicu\UChar.d:1229 from deh #2 0x004703e1 in java.mangoicu.UChar.UChar._staticCtor37 () at java\mangoicu\UChar.d:1229 #3 0x00470400 in java.mangoicu.UChar.__modctor () at copy icuuc38.dll to app dir, get same exception. (the icuuc38.dll is not required before) Mar 31 2009
this is an old problem I reported with dwt-win and dwtx, takes me a half day to
found it.
class MyMenuListener: IMenuListener
{
void menuAboutToShow(IMenuManager manager)
{
action.setEnabled(false); // the gui not responsed
action.setEnabled(true); // no problem
}
}
tested with current dwt2(Windows), tango 0.99.8, build lib by Rake, build app
by DMD 1.041
I removed all listeners, works now.
--
yidabu <yidabu.spam gmail.com>
http://www.dsource.org/projects/dwin
D 语言-中文(D Chinese):
http://www.d-programming-language-china.org/
http://bbs.d-programming-language-china.org/
http://dwin.d-programming-language-china.org/
http://scite4d.d-programming-language-china.org/
Mar 31 2009
|