WHello: Windows Version of "Hello, World" Sample

Click to open or copy the files for the WHello sample.

This sample is a client/server implementation of "Hello, World". The client and server applications can run on the same Windows NTŪ workstation.

Main Files

File Description
Whello.idl Interface definition language file
Whello.acf Attribute configuration file
Whelloc.c Client main program
Whello.rc Client resource file
Whello.dlg Client dialog box definitions
Whello.def Client module definition file
Whellos.c Server main program
Whellop.c Remote procedures
Makefile Nmake file for Windows NT or Windows 95
Makefile.win Nmake file for Win 3.x

Building SDK Samples

This sample uses the following keywords:

atoi; bind; createwindow; defined; defwindowproc; destroywindow; dialogbox; dispatchmessage; enddialog; endpoint; exit; fprintf; free; freeprocinstance; getdlgitemtext; getmessage; getstockobject; helloproc; initapplication; initinstance; loadcursor; loadicon; mainwndproc; makeprocinstance; malloc; messagebox; midl_user_allocate; midl_user_free; ndrclientinitializenew; ndrconformantstringbuffersize; ndrconformantstringmarshall; ndrconformantstringunmarshall; ndrconvert; ndrfcshort; ndrfreebuffer; ndrgetbuffer; ndrsendreceive; ndrserverinitializenew; postmessage; postquitmessage; printf; protseq; registerclass; rpcbindingfree; rpcbindingfromstringbinding; rpcexcept; rpcexceptioncode; rpcmgmtstopserverlistening; rpcmgmtwaitserverlisten; rpcserverlisten; rpcserverregisterif; rpcserverunregisterif; rpcserveruseprotseqep; rpcstringbindingcompose; rpcstringfree; send; server; setcursor; setdlgitemtext; showwindow; shutdown; sprintf; strcpy; switch; tolower; translatemessage; unreferenced_parameter; updatewindow; usage; whello_helloproc; whello_shutdown; winmain