Click to open or copy the files for the ProcSrv sample.
This sample demonstrates how to implement a procedure server using Open Data Services to handle specific predefined requests.
This sample uses the following keywords:
_beginthread; _flushall; addtoregistry; chk_err; closehandle; closeservicehandle; completesignal; createevent; createpipe; createprocess; createservice; ctrlc_hndl; deleteservice; diskfree; disklist; duplicateentry; dwsizesm+strlen; entercriticalsection; exit_remote; exitprocess; fclose; feof; fopen; formatmessage; fread; free; get_last_error_str; getch; getdiskfreespace; getlasterror; getlogicaldrives; getmodulefilename; getmodulehandle; getsystemdefaultlangid; init_remote; init_server; initializecriticalsection; initsignal; lang_execute; lang_parser; leavecriticalsection; localfree; lockservicedatabase; malloc; memcpy; memset; ntbservicectrlhandler; ntbshutdown; openevent; openscmanager; openservice; printf; proclist; procsrvmain; readfile; refreshstoplight; regclosekey; regcreatekeyex; regdeletekey; regflushkey; registerservicectrlhandler; regopenkeyex; regqueryvalueex; regsetvalueex; removefromregistry; scan_next; scan_xbase; setconsolectrlhandler; seterror; seterrormode; setevent; setservicestatus; setthreadpriority; sleep; sp_exec; sp_execute; sprintf; srv_alloc; srv_bmove; srv_config; srv_config_alloc; srv_convert; srv_describe; srv_errhandle; srv_handle; srv_init; srv_langptr; srv_log; srv_paramdata; srv_paramlen; srv_paramname; srv_paramset; srv_paramstatus; srv_paramtype; srv_pfield; srv_rpcname; srv_rpcparams; srv_run; srv_senddone; srv_sendmsg; srv_sendrow; srv_sendstatus; srv_setcoldata; srv_setcollen; srv_setevent; srv_sfield; sscanf; startservicectrldispatcher; strcat; strchr; strcmp; strcpy; stricmp; strncmp; strncpy; strnicmp; strupr; switch; unlockservicedatabase; waitforsingleobject