Hi Guys,
I am having a problem here and need some urgent help from anyone possible??
I have Application 1 which triggers Application 2. Application 2 runs some checks and if it is validated, it closes Application 1. Hence i need to close Application 1 from Application 2.
Now i have process.CloseMa inProgram() in Application 2 which works most of the time, but it sometimes leaves Application 1 running. I have added a WndProc overide in Application 1 to track when it recieved a WM_CLOSE or windows instructions to close the application. Apparently when Application 1 is stuck - there is no WM_CLOSE recieved by it and i am not sure why this happens.
Please help guys - as this is quite urgent and i am running out of ideas.
I am having a problem here and need some urgent help from anyone possible??
I have Application 1 which triggers Application 2. Application 2 runs some checks and if it is validated, it closes Application 1. Hence i need to close Application 1 from Application 2.
Now i have process.CloseMa inProgram() in Application 2 which works most of the time, but it sometimes leaves Application 1 running. I have added a WndProc overide in Application 1 to track when it recieved a WM_CLOSE or windows instructions to close the application. Apparently when Application 1 is stuck - there is no WM_CLOSE recieved by it and i am not sure why this happens.
Please help guys - as this is quite urgent and i am running out of ideas.
Comment