>Sergey,
>
>I'm using VFP 7 SP1 and the Mere Mortals Framework 7. During the execution of the application itself, there are no problems. It's only when closing the application that the error appears. (this is also the case for the compiled .exe)
>
>< What VFP version you are talking about? I'm unaware about such problem in < VFP6SP5 and later and don't know if it exists in previous versions.
>
>
>Mark
Are you sure it's not just a garbage collection issue? I've had the same problem with Adobe Acrobat until I double-checked the order I was destroying the objects. Once I adjusted the order so that it released the objects in the opposite order I instanciated them, the problem went away.