B
bidalah
Hi,
Many in this group have dealt with converting unmanaged enums to
managed ones, but my problem is slightly different. I am created a
wrapper for an unmanaged class that uses several enums and contains
functions that take whole enums as inputs.
I have wrapped the functions and recreated the enums. However when I
compile I get an error message which says I cannot convert the enum in
my managed wrapper to the comparable one in the unmanaged class.
What I need is either a way to pass __value enums to a wrapped
unmanaged class or to reference a unmanaged enum in a managed wrapper.
Any suggestions are appreciated.
Many in this group have dealt with converting unmanaged enums to
managed ones, but my problem is slightly different. I am created a
wrapper for an unmanaged class that uses several enums and contains
functions that take whole enums as inputs.
I have wrapped the functions and recreated the enums. However when I
compile I get an error message which says I cannot convert the enum in
my managed wrapper to the comparable one in the unmanaged class.
What I need is either a way to pass __value enums to a wrapped
unmanaged class or to reference a unmanaged enum in a managed wrapper.
Any suggestions are appreciated.