Export (0) Print
Expand All

Simple Hello World Sample

A version of the DirectWrite Hello World Sample, with a single window, writing only simple, single format text, as shown in the following screen shot.

This topic has the following sections:

Screen shot of "Hello World using DirectWrite!" text in a single format

The Simple Hello World Sample consists of the following files.

File
SimpleHelloWorld.h
DemoApp.h
DemoApp.cpp
winmain.cpp
SimpleHelloWorld.sln
SimpleHelloWorld.vcproj
readme.txt
DeclareDPIAware.manifest

 

Requirements

Minimum supported clientWindows 7 or Windows Vista with Service Pack 2 (SP2) and Platform Update for Windows Vista
Minimum supported serverWindows Server 2008 R2 or Windows Server 2008 with Service Pack 2 (SP2) and Platform Update for Windows Server 2008
Windows SDKWindows Software Development Kit (SDK) for Windows 7

 

Downloading the Sample

This sample is available in the following locations.

LocationPath/URL
Windows SDK\Program Files\Microsoft SDKs\Windows\v7.0\Samples\Multimedia\DirectWrite\SimpleHelloWorld
Code GalleryDownload from MSDN Code Gallery

 

 

 

Community Additions

ADD
Show:
© 2014 Microsoft