Click here to Skip to main content
12,622,896 members (30,218 online)

ATL / WTL / STL

 
GeneralRe: Why does this fail - CFile / SeekToEnd? Pin
charlieg11-Oct-12 5:53
membercharlieg11-Oct-12 5:53 
GeneralRe: Why does this fail - CFile / SeekToEnd? Pin
Richard MacCutchan11-Oct-12 12:19
mvpRichard MacCutchan11-Oct-12 12:19 
GeneralRe: Why does this fail - CFile / SeekToEnd? Pin
charlieg11-Oct-12 12:34
membercharlieg11-Oct-12 12:34 
GeneralRe: Why does this fail - CFile / SeekToEnd? Pin
Richard MacCutchan11-Oct-12 13:01
mvpRichard MacCutchan11-Oct-12 13:01 
GeneralRe: Why does this fail - CFile / SeekToEnd? Pin
charlieg12-Oct-12 6:54
membercharlieg12-Oct-12 6:54 
AnswerRe: Why does this fail - CFile / SeekToEnd? Pin
Stephen Hewitt11-Oct-12 13:58
memberStephen Hewitt11-Oct-12 13:58 
AnswerRe: Why does this fail - CFile / SeekToEnd? Pin
charlieg18-Jan-13 2:47
membercharlieg18-Jan-13 2:47 
QuestionKeep program open and running Pin
Lucidation8-Oct-12 12:23
memberLucidation8-Oct-12 12:23 
First off, I'm still new to coding in C++ and so I hope this is the right forum for my question...

I'm coding a very small utility for a niche need we've got where I work. Right now I've got things coded so that it uses CreateProcess to fire off another program we run. What I need to do is then have this utility stay open and running (the program that it kicks off can terminate the original program once it's done doing its thing - and I can't just wait for a return code because the program that gets kicked off may kick off others, and one of those might be the final item to run).

Right now it launches our program and then, since it's done doing all the code, it finishes up and quits. Is there any way to tell the thing to stay open and running? Kind of like a service (but not a service because I don't want to install anything).
AnswerRe: Keep program open and running Pin
Richard MacCutchan8-Oct-12 23:14
mvpRichard MacCutchan8-Oct-12 23:14 
GeneralRe: Keep program open and running Pin
Lucidation9-Oct-12 12:14
memberLucidation9-Oct-12 12:14 
GeneralRe: Keep program open and running Pin
Richard MacCutchan9-Oct-12 12:19
mvpRichard MacCutchan9-Oct-12 12:19 
AnswerRe: Keep program open and running Pin
Stephen Hewitt11-Oct-12 22:45
memberStephen Hewitt11-Oct-12 22:45 
QuestionUSBView Compile Error Pin
Jim Fell5-Oct-12 11:17
memberJim Fell5-Oct-12 11:17 
AnswerRe: USBView Compile Error Pin
Wes Aday5-Oct-12 11:33
memberWes Aday5-Oct-12 11:33 
GeneralRe: USBView Compile Error Pin
Jim Fell10-Oct-12 9:04
memberJim Fell10-Oct-12 9:04 
QuestionFree memory allocated by std::multimap Pin
khaliloenit4-Oct-12 3:41
memberkhaliloenit4-Oct-12 3:41 
AnswerRe: Free memory allocated by std::multimap Pin
pasztorpisti6-Oct-12 16:26
memberpasztorpisti6-Oct-12 16:26 
AnswerRe: Free memory allocated by std::multimap Pin
Stephen Hewitt11-Oct-12 22:53
memberStephen Hewitt11-Oct-12 22:53 
GeneralRe: Free memory allocated by std::multimap Pin
pasztorpisti11-Oct-12 23:53
memberpasztorpisti11-Oct-12 23:53 
Questionhow to import COM interface methods in Win32 dll? Pin
litu kumar30-Sep-12 20:58
memberlitu kumar30-Sep-12 20:58 
AnswerRe: how to import COM interface methods in Win32 dll? Pin
«_Superman_»1-Oct-12 22:29
member«_Superman_»1-Oct-12 22:29 
GeneralOff topic Pin
Richard MacCutchan2-Oct-12 3:55
mvpRichard MacCutchan2-Oct-12 3:55 
GeneralRe: Off topic Pin
«_Superman_»2-Oct-12 4:00
member«_Superman_»2-Oct-12 4:00 
GeneralRe: Off topic Pin
Richard MacCutchan2-Oct-12 4:23
mvpRichard MacCutchan2-Oct-12 4:23 
QuestionTooltip for ATL toolbar Pin
Sakhalean24-Sep-12 19:43
memberSakhalean24-Sep-12 19:43 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.161128.1 | Last Updated 30 Jul 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid