Click here to Skip to main content
15,891,033 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Gauging interest on a .NET project/article Pin
  Forogar  27-Jul-20 5:09
professional  Forogar  27-Jul-20 5:09 
GeneralRe: Gauging interest on a .NET project/article Pin
honey the codewitch27-Jul-20 5:43
mvahoney the codewitch27-Jul-20 5:43 
AnswerRe: Gauging interest on a .NET project/article Pin
jsc4226-Jul-20 8:58
professionaljsc4226-Jul-20 8:58 
GeneralRe: Gauging interest on a .NET project/article Pin
honey the codewitch26-Jul-20 9:17
mvahoney the codewitch26-Jul-20 9:17 
AnswerRe: Gauging interest on a .NET project/article Pin
Nelek26-Jul-20 9:05
protectorNelek26-Jul-20 9:05 
GeneralRe: Gauging interest on a .NET project/article Pin
honey the codewitch26-Jul-20 9:16
mvahoney the codewitch26-Jul-20 9:16 
AnswerRe: Gauging interest on a .NET project/article Pin
Garth J Lancaster26-Jul-20 15:44
professionalGarth J Lancaster26-Jul-20 15:44 
GeneralRe: Gauging interest on a .NET project/article Pin
honey the codewitch26-Jul-20 16:02
mvahoney the codewitch26-Jul-20 16:02 
I initially thought dev time would be a day or two with the article, but I ran into an issue wherein the service class doesn't give me access to the main message loop (ServiceBase.Run() blocks like Application.Run() does)

That means either my message queue or the service class itself must run on an auxiliary thread. This is complicating things, because it means post await code itself may fire on the main thread like it's supposed to, but things like OnStart() and OnStop() fire from an auxiliary thread, and that's even if I can call ServiceBase.Run() from a different thread than Main()'s but i think it will let me.

As far as the console mode it terminates on Ctrl+C or running it again elsewhere with the command switch /stop Smile | :)

Edit: having to articulate the problem helped me work through it. Smile | :) I just need to figure out what to do about the original OnStart() method. Hmmm
Real programmers use butterflies

GeneralRe: Gauging interest on a .NET project/article Pin
Garth J Lancaster26-Jul-20 16:55
professionalGarth J Lancaster26-Jul-20 16:55 
GeneralRe: Gauging interest on a .NET project/article Pin
Peter_in_278026-Jul-20 17:14
professionalPeter_in_278026-Jul-20 17:14 
GeneralRe: Gauging interest on a .NET project/article Pin
Garth J Lancaster26-Jul-20 17:33
professionalGarth J Lancaster26-Jul-20 17:33 
AnswerRe: Gauging interest on a .NET project/article Pin
RDM Jr26-Jul-20 17:50
RDM Jr26-Jul-20 17:50 
GeneralDame Olivia Mary de Havilland has left us Pin
Mike Hankey26-Jul-20 6:48
mveMike Hankey26-Jul-20 6:48 
GeneralRe: Dame Olivia Mary de Havilland has left us Pin
  Forogar  27-Jul-20 3:42
professional  Forogar  27-Jul-20 3:42 
GeneralRe: Dame Olivia Mary de Havilland has left us Pin
Mike Hankey27-Jul-20 3:52
mveMike Hankey27-Jul-20 3:52 
GeneralThe SOAS are defeated! Pin
CodeWraith26-Jul-20 4:36
CodeWraith26-Jul-20 4:36 
GeneralRe: The SOAS are defeated! Pin
OriginalGriff26-Jul-20 5:04
mveOriginalGriff26-Jul-20 5:04 
GeneralRe: The SOAS are defeated! Pin
CodeWraith26-Jul-20 6:25
CodeWraith26-Jul-20 6:25 
GeneralRe: The SOAS are defeated! Pin
OriginalGriff26-Jul-20 6:30
mveOriginalGriff26-Jul-20 6:30 
GeneralRe: The SOAS are defeated! Pin
CodeWraith26-Jul-20 10:27
CodeWraith26-Jul-20 10:27 
GeneralRe: The SOAS are defeated! Pin
Richard Andrew x6426-Jul-20 5:22
professionalRichard Andrew x6426-Jul-20 5:22 
GeneralRe: The SOAS are defeated! Pin
CodeWraith26-Jul-20 10:39
CodeWraith26-Jul-20 10:39 
PraiseRe: The SOAS are defeated! Pin
RickZeeland26-Jul-20 6:46
mveRickZeeland26-Jul-20 6:46 
GeneralCheers Pin
RickZeeland26-Jul-20 2:48
mveRickZeeland26-Jul-20 2:48 
GeneralRe: Cheers Pin
Sandeep Mewara26-Jul-20 2:52
mveSandeep Mewara26-Jul-20 2:52 

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.