Startup from registry program doesn't work

2009-11-26 Thread Sam Hu
Greetings! Below program is purpose to execute a program(exe) from registry upon system startup.It was built successfuly,but unfortunately it does not work as expected,nothing would happen.It prints: Oh..no,not a good doctor. when the program runs. What's problem?It is under DMD2.036 under

Re: Class templates deriving from base class

2009-11-26 Thread Ary Borenszweig
Michael Mittner wrote: Hi! I'm trying to do something like this (in D1): class Foo { // ... } class Bar(T) : Foo { // ... } alias Bar!(int) IntBar; alias Bar!(Mars) MarsBar; void main() { Foo x = new MarsBar(); } Common base class, one derived template class and a bunch of