Home  |  About  | Last |  Submit  |  Contact
AllQuests.com

Previous Question:  Alone in Dark 5 Xbox360 PC Confirmed for March 2008  Xbox 360Next Question:  Unable to install Window Service on Vista  Visual C++ Programming
Question mystery External Dependencies and basetsd.h ( CodeGuru Forums Visual C++ Programming )
Updated: 2008-08-12 06:06:05 (5)
mystery External Dependencies and basetsd.h

Hi Folks,

Can someone please tell me why vc++ keep placing basetsd.h into an External Dependencies folder for every one of my projects that happen to #include windows.h?

I see that windows.h #includes winnt.h which #includes basetsd.h.

I realize that basetsd.h is for base type size definitions.

I further get the idea that vc++ is automatically doing me a favor by placing any "non-standard" headers in the External Dep's folder so the stuff therein doesn't end up in my class view.

What I don't get is; what makes basetsd.h so special? What makes it "non-standard"? Windows headers include headers which include headers all over the place, multiple levels deep -- yet the only one out of all of 'em that ends up in Ext. Dep's is basetsd.h. Why aren't there tons of other headers in there as well?

Thanks.



Answers: mystery External Dependencies and basetsd.h ( CodeGuru Forums Visual C++ Programming )
mystery External Dependencies and basetsd.h

What is it with noobs and ancient threads?

GCDEF

mystery External Dependencies and basetsd.h

Problem:
Compilation error:
syntax error : missing ';' before identifier 'HSEMAPHORE' in strmif.h

Solution
Add

typedef unsigned long DWORD_PTR;
typedef long LONG_PTR;

before
typedef DWORD_PTR HSEMAPHORE;

Enjoy

shashank2k8

mystery External Dependencies and basetsd.h

Hmm... just noticed that I'm running sp4 and not the latest sp5. Updated vc++6 to sp5 but basetsd.h is still there.



Toben

mystery External Dependencies and basetsd.h

bump

Anybody?


Toben

mystery External Dependencies and basetsd.h

Well, thank you all for your tireless efforts and multiple postings on this thread. I found the solution at http://www.darkmagic.org/mike/msvc_ref.html

To quote:
In reply to:


SysIncl.dat update removes BASETSD.H dependancy

-----------------------------------------------------------------------------
Article was written by Michael McGarrah
Tired of BASETSD.H being added as a dependacy of every project. Add it to the x:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin\Sysincl.dat file and it will no longer be listed as a dependancy.






Toben

Previous Question:  Alone in Dark 5 Xbox360 PC Confirmed for March 2008  PS3Forums  Xbox 360Next Question:  Unable to install Window Service on Vista  CodeGuru Forums  Visual C++ Programming

- Source: mystery External Dependencies and basetsd.h CodeGuru Forums Visual C++ Programming
- Previous Question: Alone in Dark 5 Xbox360 PC Confirmed for March 2008 PS3Forums Xbox 360
- Next Question: Unable to install Window Service on Vista CodeGuru Forums Visual C++ Programming





AllQuests.com