<windows.h>; to include or not to include..
Hi, I have a relatively simple problem. I have a variety of files, and I include windows.h in the appropriate files. Now I am trying to use the stl CPtrList class, and I include afxcoll.h like the help file indicates. However I get this error:
#ifdef _WINDOWS_
#error WINDOWS.H already included. MFC apps must not #include
#endif
in afx_w32.h. How do I use this object and still reference windows.h? Is it the order I do them in or something? I am not using the standard MFC structure type thing, I just want to use this particular container class.
"The mere thought hadn''t even begun to speculate about the slightest possibility of traversing the eternal wasteland that is my mind..."
That should read mfc CPtrList, but how would I use the stil equivalent?
"The mere thought hadn''t even begun to speculate about the slightest possibility of traversing the eternal wasteland that is my mind..."
"The mere thought hadn''t even begun to speculate about the slightest possibility of traversing the eternal wasteland that is my mind..."
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement