Click here to Skip to main content
15,885,216 members
Home / Discussions / Windows Development
   

Windows Development

 
AnswerRe: select() slowness Pin
Eddy Vluggen2-Jul-22 4:32
professionalEddy Vluggen2-Jul-22 4:32 
AnswerRe: select() slowness Pin
Randor 20-Jul-22 2:37
professional Randor 20-Jul-22 2:37 
QuestionWhat does MS mean by the words "MinimalVisualStudioVersion" found in .sln files? Pin
RedDk15-Dec-21 12:14
RedDk15-Dec-21 12:14 
AnswerRe: What does MS mean by the words "MinimalVisualStudioVersion" found in .sln files? Pin
Randor 22-Dec-21 6:52
professional Randor 22-Dec-21 6:52 
QuestionBinding Pin
michaelbarb6-Dec-21 5:50
michaelbarb6-Dec-21 5:50 
AnswerRe: Binding Pin
Richard MacCutchan6-Dec-21 6:16
mveRichard MacCutchan6-Dec-21 6:16 
AnswerRe: Binding Pin
Gerry Schmitz6-Dec-21 6:23
mveGerry Schmitz6-Dec-21 6:23 
AnswerRe: Binding Pin
Samir Ibrahim4-Mar-22 21:37
Samir Ibrahim4-Mar-22 21:37 
GeneralRe: Binding Pin
Eddy Vluggen5-Mar-22 4:14
professionalEddy Vluggen5-Mar-22 4:14 
GeneralRe: Binding Pin
Samir Ibrahim6-Mar-22 21:32
Samir Ibrahim6-Mar-22 21:32 
GeneralRe: Binding Pin
RobertSF5-Mar-22 6:14
professionalRobertSF5-Mar-22 6:14 
GeneralRe: Binding Pin
Samir Ibrahim6-Mar-22 21:09
Samir Ibrahim6-Mar-22 21:09 
GeneralRe: Binding Pin
RedDk5-Mar-22 10:21
RedDk5-Mar-22 10:21 
QuestionBatch file - If statement findstr Pin
User 1536543221-Oct-21 9:11
User 1536543221-Oct-21 9:11 
AnswerRe: Batch file - If statement findstr Pin
Dave Kreskowiak21-Oct-21 12:09
mveDave Kreskowiak21-Oct-21 12:09 
QuestionGetting the interactive user's display language from a service Pin
Daniel Pfeffer25-Aug-21 4:24
professionalDaniel Pfeffer25-Aug-21 4:24 
I have a requirement to display a shutdown message (using the InitiateSystemShutdownExW API) from a service, but using the interactive user's language.

The GetUserDefaultLCID looks like it should do what I want, but it doesn't. I assume that is because my service is not running in the interactive user's context. It instead returns the "install language" for the system.

Is there a way to programmatically retrieve the interactive user's language (e.g. using the remote session API)?
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.

AnswerRe: Getting the interactive user's display language from a service Pin
Randor 25-Aug-21 10:08
professional Randor 25-Aug-21 10:08 
GeneralRe: Getting the interactive user's display language from a service Pin
Daniel Pfeffer25-Aug-21 10:56
professionalDaniel Pfeffer25-Aug-21 10:56 
GeneralRe: Getting the interactive user's display language from a service Pin
Randor 26-Aug-21 8:02
professional Randor 26-Aug-21 8:02 
GeneralRe: Getting the interactive user's display language from a service Pin
Daniel Pfeffer26-Aug-21 17:03
professionalDaniel Pfeffer26-Aug-21 17:03 
GeneralRe: Getting the interactive user's display language from a service Pin
Daniel Pfeffer31-Aug-21 10:03
professionalDaniel Pfeffer31-Aug-21 10:03 
GeneralRe: Getting the interactive user's display language from a service Pin
Randor 27-Sep-21 7:36
professional Randor 27-Sep-21 7:36 
GeneralRe: Getting the interactive user's display language from a service Pin
Daniel Pfeffer28-Sep-21 9:16
professionalDaniel Pfeffer28-Sep-21 9:16 
QuestionDisplaying a system modal message box in the system format Pin
Daniel Pfeffer4-Aug-21 1:49
professionalDaniel Pfeffer4-Aug-21 1:49 
AnswerRe: Displaying a system modal message box in the system format Pin
Richard MacCutchan4-Aug-21 3:12
mveRichard MacCutchan4-Aug-21 3:12 

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.