| | |
a question about atltypes.h
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Nov 2008
Posts: 2
Reputation:
Solved Threads: 0
Here is my code, I want to get the coordinate of the mouse position:
But I could get it compiled through, below is the error information I got:
c:\documents and settings\yayang\my documents\visual studio 2008\projects\test2\test2\yyh2.cpp(7) : fatal error C1083: Cannot open include file: 'atltypes.h': No such file or directory
Does anyone help me? I am new to C++. Thanks!
C++ Syntax (Toggle Plain Text)
#include <iostream> #include <string> //#include "WinDef.h" //#include "stdafx.h" #include <windowsx.h> #include <windows.h> #include <atltypes.h> using namespace std; int main() { DWORD pos = GetMessagePos(); CPoint pt(LOWORD(pos), HIWORD(pos)); ScreenToClient(&pt); return 0; }
c:\documents and settings\yayang\my documents\visual studio 2008\projects\test2\test2\yyh2.cpp(7) : fatal error C1083: Cannot open include file: 'atltypes.h': No such file or directory
Does anyone help me? I am new to C++. Thanks!
Last edited by Narue; Nov 20th, 2008 at 3:24 pm. Reason: added code tags
Which compiler are you using? VC++ Express versions don't have the MFC or ATL components.
"We Americans got so tired of being thought of as dumb by the rest of the world that we went to the polls last November and removed all doubt."
~~~~~~~~~~~~~~~~~~
Looking for an exciting graduate degree? Robotics and Intelligent Autonomous Systems (RIAS) at SDSM&T See the program brochure here.
~~~~~~~~~~~~~~~~~~
Looking for an exciting graduate degree? Robotics and Intelligent Autonomous Systems (RIAS) at SDSM&T See the program brochure here.
I think you'll have to move up to a full version of Visual Studio (Standard or higher).
If you're a university student, see if your school participates in the Microsoft Developer Network Academic Alliance (MSDNAA).
If you're a university student, see if your school participates in the Microsoft Developer Network Academic Alliance (MSDNAA).
"We Americans got so tired of being thought of as dumb by the rest of the world that we went to the polls last November and removed all doubt."
~~~~~~~~~~~~~~~~~~
Looking for an exciting graduate degree? Robotics and Intelligent Autonomous Systems (RIAS) at SDSM&T See the program brochure here.
~~~~~~~~~~~~~~~~~~
Looking for an exciting graduate degree? Robotics and Intelligent Autonomous Systems (RIAS) at SDSM&T See the program brochure here.
![]() |
Other Threads in the C++ Forum
- Previous Thread: Hey all, a little help needed
- Next Thread: huffman code
| Thread Tools | Search this Thread |
api array based beginner binary bitmap c++ c/c++ calculator char char* class classes code coding compile compiler console conversion count database delete deploy desktop developer directshow dll download dynamiccharacterarray email encryption error file forms fstream function functions game givemetehcodez graph gui homeworkhelp homeworkhelper iamthwee ifstream input int integer java lib linux list loop looping loops map math matrix memory multiple news node number numbertoword output parameter pointer problem program programming project python random read recursion recursive reference return rpg sorting string strings struct temperature template templates text text-file tree url variable vector video visualstudio win32 windows winsock word wordfrequency wxwidgets






