www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.dwt - Access Violation for AddressBook sample

reply Kite <yipeng97 yahoo.com> writes:
I installed dmd-snaps from FSDEV. And I compiled AddressBook sample, it's ok.
But after I run it, if I click some menu, for instance, file/edit menu.
application crashed. Access Violation is reported.

How to avoid this when I use DWT?

Thanks.
May 30 2008
parent reply arnaud <arnaud.versini gmail.com> writes:
Kite a écrit :
 I installed dmd-snaps from FSDEV. And I compiled AddressBook sample, it's ok.
 But after I run it, if I click some menu, for instance, file/edit menu.
application crashed. Access Violation is reported.
 
 How to avoid this when I use DWT?
 
 Thanks.
There is a bug with DMD 1.030 and Anonymous classes
May 30 2008
parent reply arnaud <arnaud.versini gmail.com> writes:
arnaud a écrit :
 Kite a écrit :
 I installed dmd-snaps from FSDEV. And I compiled AddressBook sample, 
 it's ok.
 But after I run it, if I click some menu, for instance, file/edit 
 menu. application crashed. Access Violation is reported.

 How to avoid this when I use DWT?

 Thanks.
There is a bug with DMD 1.030 and Anonymous classes
http://d.puremagic.com/issues/show_bug.cgi?id=2123
May 30 2008
parent Frank Benoit <keinfarbton googlemail.com> writes:
arnaud schrieb:
 arnaud a écrit :
 Kite a écrit :
 I installed dmd-snaps from FSDEV. And I compiled AddressBook sample, 
 it's ok.
 But after I run it, if I click some menu, for instance, file/edit 
 menu. application crashed. Access Violation is reported.

 How to avoid this when I use DWT?

 Thanks.
There is a bug with DMD 1.030 and Anonymous classes
http://d.puremagic.com/issues/show_bug.cgi?id=2123
Yes, DMD 1.028 is the newest known to work compiler. See http://www.dsource.org/projects/dwt/wiki/Requirements
May 30 2008