Determine dynamically computer CVI of 32 bit vs 64

Is there some API, CVI (LabWindows), that I can use to determine the architecture, 32 vs 64-bit machine on my application is running?

The reason is that I have a call to open a file under 'Program Files' but if it's a 64-bit computer, I need to make the call to "Program Files (x 86)".

Or possible some macro that will point to the currently installed folder of my application?

Thank you

While I can't answer the exact question easily. I can give you some useful indications:

  • See this question on the location of the "special folders" and how to use the windows API
  • Here is the info from the API.
  • See "remarks" here about 80% of the way to the bottom of the page. You may be able to ask a special folder and still get the right one, eliminates the need to settle the question of 64 bit 32 vs.

All that being said that I don't have the answer to the determination of 32 vs 64-bit!

I hope this helps a little.

Ian

Tags: NI Software

Similar Questions

  • Determine if my Windows XP 64-bit or 32-bit?

    As I say... "I'm not in the technology."... . How can I determine if my Windows XP 64-bit or 32-bit?  Bodine needs help!  Please, I beg you.

    Please see: How to determine whether a computer is running a 32-bit version or the 64 bit version of the Windows operating system

  • What can I do to upgrade my computer laptop os 32-bit to a 64-bit operating system?

    I have windows vista family premium, my os is 32-bit, I want to upgrade my only 32-bit computer to a 64-bit. What should I do to change

    my computer to 64-bit?

    First, check with the manufacturer of the computer to determine bring them or not, he is capable of running a 64-bit operating system.  You should also check with the manufacturer of your devices (printer, scanner, webcam, etc.) to ensure that 64-bit device drivers are available.

    Then buy Vista 64-bit edition desired and, after you have backed up all the data that you want to keep, format the hard drive and install the new OS, install your applications and restore your data.

  • Error when trying to install LabVIEW2009 on my computer (windows XP 32-bit)

    When you try to install LabVIEW2009 on my computer (windows XP 32-bit) I get the following error: the instruction at "0x005466a9" referenced memory at "0x00000000".  The memory could not be "read".

    Someone has any ideas why this is error message appears?

    Thank you.

    Hi Richard,

    After you have uninstalled all National Instruments software, you can check your registry for the "National Instruments" registry keys?  You must manually remove these keys before you try again to install LabVIEW 2009.

    To open the registry, go to Start , then select Run .  Then you will have to type ""regedit ' in the window and click on 'OK'. "

    Kind regards

  • Is there a way to determine if an application is 32-bit or 64-bit?

    Is there a way to determine if an application is 32-bit or 64-bit? To be more precise, I want to be able to determine if a 32-bit application is emulated under WOW64. I am using the function call library and selecting IsWOW64Process in Kernel32.dll file, but I can't seem to make it work. I think I can be implemented to false. I use a builder nodes and invoke for the process and after you call GetProcesses in the invoke node, I send you in a loop to inspect each process separately. Inside the loop is where I am using the function call library. What I read IsWOW64Process has a handle as a starter and a pointer to a Boolean value as output. I may be incorrect in what I saw several varieties of this appeal on the internet. I tried to set this up, but I can't seem to make it work. I'm looking for help on how to correctly use the library call or if someone knows a better way to do it, I'm open to suggestions. Thanks for any help.

    Thanks for the tips of Josh. The link that you sent me was, in fact, where I got the idea of what I'm trying to do. I figured out how to determine if an application is emulated this morning after further research and trial and error. I finally understand mine, but I appreciate all those who have tried to help.

  • How can I tell if my computer is a 32-bit or 64-bit? ....

    How can I tell if my computer is a 64 bit CPU 32 bit? I did what was recommended by going to start, the computer properties and system... It doesn't have the x 64 system, but at the bottom of this page of information it says processor AMD 64 3500 +, etc. so I'm confused... I was told once during the upgrade to discover a different way. can someone tell me this differently?  Thanks in advance for your help... my os is windows xp.

    See http://support.microsoft.com/kb/827218

  • My computer is a 64-bit windows 7, but works in 32 bit?

    My computer is a 64-bit windows 7, but I just noticed that, in the "dxdiag" (DirectX Diagnostic tool), he said that my computer is running in 32-bit. Im not run other programs that might do this and it happens everytime I restart my computer. It is causing me not to be able to run an essential program for my dish United because they have to be 64-bit.

    That's why I asked the question to confirm rather than to assume! The properties page is the final count for the version of Windows

    When I run DxDiag on my system is the o/s listed 64-bit in the system information panel but it's the DxDiag itself which is in 32-bit code by default. What I get is a button to run 64-bit DxDiag.

    This command will force DxDiag to start in 64-bit c:\Windows\System32\dxdiag.exe 64 bit but what led you to run DxDiag in the 1st place, what errors are getting you Maya?

    Maya 2014 also has a very limited range of graphics cards is supported, some AMD over-pants, higher spec Radeon HD, NVidia Quadro and GTX which should be DX11. What are you running?

  • Is there a way to programmatically determine the use of the 64-bit computer?

    I need to work with files in the path C:\Program Files\ [...].  However, when I run my LV application on a 64-bit machine, the path is C:\Program Files (x 86)-[...].  Is there a way to automatically determine if the application is running on a 64 bit system?  I use LV v.2012 SP2.

    Thank you

    DJ

    dj143 wrote:

    I need to work with files in the path C:\Program Files\ [...].  However, when I run my LV application on a 64-bit machine, the path is C:\Program Files (x 86)-[...].  Is there a way to automatically determine if the application is running on a 64 bit system?  I use LV v.2012 SP2.

    If you want the correct folder, the number of bit OS will not really help you. What to do if windows is installed to X:\Program files id... » ??

    Take a look at "get system directory". In particular, use the entry "application files. See if it meets your needs.

  • 32-bit windows on the computer OEM portable 64-bit?

    Hi guys!

    I use a lenovo g550 model with an Intel t4500 Penium 20023. official website of the intel, as you can see here, this processor has a 64-bit instruction set, which shows that he is a computer portable 64-bit... But when this laptop was brought, it was delivered with windows 7 32-bit Home Basic. According to what I know, there should be a 64-bit version of this version of windows. I want to know why was shipped like that and if I can pass an operating system Windows 64 bits of purchases.

    Thanks in advance,

    @reya

    32 bit OS is the basic option for more pre-built for specific basic laptop. If you need 64-bit OS, you can try to find a 64-bit version of Win 7 home base somewhere, install it and then activate it with the windows serial No. you have on the sticker of authenticity of mobile.

    Lenovo will charge you for the 64 bit version of the recovery media.

  • Computer Windows 7 64 bit tries to install updates for MS Office 32-bit with errors.

    Windows keeps trying to install 32-bit updates on my 64-bit Office 2010 machine. He ceases to if an error, I guess because of the difference between the 32 and 64-bit. I tried to download the same update for the 64 bit, but I get an error code saying that I have nothing that the update applies to. help!

    I'm frustrated because my updates will not install correctly, and I don't know how to fix it.

    Thank you

    Well well, for some reason, the update is installed correctly. I did not any changes, but when I rebooted my computer tonight, he showed the update installed successfully.

    Thanks for all the help.

  • New computer with VISTA 64 bit will not work with Palm OS on TX - no bluetooth

    I bought a new computer without research on versions of Vista 32 bit vs 64 bit and did not discover until I got it up and running I can't install Palm Desktop on it.  My TX is only a couple of months. I don't want to replace it and can not get a right now, bluetooth adapter. What I want to know is: 1. is there another autour than one clumsy bluetooth work? and 2. Palm is working on a compatible version 64-bit?

    There is a big thread on this subject, with the positions in question on Wifi HotSync by TX inside:

    http://forums.Palm.com/Palm/board/message?board.ID=windows_hotsync&thread.ID=17980&jump=true

    WyreNut

    Message relates to: Centro (AT & T)

  • I need to take Windows7 64 bit that came on my new computer, for Windows7 32 Bit

    I bought a new HP desktop computer that came with Windows7 64 bit. My software will not work with 64 bit. I need
    Windows7 32 bit. Help?

    Contact HP support. If you format the HARD drive and do a clean install of Win7 (x 86) on your own:

    1. you will not have very specific HP drivers, which depends on the laptop; and

    2. you will invalidate your warranty and Service contract has been purchased.

    The foregoing, I think you (or the one who tells you the application "will not work" under Windows 64-bit) are wrong. If it "works" in Win7 (x 86), it should work just as well in Win7 64-bit.

    However, you may need to 'usurp' IE7 User Agent strings so that the line (I guess) application "think" you're not under IE8. See http://www.enhanceie.com/ua.aspx or http://www.enhanceie.com/ietoys/uapick.asp

    Tip: Use 32 bit IE8 (IE7 User Agent spoofing channels), not IE8 64 bit, to access the online application.

    ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • How upgrading to SP3 if my computer is a 64-bit system

    I have a HP computer that has been factory in 2006 64-bit and windows XP, had now knowing that I can't update SP2 to SP3 to cause it to be 64-bit.

    Yes, you are absolutely right!

    If you have a 64-bit Windows XP and you are in SP2, then you already have the latest Windows XP service pack installed.  SP3 is * only * for 32-bit versions of Windows XP.

    In the article:
    "How to get Windows XP Service Pack 3 (SP3).
      <>http://support.Microsoft.com/kb/322389 >

    He states:
       Important These service packs apply only to 32-bit versions of Windows XP.

    HTH,
    JW

  • Can I upgrade my computer Windows Vista 32 bit to 64 bit with the specs of my computer?

    Here's a question. I want to upgrade my pc to a 32-bit - 64-bit, 120-750 hdd hard drive and the RAM to 4gbs. is it possible for a 32-bit processor, 512 MB RAM oringally vista home 120hdd?

    original title: everything just curious...

    Hello

    Check with your system manufacturer (manufacturer of motherboard for custom systems) to see if your computer
    can run Windows 7. If so check to see if it can run 64-bit which has higher minimum
    requirements than 32-bit. Finally check to see if the hardware upgrades that you make will be
    work in this computer. Don't forget if you spend a lot of money on upgrades, you may have
    but could a new computer for the same price. And then you'd have two systems.

    Windows 7 system requirements
    http://Windows.Microsoft.com/en-us/Windows7/products/system-requirements

    32-bit and 64-bit Windows: frequently asked questions
    http://Windows.Microsoft.com/en-us/Windows7/32-bit-and-64-bit-Windows-frequently-asked-questions

    64-bit support
    http://www.Microsoft.com/Windows/Windows-7/features/64-bit-support.aspx

    Run the Upgrade Advisor, and check with the center of compatibility for your key features. Also
    some system manufacturers have the online help and information for the upgrade to Windows 7.

    Windows 7 Upgrade Advisor - run this http://www.microsoft.com/windows/windows-7/get/upgrade-advisor.aspx

    Also check the Compatibility Center
    http://www.Microsoft.com/Windows/compatibility/Windows-7/en-us/default.aspx

    To see if you can run XP, Vista, or Windows 7 64-BIT, you will need to check with the system
    manufacturer if it is 64-bit capable. Are there drivers 64-bit for all devices? To run 64-bit you
    need 64-bit drivers (and the system must be able to run this version of Windows 64-bit).

    I hope this helps and happy holidays!

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • Can I add a 64-bit video card to a desktop computer with a 32 bit processor?

    I have a HP a522n with an Intel Pentium 4 (2.60 GHz clock, 400 MHz FSB) processor and 1 GB of DDR1 memory.  This processor, I give myself to think, is running on a 32-bit instruction set.

    I want to disable the integrated video and add graphics EVGA GeForce 6200 PCI 2.1 with 512 MB of DDR2 64-bit memory.

    Is it achievable?  You can add a 64-bit on a 32-bit system video card?

    Yes, you can install this video card 64-bit on your 32-bit CPU/operating system. In general, the size of bit (width) of a video card refers to its memory interface. The size of the computer bit refers to the CPU or operating system.

    Frank

