S
siddhu
dear experts,
I have put my class in a namesapce. in implementing the method it
calls some methods implented in .h file.
In that .h file it calls some other methods.
Following is the content of .h file included in my source code
#ifdef GetNextWindow
#undef GetNextWindow
AFX_INLINE HWND GetNextWindow(HWND hWnd, UINT nDirection)
{ return ::GetWindow(hWnd, nDirection); }
#endif
I am getting following error in VC7.
Error 3 error C2039: 'GetWindow' : is not a member of '`global
namespace'' c:\program files\microsoft visual studio 8\vc\atlmfc
\include\afxv_w32.h 236
If I remove my class from namespace (i.e. my class definitions are not
in my namespace but in global namespace) same thing is getting
compiled. But i want it to put in my namespace.
Any suggestion would be of great help.
Thanks
Siddharth
I have put my class in a namesapce. in implementing the method it
calls some methods implented in .h file.
In that .h file it calls some other methods.
Following is the content of .h file included in my source code
#ifdef GetNextWindow
#undef GetNextWindow
AFX_INLINE HWND GetNextWindow(HWND hWnd, UINT nDirection)
{ return ::GetWindow(hWnd, nDirection); }
#endif
I am getting following error in VC7.
Error 3 error C2039: 'GetWindow' : is not a member of '`global
namespace'' c:\program files\microsoft visual studio 8\vc\atlmfc
\include\afxv_w32.h 236
If I remove my class from namespace (i.e. my class definitions are not
in my namespace but in global namespace) same thing is getting
compiled. But i want it to put in my namespace.
Any suggestion would be of great help.
Thanks
Siddharth