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

C / C++ / MFC

 
GeneralRe: Date Time Picker standard time to daylight savings time problem Pin
Mircea Neacsu19-Jul-23 11:01
Mircea Neacsu19-Jul-23 11:01 
GeneralRe: Date Time Picker standard time to daylight savings time problem Pin
Richard MacCutchan19-Jul-23 21:59
mveRichard MacCutchan19-Jul-23 21:59 
QuestionRTS game overview chart Pin
Calin Negru14-Jul-23 18:27
Calin Negru14-Jul-23 18:27 
AnswerRe: RTS game overview chart Pin
Andre Oosthuizen17-Jul-23 22:32
mveAndre Oosthuizen17-Jul-23 22:32 
GeneralRe: RTS game overview chart Pin
Calin Negru18-Jul-23 3:53
Calin Negru18-Jul-23 3:53 
GeneralRe: RTS game overview chart Pin
Andre Oosthuizen18-Jul-23 23:49
mveAndre Oosthuizen18-Jul-23 23:49 
AnswerRe: RTS game overview chart Pin
Gerry Schmitz18-Jul-23 4:57
mveGerry Schmitz18-Jul-23 4:57 
QuestionWorking with a service, how to debug? Instant memory fault Pin
charlieg8-Jul-23 13:11
charlieg8-Jul-23 13:11 
Context: Windows Server 2012 64 bit, everything else is 32 bit.

So, I have a very simple application using tcpip that has worked fine for years. This application exists in the structure of another var application. Using a config file, the var knows to launch my code and connect - it's the way the var allows 3rd parties to extend services. In the environment that works, the oem app and mine runs in user space (see note below). From the user application window, I launch it, everything starts, like is good. It's worked for decades.

In present time, I need to start the oem app as a service. The app starts, launches my application (app runs under a service account) where upon my app C000005s to death. No code has changed. C00005 exceptions are usually obvious to track down - look for the smoking hole in the ground. This one is a little sneaky since it's a few degrees off from my keyboard.

I have an assert and a DebugAssert athe very beginning of my application - c5s and no prompts.
If I launch my app from my command line - it starts and waits on the socket connection.

-----------------------------------------

So any ideas how to catch my app/service starting up? Can I add code to the app? My feeling is that this is system related, but well anyway
Charlie Gilley

“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759

Has never been more appropriate.

AnswerRe: Working with a service, how to debug? Instant memory fault Pin
Randor 8-Jul-23 17:44
professional Randor 8-Jul-23 17:44 
GeneralRe: Working with a service, how to debug? Instant memory fault Pin
charlieg9-Jul-23 2:28
charlieg9-Jul-23 2:28 
GeneralRe: Working with a service, how to debug? Instant memory fault Pin
Randor 9-Jul-23 2:51
professional Randor 9-Jul-23 2:51 
AnswerRe: Working with a service, how to debug? Instant memory fault Pin
Andre Oosthuizen9-Jul-23 3:39
mveAndre Oosthuizen9-Jul-23 3:39 
GeneralRe: Working with a service, how to debug? Instant memory fault Pin
charlieg9-Jul-23 8:49
charlieg9-Jul-23 8:49 
GeneralRe: Working with a service, how to debug? Instant memory fault Pin
Randor 9-Jul-23 9:51
professional Randor 9-Jul-23 9:51 
GeneralRe: Working with a service, how to debug? Instant memory fault Pin
charlieg10-Jul-23 2:13
charlieg10-Jul-23 2:13 
GeneralRe: Working with a service, how to debug? Instant memory fault Pin
charlieg12-Jul-23 0:48
charlieg12-Jul-23 0:48 
GeneralRe: Working with a service, how to debug? Instant memory fault Pin
jschell12-Jul-23 5:28
jschell12-Jul-23 5:28 
GeneralRe: Working with a service, how to debug? Instant memory fault Pin
charlieg12-Jul-23 7:51
charlieg12-Jul-23 7:51 
AnswerRe: Working with a service, how to debug? Instant memory fault Pin
jschell10-Jul-23 3:44
jschell10-Jul-23 3:44 
GeneralRe: Working with a service, how to debug? Instant memory fault Pin
charlieg11-Jul-23 23:31
charlieg11-Jul-23 23:31 
Questionworking with C++ includes and examining header files used in LLVM Pin
ngochuyen binhhoa5-Jul-23 16:53
ngochuyen binhhoa5-Jul-23 16:53 
QuestionRe: working with C++ includes and examining header files used in LLVM Pin
CPallini5-Jul-23 21:43
mveCPallini5-Jul-23 21:43 
AnswerRe: working with C++ includes and examining header files used in LLVM Pin
Richard MacCutchan5-Jul-23 21:48
mveRichard MacCutchan5-Jul-23 21:48 
GeneralRe: working with C++ includes and examining header files used in LLVM Pin
jschell6-Jul-23 5:25
jschell6-Jul-23 5:25 
GeneralRe: working with C++ includes and examining header files used in LLVM Pin
Richard MacCutchan6-Jul-23 5:35
mveRichard MacCutchan6-Jul-23 5:35 

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.