When I use this script:
I get these errors comping up at the ending bracket of my struct:Code:typedef struct tagWINDOWS { HWND DesktopHwnd; HWND Current; } WINDOWS, *WINDOWS;
But, when I use this script:conflicting declaration 'typedef struct tagWINDOWS*WINDOWS'
'WINDOWS' has a previous declaration as `typedef struct tagWINDOWS WINDOWS'
declaration of `typedef struct tagWINDOWS*WINDOWS'
conflicts with previous declaration `typedef struct tagWINDOWS WINDOWS'
declaration of `typedef struct tagWINDOWS*WINDOWS'
conflicts with previous declaration `typedef struct tagWINDOWS WINDOWS'
[Build Error] [PR.o] Error 1
I get these errors coming up with the begining bracket of the first function I declare after my struct:Code:typedef struct tagWINDOWS { HWND DesktopHwnd; HWND Current; }
What am I doing wrong?new types may not be defined in a return type
extraneous `int' ignored
invalid function declaration
[Build Error] [PR.o] Error 1
Thanks in advance, August.