Long has no effect in expression (0)

Sam Hu samhu.samhu at nospam.com
Sun Nov 1 20:23:41 PST 2009


Given below code segment under DMD1.050 :

class COM : OS 
{   
    .......   
   //public static const int OLEWHICHMK_OBJREL = 2;   
   public static const int S_FALSE = 1;   
   public static const int S_OK = 0 ; //Error ocurred here!!
}  

Got the subjected error message.What does this mean?

Thanks for your help in advance.

Regards,
Sam


More information about the Digitalmars-d-learn mailing list