Click here to Skip to main content
15,887,676 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionTool Bar Question Pin
Software200714-May-09 3:52
Software200714-May-09 3:52 
QuestionRe: Tool Bar Question Pin
Maximilien14-May-09 5:01
Maximilien14-May-09 5:01 
Questionabout the data input conversion Pin
lalit kumar jayswal14-May-09 3:51
lalit kumar jayswal14-May-09 3:51 
AnswerRe: about the data input conversion [modified] Pin
jeron114-May-09 4:11
jeron114-May-09 4:11 
QuestionRe: about the data input conversion Pin
David Crow14-May-09 4:48
David Crow14-May-09 4:48 
AnswerRe: about the data input conversion Pin
David Crow14-May-09 4:49
David Crow14-May-09 4:49 
QuestionStarting and stopping service as a standard user Pin
andypandy214-May-09 3:44
andypandy214-May-09 3:44 
AnswerRe: Starting and stopping service as a standard user Pin
Madhu Nair14-May-09 8:39
Madhu Nair14-May-09 8:39 
andypandy2 wrote:
which is not exactly the type of privileges my customers have.


Hi again Andy,

The last two parameters of CreateService[^] gives you provision to set a user name and password. But I am not sure at what happens when you logoff the same user.

The doc says,

pServiceStartName [in, optional]
The name of the account under which the service should run. If the service type is SERVICE_WIN32_OWN_PROCESS, use an account name in the form DomainName\UserName. The service process will be logged on as this user. If the account belongs to the built-in domain, you can specify .\UserName.

pPassword [in, optional]
The password to the account name specified by the lpServiceStartName parameter. Specify an empty string if the account has no password or if the service runs in the LocalService, NetworkService, or LocalSystem account. For more information, see Service Record List.
QuestionVS8: how to link C static library in Windows Forms Pin
sakthii14-May-09 3:31
sakthii14-May-09 3:31 
AnswerRe: VS8: how to link C static library in Windows Forms Pin
Stuart Dootson14-May-09 4:21
professionalStuart Dootson14-May-09 4:21 
GeneralRe: VS8: how to link C static library in Windows Forms Pin
sakthii14-May-09 22:40
sakthii14-May-09 22:40 
QuestionIs Plateform SDK installed when we install Visual Studio 2005 Pin
pandit8414-May-09 3:24
pandit8414-May-09 3:24 
AnswerRe: Is Plateform SDK installed when we install Visual Studio 2005 Pin
Cedric Moonen14-May-09 3:39
Cedric Moonen14-May-09 3:39 
AnswerRe: Is Plateform SDK installed when we install Visual Studio 2005 Pin
Stuart Dootson14-May-09 3:53
professionalStuart Dootson14-May-09 3:53 
QuestionLinker warning Pin
transoft14-May-09 3:19
transoft14-May-09 3:19 
AnswerRe: Linker warning Pin
Alan Balkany14-May-09 3:33
Alan Balkany14-May-09 3:33 
AnswerRe: Linker warning Pin
Stuart Dootson14-May-09 3:49
professionalStuart Dootson14-May-09 3:49 
GeneralRe: Linker warning Pin
transoft14-May-09 4:30
transoft14-May-09 4:30 
GeneralRe: Linker warning Pin
Cedric Moonen14-May-09 4:37
Cedric Moonen14-May-09 4:37 
GeneralRe: Linker warning Pin
transoft14-May-09 4:50
transoft14-May-09 4:50 
AnswerRe: Linker warning Pin
David Crow14-May-09 3:50
David Crow14-May-09 3:50 
Questionproblem in Beep function. Pin
Le@rner14-May-09 1:58
Le@rner14-May-09 1:58 
AnswerRe: problem in Beep function. Pin
Rajesh R Subramanian14-May-09 2:07
professionalRajesh R Subramanian14-May-09 2:07 
GeneralRe: problem in Beep function. Pin
Le@rner14-May-09 2:25
Le@rner14-May-09 2:25 
QuestionRe: problem in Beep function. Pin
Rajesh R Subramanian14-May-09 3:01
professionalRajesh R Subramanian14-May-09 3:01 

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.