| | |
Included file not found during compile time.
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
Included file not found during compile time.
This must be an easy question for you to answer.
I have a header file (basetsd.h) that is located in the
C:\Program Files\Microsooft Visual Studio\VC98\Include
directory.
Where do I set the path to this header file? I don't want to hard code it in my cpp file (which is what the last programmer who worked on this project did).
This must be an easy question for you to answer.
I have a header file (basetsd.h) that is located in the
C:\Program Files\Microsooft Visual Studio\VC98\Include
directory.
Where do I set the path to this header file? I don't want to hard code it in my cpp file (which is what the last programmer who worked on this project did).
If you are using VC++ 6.0 compiler the path should already be set. Look in menu Tools --> Options --> Directories -->Include Files. There you will find the path. If it isn't there then you need to put it there. Should have been set during the compiler's install, but maybe you accidentially deleted it.
Last edited by Ancient Dragon; Sep 14th, 2006 at 4:47 pm.
basetsd.h isn't a standard header file, as you can find out by googling it. Therefore dropping the .h wouldn't help much; only the standard C++ header files have no extension. Of course, you're free to call the header basetsd without a .h; but there's no reason to believe that the programmer did so.
Both of the compilers you mentioned should support no-.h standard C++ header files.
Both of the compilers you mentioned should support no-.h standard C++ header files.
dwk
Seek and ye shall find.
"Only those who will risk going too far can possibly find out how far one can go."
-- TS Eliot.
"I have not failed. I've just found 10,000 ways that won't work."
-- Thomas Alva Edison
"The only real mistake is the one from which we learn nothing."
-- John Powell
Seek and ye shall find.
"Only those who will risk going too far can possibly find out how far one can go."
-- TS Eliot.
"I have not failed. I've just found 10,000 ways that won't work."
-- Thomas Alva Edison
"The only real mistake is the one from which we learn nothing."
-- John Powell
![]() |
Similar Threads
- Powerpoint Problem (Windows Software)
- hacktool.rootkit virus (Viruses, Spyware and other Nasties)
- HTTP Error 404 - File or directory not found. (ASP.NET)
- how to set file access time (C)
- graphices header file (C)
- Antivirus (Computer Science)
- [Q] Generating compile time error when sizeof(int) != 4 (C++)
Other Threads in the C++ Forum
- Previous Thread: HELP needed in VC++ Project!!!
- Next Thread: help with union and bit field structure.
| Thread Tools | Search this Thread |
Tag cloud for C++
api application array arrays based beginner binary bmp c++ c/c++ calculator char char* class classes code compile compiler console conversion convert count data delete deploy dll download dynamic dynamiccharacterarray encryption error file format forms fstream function functions game givemetehcodez graph gui homeworkhelp iamthwee ifstream input int java lib library linkedlist linker list loop looping loops map math matrix memory microsoft newbie news number numbertoword output pointer problem program programming project python random read recursion recursive reference rpg simple sorting string strings temperature template templates test text text-file tree url variable vector video visual visualstudio void win32 windows winsock wordfrequency wxwidgets






