RE: SYS(3050) error on Win 7, x64 (64-bit) machine

Author: Tracy Pearson

Posted: 2012-10-05 at 10:06:04

MB Software Solutions, LLC wrote on 2012-10-05:

> VFP9 SP2

>

> Using the tip from Fox.wikis.com, I had this in my code:

>

> SYS(3050, 1, MIN(536870912, VAL(SYS(3050, 1, 0))))

> SYS(3050, 2, MIN(536870912, VAL(SYS(3050, 1, 0))))

>

> The first line seems to run ok, but the 2nd line (for background memory)

> fails.

>

> Ideas as to why? This hasn't been a problem with Vista and Windows 7

> 32-bit boxes. (To be fair, I don't know if this is failing on other

> 64-bit systems or just this one site.)

>

> tia,

> --Mike

Mike,

On my Win7 64bit desktop, I opened vRunFox9 and tried these commands.

Both fail:

---------------------------

Error!

---------------------------

An error has occurred:

Error #11

Function argument value, type, or count is invalid.

---------------------------

OK

---------------------------

Seems ?VAL(SYS(3050, 1, 0)) returns a negative number.

Tracy Pearson

PowerChurch Software

_______________________________________________

Post Messages to: ProFox@mail.leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/000b01cda30a$f0af1960$d20d4c20$@powerchurch.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2012 Tracy Pearson