Click here to Skip to main content
15,845,681 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionTool Bar Question Pin
Software200714-May-09 4:52
Software200714-May-09 4:52 
QuestionRe: Tool Bar Question Pin
Maximilien14-May-09 6:01
Maximilien14-May-09 6:01 
Questionabout the data input conversion Pin
lalit kumar jayswal14-May-09 4:51
lalit kumar jayswal14-May-09 4:51 
AnswerRe: about the data input conversion [modified] Pin
jeron114-May-09 5:11
jeron114-May-09 5:11 
QuestionRe: about the data input conversion Pin
David Crow14-May-09 5:48
David Crow14-May-09 5:48 
AnswerRe: about the data input conversion Pin
David Crow14-May-09 5:49
David Crow14-May-09 5:49 
QuestionStarting and stopping service as a standard user Pin
andypandy214-May-09 4:44
andypandy214-May-09 4:44 
AnswerRe: Starting and stopping service as a standard user Pin
Madhu Nair14-May-09 9:39
Madhu Nair14-May-09 9: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 4:31
sakthii14-May-09 4:31 
AnswerRe: VS8: how to link C static library in Windows Forms Pin
Stuart Dootson14-May-09 5:21
professionalStuart Dootson14-May-09 5:21 
GeneralRe: VS8: how to link C static library in Windows Forms Pin
sakthii14-May-09 23:40
sakthii14-May-09 23:40 
QuestionIs Plateform SDK installed when we install Visual Studio 2005 Pin
pandit8414-May-09 4:24
pandit8414-May-09 4:24 
AnswerRe: Is Plateform SDK installed when we install Visual Studio 2005 Pin
Cedric Moonen14-May-09 4:39
Cedric Moonen14-May-09 4:39 
AnswerRe: Is Plateform SDK installed when we install Visual Studio 2005 Pin
Stuart Dootson14-May-09 4:53
professionalStuart Dootson14-May-09 4:53 
QuestionLinker warning Pin
transoft14-May-09 4:19
transoft14-May-09 4:19 
AnswerRe: Linker warning Pin
Alan Balkany14-May-09 4:33
Alan Balkany14-May-09 4:33 
AnswerRe: Linker warning Pin
Stuart Dootson14-May-09 4:49
professionalStuart Dootson14-May-09 4:49 
GeneralRe: Linker warning Pin
transoft14-May-09 5:30
transoft14-May-09 5:30 
GeneralRe: Linker warning Pin
Cedric Moonen14-May-09 5:37
Cedric Moonen14-May-09 5:37 
GeneralRe: Linker warning Pin
transoft14-May-09 5:50
transoft14-May-09 5:50 
AnswerRe: Linker warning Pin
David Crow14-May-09 4:50
David Crow14-May-09 4:50 
Questionproblem in Beep function. Pin
Le@rner14-May-09 2:58
Le@rner14-May-09 2:58 
AnswerRe: problem in Beep function. Pin
Rajesh R Subramanian14-May-09 3:07
professionalRajesh R Subramanian14-May-09 3:07 
GeneralRe: problem in Beep function. Pin
Le@rner14-May-09 3:25
Le@rner14-May-09 3:25 
QuestionRe: problem in Beep function. Pin
Rajesh R Subramanian14-May-09 4:01
professionalRajesh R Subramanian14-May-09 4: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.