I have an data structure of type Enum. I'm trying to create a function which will take a string as a parameter (the string will be one of the items in the Enum), and return the Enumerator (the number). I've gone in circles trying to accomplish this, and I know it involves some type of casting. The compiler (MS Visual C++ 6.0) has been trying to tell me that my goal is unrealistic. Do I have an invalid premise here? If not, please give me some direction.