typedef in included header file

Hi guys

I have defined some types using typedef in a headerfile, but when I include that header file in an other one, I have to typedef them again. They are recognized in intellisense, but I get the error
error C2653: ' is not a class or namespace name
if I don't define them again.

they are defined outside of any class or function.

Does anyone know why this happens? Shouldn't it be enough to define them in just one header file?
closed account (zb0S216C)
Post the header file, along with the line that causes the error.

Wazzak
Topic archived. No new replies allowed.