Original Post
Hello, I''m having a problem with overloading. I have a class like this
class Foo
{
void Bar(MyClass* a);
void Bar(DWORD a);
};
All runs fine and dandy, right? Until I get to the point where I call Bar(0), it gives me an ambiguous error. I want to direct that call to the DWORD version, but it doesn''t work. I''ve found I can hack through the problem by calling it like Bar((DWORD)0); but that''s just that: a hack. Is there any decent way of doing this?