Click here to Skip to main content
15,915,501 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Code authentication mechanism Pin
jmkhael29-Apr-03 4:58
jmkhael29-Apr-03 4:58 
GeneralSmall CString question. Pin
Maximilien29-Apr-03 4:47
Maximilien29-Apr-03 4:47 
GeneralRe: Small CString question. Pin
David Crow29-Apr-03 5:19
David Crow29-Apr-03 5:19 
GeneralRe: Small CString question. Pin
Hans Dietrich29-Apr-03 5:28
mentorHans Dietrich29-Apr-03 5:28 
QuestionHow to create a process with a different name? Pin
Chen Venkataraman29-Apr-03 4:17
Chen Venkataraman29-Apr-03 4:17 
AnswerRe: How to create a process with a different name? Pin
David Crow29-Apr-03 5:23
David Crow29-Apr-03 5:23 
AnswerRe: How to create a process with a different name? Pin
basementman29-Apr-03 6:41
basementman29-Apr-03 6:41 
GeneralRe: How to create a process with a different name? Pin
Chen Venkataraman29-Apr-03 9:01
Chen Venkataraman29-Apr-03 9:01 
Tried setting the title attribute of the STARTUPINFO structure but it didn't help. Task Manager still shows the executable as ABC.exe to continue with my example.

But what i found is that if i specify both the lpApplicationName & lpCommandLine as follows, i can get a behavior close to what i want...

lpApplicationName = ABC.exe [need the .exe even though the doc says it is optional]
lpCommandLine = myABC arg1 arg2...etc

Since argv[0] is interpreted as to mean the app name, by specifying a different name as the first token for the command line i could get the app to use this name instead of the executable name for picking up config & log stuff.


I'm not sure if it is possible to get Task Manager to show a process with a different user-friendly name. Wondering how this is accomplished in the Unix world? [btw, this was an effort to simulate that behavior from the Unix side]

Thanks for the response, anyway

Chen Venkataraman
GeneralRe: How to create a process with a different name? Pin
Dave Kreskowiak29-Apr-03 9:29
mveDave Kreskowiak29-Apr-03 9:29 
GeneralTemplate question Pin
grscot29-Apr-03 3:32
grscot29-Apr-03 3:32 
GeneralODBC, SqlGetData Pin
justin22329-Apr-03 3:01
justin22329-Apr-03 3:01 
GeneralRe: ODBC, SqlGetData Pin
Pavel Klocek29-Apr-03 5:29
Pavel Klocek29-Apr-03 5:29 
GeneralRe: ODBC, SqlGetData Pin
justin22329-Apr-03 5:55
justin22329-Apr-03 5:55 
GeneralSerialization Pin
Brigg Thorp29-Apr-03 2:12
Brigg Thorp29-Apr-03 2:12 
GeneralRe: Serialization Pin
Nick Parker29-Apr-03 2:47
protectorNick Parker29-Apr-03 2:47 
GeneralRe: Serialization Pin
Brigg Thorp29-Apr-03 3:09
Brigg Thorp29-Apr-03 3:09 
GeneralRe: Serialization Pin
Nick Parker29-Apr-03 4:48
protectorNick Parker29-Apr-03 4:48 
GeneralSuggestion: Serialization Pin
Joan M29-Apr-03 4:42
professionalJoan M29-Apr-03 4:42 
GeneralQuestion about size_type and const_iterator of vector. Pin
George229-Apr-03 1:46
George229-Apr-03 1:46 
GeneralRe: Question about size_type and const_iterator of vector. Pin
jhwurmbach29-Apr-03 2:17
jhwurmbach29-Apr-03 2:17 
GeneralRe: Question about size_type and const_iterator of vector. Pin
George229-Apr-03 2:50
George229-Apr-03 2:50 
GeneralRe: Question about size_type and const_iterator of vector. Pin
markkuk29-Apr-03 3:18
markkuk29-Apr-03 3:18 
GeneralRe: Question about size_type and const_iterator of vector. Pin
George229-Apr-03 3:40
George229-Apr-03 3:40 
GeneralDisappearing folders in Visual Studio Pin
Poul Haahr Klemmensen28-Apr-03 23:38
Poul Haahr Klemmensen28-Apr-03 23:38 
GeneralRe: Disappearing folders in Visual Studio Pin
HJo29-Apr-03 0:17
HJo29-Apr-03 0:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.