TpSetup: Sample of Installer for Autostarted Invokable TPs

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

This sample is an installation program, demonstrating an interface that assists in the configuring of autostarted invokable TPs.  This program brings up a dialog box that prompts for TP configuration information.  The information is then placed in the registry under Windows NT, and in the Win.ini file under Windows.  The WIN32 compiler flag specifies the NT version, while the WINDOWS flag specifies the Windows version.

There is a Snaenv.bat file to set environment variables, available via the SNA Samples topic.

Building SDK Samples

This sample uses the following keywords:

atol; callwindowproc; checkdlgbutton; checkradiobutton; closehandle; closeservicehandle; convsecwndproc; createkeys; createservice; deletelistitem; displayerror; displayinfo; enablewindow; enddialog; finitewndproc; free; freeprocinstance; get_wm_command_id; getdlgitem; getdlgitemtext; getlasterror; getversion; getwindowlong; infinitewndproc; installcallback; installservicent; installwindows; isdlgbuttonchecked; iswin95client; loadstring; localalloc; localfree; locallock; localunlock; lockservicedatabase; lstrcat; lstrcmp; lstrcpy; makeprocinstance; malloc; messagebox; openevent; openscmanager; parsecreateerror; postquitmessage; readstring; regclosekey; regcreatekeyex; regopenkeyex; regqueryvalueex; regsetvalueex; sendmessage; servicewndproc; setdlgitemint; setevent; setwindowlong; sprintf; strcat; strchr; strcpy; stricmp; strstr; switch; text; unlockservicedatabase; unreferenced_parameter; validatefield; validatefieldappc; validatefieldint; writekeynt; writekeywindows; writeprofilestring