Click here to Skip to main content
15,895,656 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: convert from char a[MAX_PATH] to LPCWSTR Pin
Hamid_RT27-Apr-06 2:06
Hamid_RT27-Apr-06 2:06 
GeneralRe: convert from char a[MAX_PATH] to LPCWSTR Pin
David Crow27-Apr-06 5:54
David Crow27-Apr-06 5:54 
Questiondesign pattern Pin
Krishnatv26-Apr-06 22:21
Krishnatv26-Apr-06 22:21 
AnswerRe: design pattern Pin
Nibu babu thomas26-Apr-06 22:29
Nibu babu thomas26-Apr-06 22:29 
GeneralRe: design pattern Pin
Krishnatv26-Apr-06 22:45
Krishnatv26-Apr-06 22:45 
GeneralRe: design pattern Pin
Rahim Rattani27-Apr-06 2:50
Rahim Rattani27-Apr-06 2:50 
QuestionHow to replace the own executable? Pin
div!sion26-Apr-06 21:57
div!sion26-Apr-06 21:57 
AnswerRe: How to replace the own executable? Pin
benjymous26-Apr-06 22:36
benjymous26-Apr-06 22:36 
if MyServer.exe is currently running, it won't be able to overwrite its own exe

What you'll need to do is something like this

in MyServer.exe

Check internet for update
if update available
{
download update package
launch Updater.exe
quit MyServer.exe (saving everything gracefully)
}

---

in Updater.exe

Wait for MyServer.exe to shut down
Depack update package
Launch updated Myserver.exe
quit Updater.exe

---

You might want to set this update process so that it can be scheduled at a quiet time for your server. E.g. if it's main traffic is from 9am - 5pm, then make it try to update at 5am


--
Help me! I'm turning into a grapefruit!
Buzzwords!

Questionstrange: why is Font clearer than drawing (2)? Pin
includeh1026-Apr-06 21:33
includeh1026-Apr-06 21:33 
Questiondos aplication Pin
viliam26-Apr-06 21:12
viliam26-Apr-06 21:12 
AnswerRe: dos aplication Pin
Stephen Hewitt26-Apr-06 21:15
Stephen Hewitt26-Apr-06 21:15 
GeneralRe: dos aplication Pin
viliam27-Apr-06 3:21
viliam27-Apr-06 3:21 
GeneralRe: dos aplication Pin
Stephen Hewitt27-Apr-06 13:35
Stephen Hewitt27-Apr-06 13:35 
AnswerRe: dos aplication Pin
Cedric Moonen26-Apr-06 21:17
Cedric Moonen26-Apr-06 21:17 
GeneralRe: dos aplication Pin
viliam27-Apr-06 3:26
viliam27-Apr-06 3:26 
QuestionMDI - Repaint all children Pin
Sarvan AL26-Apr-06 21:07
Sarvan AL26-Apr-06 21:07 
AnswerRe: MDI - Repaint all children Pin
Nibu babu thomas26-Apr-06 21:17
Nibu babu thomas26-Apr-06 21:17 
GeneralRe: MDI - Repaint all children Pin
Sarvan AL26-Apr-06 22:00
Sarvan AL26-Apr-06 22:00 
QuestionCxImage - Add Text to Image Pin
RiHaus26-Apr-06 20:50
RiHaus26-Apr-06 20:50 
Questionmaking a invisible row visible in a data grid in VC++ Pin
helpcode26-Apr-06 19:49
helpcode26-Apr-06 19:49 
AnswerRe: making a invisible row visible in a data grid in VC++ Pin
Cedric Moonen26-Apr-06 21:00
Cedric Moonen26-Apr-06 21:00 
GeneralRe: making a invisible row visible in a data grid in VC++ Pin
helpcode26-Apr-06 23:17
helpcode26-Apr-06 23:17 
GeneralRe: making a invisible row visible in a data grid in VC++ Pin
Cedric Moonen26-Apr-06 23:27
Cedric Moonen26-Apr-06 23:27 
GeneralRe: making a invisible row visible in a data grid in VC++ Pin
helpcode27-Apr-06 1:17
helpcode27-Apr-06 1:17 
Questionwarning C4251 Pin
Naveen26-Apr-06 19:31
Naveen26-Apr-06 19:31 

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.