>>Q1: How to detect if VFP 9 application in running in 64 bit windows (Win 2008 x64 server or in Win 7 x64 )
>
>See
http://www.berezniker.com/content/pages/visual-foxpro/how-detect-64-bit-os>
>>Q2: In x64 RUN command fails if running 16 bit applications. How to to invoke DosBox in this case automatically ?
>
>64-bit Windows does not support 16-bit applications.
I think the question how to detect the case, i.e. how to know it's 16 bit, or if that's not possible, how to catch the error. Then if the caller app knows it's the case, it can invoke DosBox and run it there.