why are windows sdk samples installed differently?
Managed and unmanaged samples are handled differently in the Windows SDK due to resourcing constraints in the Microsoft Product Units that provide the samples. Managed samples are packaged within the SDK documentation and Win32 samples are installed to a user’s hard drive as loose files in the file system.
managed samples
Managed samples are submitted to the SDK Team by various UE teams around Microsoft in the form of doc (HxS) files and packaged within the SDK documentation. Samples are accessed through the Documentation Table of Contents.
win32 samples
Currently, the teams that provide the Win32 samples are not able to provide the samples in doc format as the managed sample teams do. This may change in the future, but for now the Win32 samples are shipped as loose files and are installed to a user’s hard drive as loose samples in the file system. The Windows SDK directory layout looks like this:<o:p></o:p>
\Samples
\Begin
\Sample1
\Sample2
\Com
\DataAccess
\Misc
\Multimedia
\NetDS
\NETDS_Technology1
\Sample1
\Sample2
\NETDS_Technology2
\Security
\SysMgmt
\TabletPC
\Web
\WinBase
\WinUI
Comments
Anonymous
November 26, 2006
I much prefer the Win32 SDK way of doing it. The managed samples are way too much hassle to get working for me, that I usually just don't even bother.Anonymous
November 27, 2006
Dean, I'd like to hear more about the problems you have getting the managed samples to work. Is it because of the complexity of the samples themselves, or their delivery mechanism in the doc set? I forgot to mention in my post that for people that like the samples loose in the file system, there is a way to get the managed samples this way in the Windows Vista SDK (RTM version). The same Microsoft .NET Framework samples in that are included in the doc set are also available outside the docs in .zip format. If you chooses to install them at setup time, the samples can be installed in bulk via 6 .zip files. The .zip files provide a convenient mechanism to extract large subsets of samples at once: CrossTechnologySamples.zip, FrameworkSamples.zip, WCFSamples.zip, WFSamples.zip, and WPFSamples.zip are installed to Program FilesMicrosoft SDKsWindowsv6.0samples. Thanks for commenting! KarinAnonymous
January 19, 2007
When you click on a link to download one of the Windows Presentation Foundation Samples in the WindowsAnonymous
January 22, 2007
When you click on a link to download one of the Windows Presentation Foundation Samples in the WindowsAnonymous
February 11, 2009
WOW this is pretty old topic. Glad it's still here though. I recently brought a very old machine back to life and this is exactly what I was looking for. Thank you!