Maybe you are looking for

  • When I go to a Web page on Mozilla, nothing appears on any site

    No matter what page to go on Mozilla, nothing appears and I mean anything! I have tried different pages, saved pages, pages marked with a bookmark and nothing, it gives me just a white screen. Not only that I don't have a menu button. Can someone hel

  • Screen does not respond in 9.3.2 iPad 9.7 pro

    Hello My iPad pro screen went completely numb and I'm unable to turrn on. already tried a force restart and restore via iTunes without a bit of luck, the screen is always black. is it possible to fix this? Thank you very much

  • Need help with the error code 80070424

    I'm not able to update my windows vista. It gives the error code 80070424 and says 'windows can not find updates of nw'. I am not able to change all settings also unsuccessfully. Help, please.

  • Is there a work-around to install anything which is not in the "Microsoft App Center"?

    * Original title: App DOWNLOAD heartmath I try to install Heartmath on a tablet of Surface running 8.1 RT I get the message cannot install the application on this computer go to App Center Is there a work-around as it seems difficult to install anyth

  • Find a resource catalogue vRA by its request ID.

    I'm trying to use it to find a resource by its requestId catalog but I get an error saying "invalid access to data to use API exception raised during the data recovery".  Here's how I implemented the request:var service = host.createCatalogClient ()