المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : how to abort application



C++ Programming
04-01-2009, 02:51 PM
Hi,
In my application I am using Active Sync to connect my PC to Mobile(Windows Mobile).I am using CeCreateProcess() function to invoke exe in mobile.I need to abort my application.
For that I have created one button on my dialog.I have added event handler to that.I have added
PostQuitMessage(0);
while running the application If I click on "Abort" button application is not closing at that point.After completion of present running task only application is closing. For example I am executing testcycle.In the middle I need to abort my application.Can anyone help me.

Rekha.