Windows 10: Automatic detection of the 32/64 bit character of my executables.

Discus and support Automatic detection of the 32/64 bit character of my executables. in Windows 10 Gaming to solve the problem; Some of my C++ code is depending on the 32/64-bit character of my executables. Solving this by #defining "x86" or "x64" will require adjusting the... Discussion in 'Windows 10 Gaming' started by Ton Epskamp1, Jul 29, 2023.

  1. Automatic detection of the 32/64 bit character of my executables.


    Some of my C++ code is depending on the 32/64-bit character of my executables. Solving this by #defining "x86" or "x64" will require adjusting the appropriate include file again and again. I tried "x64" without #defining it without any success. Perhaps WIN32/64? I would prefer an automatic detection perhaps by the program's Propertiies. I suppose in an emergency there might be a function call returning an appropriate value. I would consider this an emergency but I don't know any appropriate function Can any more experienced coder help me?

    :)
     
    Ton Epskamp1, Jul 29, 2023
    #1

  2. Why will using any help function in my 64-bits executable kill this executable by an exception and simply execute its duty in an exactly the same 32-bits executable?

    In or just before 2020 I detected this problem, described it and asked for help. Even some people recognized it. But no solution was offered and even the future was referenced. Now I have finished developing my project there will remain this ashtonishing difference between the 32 and 64-bits release versions: only the 32-bits executable will show any help from this same chm-file because the 64-bits executable will simply not show anything but even be killed all together by an exception. So far I didn't experience any other striking difference between both versions.

    I developed over the years both versions using Visual Studio[Community]. All htlm-files were created/compiled by using the Microsoft HTML Help Workshop generating a flawlessly running chm-file with me supposing applicable to both 32 and 64-bits executables. I know the chm-files are 32-bits generated in the time the HTML Help Workshop was developed no 64-bits being available. The operating system Windows should be able to manage these differences. The exception took place not within my 64-bits executable but somwhere within Windows after the executable's call of HtmlHelp(). So I expected in both calls exactly the same but I remain surprised by the 64-bits executable's deviating behaviour. Can anybody help me? Looking around I am used to detect chm-files used to function as a help tool both for 32 and 64-bits executables. What will I be doing wrong many others are doing correctly?

    I inserted my call of HtmlHelp() expecting this call applicable to both 32 and 64-bits versions. And everything written in C++. I didn't expect any diffference!

    * Moved from Community Center
     
    Ton Epskamp1, Jul 29, 2023
    #2
  3. Arun B J Win User
    Windows 10 Pro 64-Bit to 32-Bit?

    Hi,


    Thank you for posting your query in Microsoft Community.



    I understand your concern and will assist you to resolve this issue.


    • What is the name of the game?
    If the system architect is 32 bit, then you can’t install 64 bit version of windows in it. I suggest you to run “winver” by pressing Windows + R, and check the version and bit.

    There are some games that you can install it in 32 bit as well.

    Windows 10 is the free upgrade for those users who has genuine key for Windows 7 and Windows 8.1 , normally it doesn't require activation, it's gets activated automatically, in case if you face an issue with activation the you can get back to
    us.



    For reference you can refer the link below and check if it helps (32 bit and 64 bit architect applies same to windows 10)

    32-bit and 64-bit Windows: Frequently asked questions - Microsoft Support



    Keep us posted on this issue so that we can assist you better.

    Thanks and Regards.
     
    Arun B J, Jul 29, 2023
    #3
  4. Automatic detection of the 32/64 bit character of my executables.

    Windows 32 bits to 64 bits

    Hi Kulbeer,

    To upgrade from Windows 10 32-bit to Windows 10 64-bit, we suggest that you check and follow the steps/instructions provided by
    Andre Da Costa in his article.

    We would appreciate it if you could get back to us and provide us your feedback.
     
    Michael Gall, Jul 29, 2023
    #4
Thema:

Automatic detection of the 32/64 bit character of my executables.

Loading...
  1. Automatic detection of the 32/64 bit character of my executables. - Similar Threads - Automatic detection bit

  2. Automatic detection of the 32/64 bit character of my executables.

    in Windows 10 Software and Apps
    Automatic detection of the 32/64 bit character of my executables.: Some of my C++ code is depending on the 32/64-bit character of my executables. Solving this by #defining "x86" or "x64" will require adjusting the appropriate include file again and again. I tried "x64" without #defining it without any success. Perhaps WIN32/64? I would...
  3. 32 bit to 64 bit

    in Windows 10 Software and Apps
    32 bit to 64 bit: Why do all my apps suddenly turn from 64 bit to 32 bit? On Windows 11. Pls help! E.g. Steam is on 32 bit https://answers.microsoft.com/en-us/windows/forum/all/32-bit-to-64-bit/17fd69e3-2162-44d1-9acc-3d58e2ed3a23
  4. 32 bit to 64 bit

    in Windows 10 Installation and Upgrade
    32 bit to 64 bit: I attempted to change an HP Mini 110notebook from Windows 10 32 bit Windows to Windows 10 64 bit. It originally came with Windows 7 andI later upgraded to Windows 10 but it was the 32 bit version. It hasa 64 bit CPU so I downloaded the Media Creation Tool and used it todo a...
  5. 32 bit to 64 bit

    in Windows 10 Installation and Upgrade
    32 bit to 64 bit: i want to make my pc 64 bit but i got anti virus in my pc will my anti virus get deleted if i make my pc 64 bit https://answers.microsoft.com/en-us/windows/forum/all/32-bit-to-64-bit/e75ae8f8-beb8-49d2-ba0f-d1fbc2297c74
  6. Playstation Executable not detecting 64-bit architecture

    in Windows 10 Ask Insider
    Playstation Executable not detecting 64-bit architecture: Hi, I'm trying to install the PS4 remote play client on my Windows 10 PC. The issue is that the installer is failing, I suspect because when I attempt to run the RemotePlayInstaller.exe, it is unpacking this file: "RemotePlayInstaller_4.0.0.09240_Win32". I should be running...
  7. 32 bit to 64 bit

    in Windows 10 Customization
    32 bit to 64 bit: can I upgrade my 32 bit to 64 bit plz help me I nwanna play fortnite https://answers.microsoft.com/en-us/windows/forum/all/32-bit-to-64-bit/67efd3f2-6406-4c88-9aa7-667bf8b42650
  8. 32 bit to 64 bit

    in Windows 10 Customization
    32 bit to 64 bit: Hi Guys I installed windows 10 as an update. the laptop will take 64 bit but is running windows 10 as 32 bit how do i change it to 64 bit? Thanks for any advice https://answers.microsoft.com/en-us/windows/forum/all/32-bit-to-64-bit/55e0e1c7-2b84-49fa-bfcd-157401ffc8a8
  9. 64 bit to 32 bit

    in Windows 10 Support
    64 bit to 32 bit: Have a Asus laptop with 64 bit system loaded win10 64 bit used 89% of ram contacted Asus unit not suitable for win 10 is there a way to run win10 32 bit on a 64 bit system as this should use less ram. . 39318
  10. 32 bit or 64 bit

    in Windows 10 Support
    32 bit or 64 bit: Hello,All my programs, installed and portable, are according to my system 32 bit.Since I have in mind to replace my problematic "old" computer, Will I be able to use them (install) on a 64 bit system ?Answers will be appreciatedThanks 92122