Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SYS(3050, 1, 0) Returns Negative Number
Message
From
21/09/2011 02:02:52
 
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01524074
Message ID:
01524105
Views:
60
>>>>>Have a brand new machine running Windows 7 64 Bit with 8 Gig or RAM.
>>>>>
>>>>>Have used the statement SYS(3050, 1, VAL(SYS(3050,1,0))/3) for allocating Memory for years without a problem. Also runs OK on Win 7 both 32 & 64 Bit machines with 4 Gig of Memory.
>>>>>
>>>>>Have read on Wik: i http://fox.wikis.com/wc.dll?Wiki~sys3050 that the old 1/3 trick doesn't work on machines with more than 6 Gig or RAM.
>>>>>
>>>>>Also see that SYS(3050,1,0) returns a negative number on my 8 Gig machine.
>>>>
>>>>It returns a positive number on my machine: 2943090688
>>>
>>>>
>>>>Intel Core i5-750, 8GB RAM, Win7 Ultimate 64-bit
>>>>VFP9 SP2 build 7423
>>>
>>>Hi Al,
>>>
>>>On my machine: -1351876608
>>>Intel I7 2720 QM 8 Gig RAM Win 7 Professional 64-bit
>>>
>>>Marshal
>>
>>I got 2943090688 (same as Al). on Windows 7 64 bit.
>
>Aha...am running SP1...must be a bug which was fixed in SP2..(am planning on installing a parallel SP2).
>
>Thanks everyone..

That's exactly correct: http://download.microsoft.com/download/e/f/f/efff372d-5f27-414c-ae18-177170bf676d/vfp9sp2_bugfixlist.htm

Search it on "3050".
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
Previous
Reply
Map
View

Click here to load this message in the networking platform