The GW Toolkit's Is64Bit function is as follows:

'-----------------------------------------------------------------------
' Is64BitOS - Indicates 64-bit OS
'-----------------------------------------------------------------------
Function Is64BitOS()
        Is64BitOS = False
        If InStr(Env("%PROCESSOR_ARCHITECTURE%"), "64") > 0 Then
                Is64BitOS = True
        End If
End Function

It's based on this blog post by David Wang from Microsoft:

http://blogs.msdn.com/b/david.wang/archive/2006/03/26/howto-detect-process-bitness.aspx

So it sounds as through your machine doesn't have the PROCESSOR_ARCHITECTURE 
environment variable.

Aaron

-- 
Aaron Smith 
Web Development * App Development * Product Support Specialist
Ai Squared * 725 Airport North Office Park, Fort Wayne, IN 46825
260-489-3671 * www.aisquared.com

To insure that you receive proper support, please include all past 
correspondence (where applicable), and any relevant information pertinent to 
your situation when submitting a problem report to the Ai Squared Technical 
Support Team.

> -----Original Message-----
> From: Scripting [mailto:scripting-
> [email protected]] On Behalf Of Rod
> Hutton via Scripting
> Sent: Saturday, April 25, 2015 10:36 AM
> To: 'Window-Eyes Scripting List'
> Subject: Identifying 64-bit system
> 
> Hi guys,
> 
> 
> 
> One thing I noticed is that the current version of the GW Toolkit shared
> object called Is64bitOS doesn't seem to properly detect that my Dell
> Windows
> 7 x64 Home Premium system is indeed 64-bit.
> 
> I've tested this with Window-Eyes 8.4, as well as version 9.1 on the same Dell
> system, in the latter case, running in a virtual machine.
> 
> I googled and found the following MS Technet page where it had the vbScript
> code as well as a download link for a script which does the job very well, 
> since
> it accurately reports my system as 64-bit:
> 
> 
> 
> https://gallery.technet.microsoft.com/scriptcenter/Determine-If-Your-
> System-
> 969670e3
> 
> 
> 
> I was wondering if anyone has also noticed this failure in the performance of
> the current version of the GW Toolkit shared Object called Is64bitOS, or
> whether this is specific to my system.
> 
> Also, I would be interested to know if anyone has any other ideas on this
> issue.
> 
> 
> 
> Thanks,
> 
> 
> 
> Rod
> 
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: winmail.dat
> Type: application/ms-tnef
> Size: 3432 bytes
> Desc: not available
> URL: <http://lists.window-eyes.com/private.cgi/scripting-window-
> eyes.com/attachments/20150425/7d38a28c/attachment.bin>
> _______________________________________________
> Any views or opinions presented in this email are solely those of the author
> and do not necessarily represent those of Ai Squared.
> 
> For membership options, visit http://lists.window-
> eyes.com/options.cgi/scripting-window-
> eyes.com/asmith%40aisquared.com.
> For subscription options, visit http://lists.window-
> eyes.com/listinfo.cgi/scripting-window-eyes.com
> List archives can be found at http://lists.window-
> eyes.com/private.cgi/scripting-window-eyes.com


_______________________________________________
Any views or opinions presented in this email are solely those of the author 
and do not necessarily represent those of Ai Squared.

For membership options, visit 
http://lists.window-eyes.com/options.cgi/scripting-window-eyes.com/archive%40mail-archive.com.
For subscription options, visit 
http://lists.window-eyes.com/listinfo.cgi/scripting-window-eyes.com
List archives can be found at 
http://lists.window-eyes.com/private.cgi/scripting-window-eyes.com

Reply via email to