windows-sdk

Using the Windows 7 and DirectX SDKs with VS2005

I have Visual Studio 2005 and want to teach myself DirectX in my free time. I downloaded the latest Windows 7 and DirectX SDKs. According to Microsoft's website, the latest DirectX SDK is not compatible with Visual Studio 2005 (I assume they mean it's not compatible with the SDK it came with). Can I configure VS2005 to use the SDKs I dow...

How to use a specific Windows SDK with MSBuild?

I have a large project made of many C++ and C# projects, and a MSBuild (3.5) script to build the whole thing. This script is based on the VCBuild (C++ projects) and MSBuild (C# projects) tasks. It is regularly executed by a Continuous Integration server. I want to be able to select a specific Windows SDK (v6.0A, v7.0, v7.1...) to be use...

AxWindowsMediaPlayer video brightness/contrast ?

Is it possible to set video brightness/contrast/etc. settings to AxWindowsMediaPlayer control programmatically? Is there any other way to set those settings to video output, maybe through windows API? ...

How to set PlatformToolset from custom property sheet in Visual Studio 2010

I am moving now from VS 2005 to VS 2010 with products consisting of few solutions with numerous projects each. I wanted to make use of the property sheets system so our numerous configurations would be easier to maintain. One of the issues is that we want to use Windows SDK 7.1 (as we need BaseClasses sample - and if we have to use that...

Unresolved external symbols in compiling 32 bit application in Windows 64

So I am trying to compile legacy app from 32 bit to 64 bit.. I re-compiled all of the libs it used and made it look into WIN SDK6.0A x64 bit for libs.. I am using: Visual Studio Professional Edition 2008 Visual C++ dotNet Framework 3.5 SP1 Windows Server 2008R2 Windows SDK is 6.0A Everythings finally coming up but I am getting these...

Link Error With Visual Studio 2005 Using Windows SDK 7.1

I am in the process of evaluating an upgrade to Windows SDK 7.1 Part of my team's legacy codebase is a large number of ATL web services, which are still maintained using Visual Studio 2005 because (I am told) ATL web services are not supported in versions beyond 2005. When I pointed the IDE to SDK 7.1, I began to receive the following ...

How To Programmatically Cause the Creation of a User's Profile

Hi there. How To Programmatically Create a User's Profile from the NetworkServices account at WinServer 2008 r2. THX, Alex ...

Windows SDK License

A simple question I suppose, with a potentially complicated answer: Is the Windows SDK free as in Beer? I know it provides virtually the same compilers and commandline tools that the paid versions provide, and I believe you can only (legally) use it on a Windows machine, but am not even sure of anything more... I'm not well versed...

Issue with clickonce bootstrapper and msbuild

I have a CruiseControl .NET build server running on Windows Server 2003, and I am trying to build and publish my ClickOnce application using msbuild. Everything is working fine, except when I enable the bootstrapper of my ClickOnce application. When this happens, I get the following error in the DeploymentGenerateBootstrapper target: C...

WindowsSdkDir is not set correctly in Visual Studio 2010

So i've been searching this for quite a while now, to no avail! Has anyone figured out how to change the $(WindowsSdkDir) macro in visual studio 2010, to make it point to whatever version of the windows sdk they would like? Hopefully this can be a reference to all those who will search for this after me. :) ...

When do I need the Windows SDK and what is .NET for?

I am a student and after taking some introductory programming courses in Java, C, and just finishing up a book on C++, I would like to start developing applications for Windows. I have done my best to page through google and find the answers I need, but I seem to be at a loss. When would I need the Windows SDK over just the regular API...

Windows poll or select on Named pipe

Can I use select and poll on the Named pipe handle in windows? It will be great if an example can be given. (I am very new to windows programming) In case one of process goes down and I am polling on other end, will I get any error message on the other process that the process is down? ...

programmatically obtaining special folder write permission using User Access Control in Windows 7 and Vista

I need to write a shortcut in the automatic startup folder for all users. The scenario is that a user with administrator privileges, through the configuration dialog of the application, must be able to set the application to start automatically for all normal users when they log in. I get the startup folder using SHGetSpecialFolderPa...

Is there a way to create my own index with Windows Search?

I have an application which store files (mostly Office documents) in various distant locations. I want my users to be able to search for these files based on some criteria on its own machine. I though I could use Windows Search to create an index. I've had that idea because a few years ago and to search for email in Outlook, I had to ins...