- Timestamp:
- Apr 1, 2006, 5:46:11 PM (19 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/cppbase/bs_config.cpp
r308 r310 2343 2343 *@@changed V0.9.18 (2002-03-08) [umoeller]: added codec 2344 2344 *@@changed V1.0.5 (2005-01-25) [pr]: Change directory to that of executable 2345 *@@changed WarpIN V1.0.10 (2006-04-01) [pr]: Set title in doshStartSession call 2345 2346 */ 2346 2347 … … 2348 2349 BSFileLogger *pLogFile) // in: file logger (log file), can be NULL 2349 2350 { 2351 string strTitle; 2352 strTitle.assignUtf8(&codecProcess, _ustrExecutable); 2350 2353 string strParams = "/c "; 2351 2354 strParams.appendUtf8(&codecProcess, _ustrExecutable); … … 2384 2387 if (_arc = doshQuickStartSession("cmd.exe", 2385 2388 (PSZ)strParams.c_str(), 2389 (PSZ)strTitle.c_str(), 2386 2390 SSF_TYPE_DEFAULT, // session type 2387 2391 FALSE, // foreground -
trunk/src/helpers/dosh.c
r271 r310 4658 4658 *@@changed V1.0.2 (2003-02-04) [jsmall ]: inserted new 3rd parameter for session type 4659 4659 *@@changed V1.0.2 (2003-02-04) [jsmall ]: changed code so when fWait = FALSE then session is started as independent, not as a child 4660 *@@changed V1.0.5 (2006-04-01) [pr]: Added pcszTitle parameter 4660 4661 */ 4661 4662 4662 4663 APIRET doshQuickStartSession(PCSZ pcszPath, // in: program to start 4663 4664 PCSZ pcszParams, // in: parameters for program 4665 PCSZ pcszTitle, // in: window title 4664 4666 USHORT usSessionType, // in: session type 4665 4667 BOOL fForeground, // in: if TRUE, session will be in foreground … … 4697 4699 SData.TraceOpt = SSF_TRACEOPT_NONE; 4698 4700 4699 SData.PgmTitle = (PSZ)pcszPath; // title for window 4701 // V1.0.5 (2006-04-01) [pr] 4702 if (pcszTitle && *pcszTitle) 4703 SData.PgmTitle = (PSZ)pcszTitle; // title for window 4704 else 4705 SData.PgmTitle = (PSZ)pcszPath; 4706 4700 4707 SData.PgmName = (PSZ)pcszPath; 4701 4708 SData.PgmInputs = (PSZ)pcszParams;
Note:
See TracChangeset
for help on using the changeset viewer.