>VFP 9 application is running under RDP.
>
>How to log-off user if application terminates ?
>Is there some API function which can called from VFP before application exits ?
>I read Doug Windows API functions white paper but havent found this.
>
>
http://www.news2news.com/vfp/index.php?example=36>
>contains code to turn windows off. MAybe this can used to exit RDP session ?
Use a RemoteApp instead.