I want to trap the last event in a VB application
that is this event should catch END statment

The reason i need to release some vectors in a dll being used in this application