Namespace conflit with Gdiplus
Hi!
I created a Point class like this:
namespace ProjectX {
namespace Drawing {
class Point{...};
};
};
When I declare Point with using namespace ProjectX::Drawing, the compiler feel ambiguis with Gdiplus::Point and ProjectX::Drawing::Point. I haven't include Gdiplus header...
How can I resolve that conflict?
Thanks,
Michel.
Re: Namespace conflit with Gdiplus
Either of:
1) Don't use:
Code:
using namespace ProjectX::Drawing;
2) Use:
Code:
using ProjectX::Drawing::Point;
Viggy
Re: Namespace conflit with Gdiplus
Cool, it's work!
Tanks for your answer!