Originally posted by fotzor
Hi,
yesterday I downloaded the Platform SDK and now I have two questions:

1. How can I integrate the Platform SDK-Help system in Visual C++ so that pressing F1 will start the Help system and show me the documentation of the desired function?Or isn't this possible?

2. In the startmenu I clicked on "Register PSDK directories with Visual Studio" to use the new header and libs. But now I get type redefinitions in my project e.g. _SHITEMID. I tried to delete the header-path "C:\Programme\Microsoft Visual Studio\VC98\INCLUDE" in the options but it doesn't work. I installed the Platform SDK to "c:\programme\Microsoft SDK".

Thx to all and a nice sylvester!
First, you can't pick up PSDK help from Visual Studio. It's a foolish decision by MS however (or more accurately they don't care since VC6 is a legacy product now). The MSDN and PSDK help are independent systems even though MSDN is basically a superset of the PSDK. You can add PSDK links to your MSDN "Favorites" and vice versa however but it's not the same thing. You'll just have to get used to running the PSDK separately (and it's better to rely on it where possible since the info is more up-to-date than your copy of MSDN). As for the redefinition error, this is sometimes a problem after installing the PSDK. I can cite other examples as well. The problem (usually) is that MS has redefined some things in the PSDK headers that are also defined elsewhere. The first thing you should do is re-compile *everything*. That may solve the problem right there. Otherwise, if it's really a redefinition problem, you will have to find a work-around. Sometimes there's an official workaround posted by MS (again, I can cite examples), other times you may just have to be innovative (such as using #if to eliminate the second defintion - brutal but there's no choice sometimes). Good luck.