>Moving a VFP 6/Windows XP Application to VFP 9 SP1/Windows 7 and seeing some strange behavior.
>
>An IMPORT from a {Excel 1997/2003 Spreadsheet} TYPE XL8 command which ran fine on VFP 6/Windows XP runs in the Development Environment but consistently crashes when Compiled - a Program has Stopped Working dialog followed by an Internal Consistency Error Message Box.
>
>Anyone else had this experience?
One possible difference between dev and EXE is if the program uses resource FOXUSER.* files. Unless you disable resources (e.g. RESOURCE=OFF in CONFIG.FPW) the EXE will create new ones when it starts. I believe I've seen corrupted resource files cause problems similar to this.
Doug Hennig has an overview of potential gotchas with Windows 7 at
http://doughennig.com/papers/..%5CPub%5CWindows7.pdf .
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up