Sep 6, 2012 at 4:05 PM
Edited Sep 7, 2012 at 2:53 PM
I've been running an application using FoxCharts 1.20 for a few years now successfully. I had to install the application on a Windows 7 PC for the first time and the screen with the FoxChart on it crashes: Error 1925/Unknown member SYSTEM.
Note that the exact same executable runs fine on the other Windows XP PCs.
I assume that the DO System.app is not running but I have put some code in to check if this is correct and my code never gets run before the error gets displayed.
I've tracked it down to this code:
<pre>IF (OS(3) = "6") AND ;&& (same as Vista)
(OS(4) = "1") AND ; &&(Vista = 0)
(VERSION(4) < "09.00.0000.5411") && VFP 9.0 SP2
This.RenderMode = 1 && File BMP - slower performance
If I comment out that code the system.app gets called, but the chart does not display, whereas if I leave that code in, then system.app never gets run and I get the error.
Any ideas what's going on here?
The problem was the wrong VFP runtime files on the PC. SP1 was on the PC, updating to SP2 with the hot fix (18.104.22.16823).