On Fri, May 29, 2009 at 12:54 AM, girish gandhi
<girish_gandhi...@yahoo.com> wrote:

> I want ot extend or inhertis enums.
> But no idea how i can be .
> Can anyoen please help to resolve my problem.
>
> For Example Base class enum is define as follows
>  ESKUVerificationMode;
> and there is one varible of type
> ESKUVerificationMode m_SKUVerificationMode;
>
> now i want to take one enum in derived class so that i can assign the new 
> value to this varible.
> something like
> typedef enum {SKU_QUANTITY};
> and m_SKUVerificationMode  = SKU_QUANTITY;
> Currently i am gettign error, cannot convery from this to 
> ESKUVerificationMode .

I'm not sure what you are trying to do without seeing all of the code,
but you can't 'inherit' or 'extend' enums in the way I think you are
trying.

-- Brett
------------------------------------------------------------
"In the rhythm of music a secret is hidden;
    If I were to divulge it, it would overturn the world."
               -- Jelaleddin Rumi

Reply via email to