Click here to Skip to main content
15,886,067 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Question[mfc] restart other process Pin
rahuljin23-Jul-09 5:51
rahuljin23-Jul-09 5:51 
AnswerRe: [mfc] restart other process Pin
ThatsAlok23-Jul-09 6:05
ThatsAlok23-Jul-09 6:05 
GeneralRe: [mfc] restart other process Pin
rahuljin23-Jul-09 7:01
rahuljin23-Jul-09 7:01 
AnswerRe: [mfc] restart other process Pin
Code-o-mat23-Jul-09 6:11
Code-o-mat23-Jul-09 6:11 
GeneralRe: [mfc] restart other process Pin
rahuljin23-Jul-09 6:52
rahuljin23-Jul-09 6:52 
GeneralRe: [mfc] restart other process Pin
Code-o-mat23-Jul-09 7:09
Code-o-mat23-Jul-09 7:09 
AnswerRe: [mfc] restart other process Pin
Rajesh R Subramanian23-Jul-09 7:55
professionalRajesh R Subramanian23-Jul-09 7:55 
GeneralRe: [mfc] restart other process Pin
rahuljin23-Jul-09 8:27
rahuljin23-Jul-09 8:27 
sorry but i could not find my old question.

i created the win32 c++ application long back when i dont have any idea of mfc. it is working fine.

with mfc, i create a gui which accept the some content and save them in text files. these text files are then used by the win32 application. win32 application runs at startup of windows and it takes the information from the files and starts using it (it is socket application so it will not read the file again until it receives some information for the ip which is saved in the text file).

so i want to restart the win32 application when closing mfc application so that win32 application can use the updated text files.

actually i want to use TerminateProcess() and then start it with CreateProcess() function. but i read that TerminateProcess() can create problem with DLL structure.
QuestionRe: [mfc] restart other process Pin
Rajesh R Subramanian23-Jul-09 9:53
professionalRajesh R Subramanian23-Jul-09 9:53 
AnswerRe: [mfc] restart other process Pin
rahuljin23-Jul-09 10:09
rahuljin23-Jul-09 10:09 
GeneralRe: [mfc] restart other process Pin
ThatsAlok23-Jul-09 20:00
ThatsAlok23-Jul-09 20:00 
GeneralRe: [mfc] restart other process [modified] Pin
rahuljin23-Jul-09 21:57
rahuljin23-Jul-09 21:57 
GeneralRe: [mfc] restart other process Pin
Rajesh R Subramanian23-Jul-09 21:08
professionalRajesh R Subramanian23-Jul-09 21:08 
AnswerRe: [mfc] restart other process Pin
ThatsAlok23-Jul-09 19:48
ThatsAlok23-Jul-09 19:48 
GeneralRe: [mfc] restart other process Pin
Rajesh R Subramanian23-Jul-09 21:07
professionalRajesh R Subramanian23-Jul-09 21:07 
GeneralRe: [mfc] restart other process Pin
ThatsAlok23-Jul-09 22:38
ThatsAlok23-Jul-09 22:38 
GeneralRe: [mfc] restart other process Pin
ThatsAlok24-Jul-09 1:14
ThatsAlok24-Jul-09 1:14 
GeneralRe: [mfc] restart other process Pin
Rajesh R Subramanian24-Jul-09 6:15
professionalRajesh R Subramanian24-Jul-09 6:15 
QuestionException Error. Pin
FISH78623-Jul-09 5:20
FISH78623-Jul-09 5:20 
AnswerRe: Exception Error. Pin
Code-o-mat23-Jul-09 6:17
Code-o-mat23-Jul-09 6:17 
GeneralRe: Exception Error. Pin
FISH78623-Jul-09 6:32
FISH78623-Jul-09 6:32 
GeneralRe: Exception Error. Pin
FISH78627-Jul-09 3:37
FISH78627-Jul-09 3:37 
GeneralRe: Exception Error. Pin
Code-o-mat27-Jul-09 3:40
Code-o-mat27-Jul-09 3:40 
GeneralRe: Exception Error. Pin
FISH78628-Jul-09 10:22
FISH78628-Jul-09 10:22 
GeneralRe: Exception Error. Pin
Code-o-mat28-Jul-09 10:46
Code-o-mat28-Jul-09 10:46 

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.