Click here to Skip to main content
15,847,653 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 12:01
Mircea Neacsu19-Jul-23 12:01 
GeneralRe: Date Time Picker standard time to daylight savings time problem Pin
Richard MacCutchan19-Jul-23 22:59
mveRichard MacCutchan19-Jul-23 22:59 
QuestionRTS game overview chart Pin
Calin Negru14-Jul-23 19:27
Calin Negru14-Jul-23 19:27 
AnswerRe: RTS game overview chart Pin
Andre Oosthuizen17-Jul-23 23:32
mveAndre Oosthuizen17-Jul-23 23:32 
GeneralRe: RTS game overview chart Pin
Calin Negru18-Jul-23 4:53
Calin Negru18-Jul-23 4:53 
GeneralRe: RTS game overview chart Pin
Andre Oosthuizen19-Jul-23 0:49
mveAndre Oosthuizen19-Jul-23 0:49 
AnswerRe: RTS game overview chart Pin
Gerry Schmitz18-Jul-23 5:57
mveGerry Schmitz18-Jul-23 5:57 
QuestionWorking with a service, how to debug? Instant memory fault Pin
charlieg8-Jul-23 14:11
charlieg8-Jul-23 14: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 18:44
professional Randor 8-Jul-23 18:44 
GeneralRe: Working with a service, how to debug? Instant memory fault Pin
charlieg9-Jul-23 3:28
charlieg9-Jul-23 3:28 
GeneralRe: Working with a service, how to debug? Instant memory fault Pin
Randor 9-Jul-23 3:51
professional Randor 9-Jul-23 3:51 
AnswerRe: Working with a service, how to debug? Instant memory fault Pin
Andre Oosthuizen9-Jul-23 4:39
mveAndre Oosthuizen9-Jul-23 4:39 
GeneralRe: Working with a service, how to debug? Instant memory fault Pin
charlieg9-Jul-23 9:49
charlieg9-Jul-23 9:49 
GeneralRe: Working with a service, how to debug? Instant memory fault Pin
Randor 9-Jul-23 10:51
professional Randor 9-Jul-23 10:51 
GeneralRe: Working with a service, how to debug? Instant memory fault Pin
charlieg10-Jul-23 3:13
charlieg10-Jul-23 3:13 
GeneralRe: Working with a service, how to debug? Instant memory fault Pin
charlieg12-Jul-23 1:48
charlieg12-Jul-23 1:48 
GeneralRe: Working with a service, how to debug? Instant memory fault Pin
jschell12-Jul-23 6:28
jschell12-Jul-23 6:28 
GeneralRe: Working with a service, how to debug? Instant memory fault Pin
charlieg12-Jul-23 8:51
charlieg12-Jul-23 8:51 
AnswerRe: Working with a service, how to debug? Instant memory fault Pin
jschell10-Jul-23 4:44
jschell10-Jul-23 4:44 
GeneralRe: Working with a service, how to debug? Instant memory fault Pin
charlieg12-Jul-23 0:31
charlieg12-Jul-23 0:31 
Questionworking with C++ includes and examining header files used in LLVM Pin
ngochuyen binhhoa5-Jul-23 17:53
ngochuyen binhhoa5-Jul-23 17:53 
QuestionRe: working with C++ includes and examining header files used in LLVM Pin
CPallini5-Jul-23 22:43
mveCPallini5-Jul-23 22:43 
AnswerRe: working with C++ includes and examining header files used in LLVM Pin
Richard MacCutchan5-Jul-23 22:48
mveRichard MacCutchan5-Jul-23 22:48 
GeneralRe: working with C++ includes and examining header files used in LLVM Pin
jschell6-Jul-23 6:25
jschell6-Jul-23 6:25 
GeneralRe: working with C++ includes and examining header files used in LLVM Pin
Richard MacCutchan6-Jul-23 6:35
mveRichard MacCutchan6-Jul-23 6: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.