Thank you for the correction.
I have tried with several PST files and I am still unable to replicate your said issue on my end. I have managed to delete some messages from different sub-folders of the PST file. After deleting the messages, I opened the PST in Outlook 2010 and the result is as expected. The messages are deleted and I can browse the rest of the messages from same folder.
Although I have two observations,
- Deleted message does not go to “Deleted Items” folder of the PST. It simply vanishes.
- I have to close the Outlook to process the PST file from my sample application, even if it is not loaded in Outlook.
I am looking for the answers in regard to above two points.
Regarding your said issue, will it be possible for you to share a sample PST file (of some small size) that can exhibit the issue.