ProgressMonitorDialog : Access Violation
yidabu
yidabu.spam at gmail.com
Fri Jun 20 18:58:05 PDT 2008
> >>> tested with dwt-win svn, dwtx svn, dmd 1.028
> >
> >> Thanks for the report yidabu.
> >> It is fixed now.
> >> In your example code, i noticed this:
> >> Thread.sleep(50); // should be 0.050
> >
> > update to svn, still not work:
> > ...
>
> strange.
> I tested it on linux and windows.
> are you sure you updated dwt-addons?
> this was the fix:
> http://www.dsource.org/projects/dwt-addons/changeset/83%3A028aedd523ad
change :
dialog.run(true, true, dgIRunnableWithProgress(&run));
to:
dialog.run(false, true, dgIRunnableWithProgress(&run));
Progress bar worked, and after monitor.done(), cause Exception:
Unhandled Exception: EXCEPTION_ACCESS_VIOLATION(0xc0000005) at dwtx.jface.dialog
s.ProgressMonitorDialog.ProgressMonitorDialog.configureShell.dwt.widgets.Shell.S
hell.__anonclass94.handleEvent.dwt.widgets.Event.Event.__anonclass95.run (0x0040
d891) thread(2004)
seems it's another anonclass problem.
--
yidabu <yidabu.spam at 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/
More information about the Digitalmars-d-dwt
mailing list