Can I use resource file(*.rc,*.res) in D under Win32 API?
    Sam Hu 
    samhudotsamhu at gmail.com
       
    Tue Sep 15 00:48:53 PDT 2009
    
    
  
Stewart Gordon Wrote:
> Your problem is right here: In D, switch statements must have default 
> clauses of there's any chance of the value being switched not matching 
> any of the switches.  If there isn't, a SwitchError is thrown at 
> runtime.  Presumably, the program crashes because there's nothing 
> catching the error before Windows does.
> 
> The same applies in the inner switch.
> 
> Stewart.
Thank you so much for all your help! I make it finally.Now looking back found it kind of easy,no much difference with VC++.:P
Regards,
Sam
    
    
More information about the Digitalmars-d-learn
mailing list