How to make Android apps which support both 32-bit and 64-bit architecture?

According to an official email sent by the Google Play Team, the action required is: If you haven’t yet, we encourage you to begin work for the 64-bit requirement as soon as possible. Many apps are written entirely in non-native code (e.g. the Java programming language or Kotlin) and will not need code changes. Please … Read more

Converting a pointer into an integer

I’d say this is the modern C++ way: #include <cstdint> void *p; auto i = reinterpret_cast<std::uintptr_t>(p); EDIT: The correct type to the the Integer So the right way to store a pointer as an integer is to use the uintptr_t or intptr_t types. (See also in cppreference integer types for C99). These types are defined … Read more

“An attempt was made to load a program with an incorrect format” even when the platforms are the same

If you try to run 32-bit applications on IIS 7 (and/or 64-bit OS machine), you will get the same error. So, from the IIS 7, right click on the applications’ application pool and go to “advanced settings” and change “Enable 32-Bit Applications” to “TRUE”. Restart your website and it should work.