32bit-64bit

Why windows 64 still makes use of user32.dll etc?

帅比萌擦擦* 提交于 2019-12-06 21:38:10
问题 I think under windows x64, it still uses user32.dll and a bunch of other 32 bit libraries. Why there is no user64.dll? 回答1: C:\Windows\System32\user32.dll is a 64-bit library. The 32-bit version is in C:\Windows\SysWOW64\user32.dll . They can't change any names because that would break all sorts of programs with hard-coded paths. 回答2: The names "user32" and "system32" and so on existed long before the modern 64-bit editions of Windows. The names were intended to distinguish them from the 16

Change jdk path in IntelliJ 13 when compiling from 32 bit program file folder to 64 bit one

僤鯓⒐⒋嵵緔 提交于 2019-12-06 17:41:02
问题 I'm getting this issue when trying to Make my java project. I just uninstalled my 64 bit jdk for various reasons and installed the 32 bit one. I'm getting the error: Cannot run program "C:\Program Files\Java\jdk1.7.0_51\bin\java" (in directory "C:\Users\$username.IntelliJIdea13\system\compile-server"): CreateProcess error=2, The system cannot find the file specified How do I get the compiler to use the jdk in the C:\Program Files (x86) folder which I now have? 回答1: From the menu: File ->

How to detect X32 on Windows?

眉间皱痕 提交于 2019-12-06 15:51:14
X32 allows one to write programs using 32-bit integers, longs and pointers that run on x86_64 processors. Using X32 has a number of benefits under certain use cases. (X32 is different than X86 or X64; see Difference between x86, x32, and x64 architectures for more details). It appears some Windows Enterprise Server supports X32, but I'm having trouble finding more information on it. That's based on some Intel PDFs, like Intel® Xeon® Processor E5-2400 Series-based Platforms for Intelligent Systems : Microsoft's documentation on Predefined Macros lists the usual suspect, like _M_X64 and _M_AMD64

Which midas.dll to use? 32bit datasnap/64bit server

痞子三分冷 提交于 2019-12-06 14:16:00
Considering the following: We have a 32 bit Datasnap server installed on a 64 BIT Windows Server In embarcadero\rad studio\11.00\redist are 2 folders : 32 bit and 64 bit, with in each a midas.dll. Wich file should we put where? In windows\system32 or windows\syswow64 ? Never put anything in the Windows system directories (unless you have a very, very, very good reason to write there). It's a very bad practice (dating back to Windows 3.x times and poor developers skills, because those dirs are always in the search path) just leading to troubles (i.e. if another application chnages your DLL with

64 bit division in ARM Assembly SOS

此生再无相见时 提交于 2019-12-06 13:05:24
I am calculating the average of sixteen 64 bit numbers added together and I think that I have done all the addition correctly, but now I need to figure out how to divide a 64 bit number by 16 and I am stuck! Any help would be great thank you so much. Here is my code so far. tableSize EQU 16 sum EQU 0x40000000 average EQU 0x40000008 MOV r8, #14 ADR r0, table LDR r9, =sum LDR r10,=average LDR r1, [r0], #1 ;hi #1 LDR r2, [r0], #1 ;lo #1 SUM SUB r8, r8, #1 LDR r3, [r0], #1 ;hi #2 LDR r4, [r0], #1 ;lo #2 ADDS r5, r2, r4 ;lo 1 + lo 2 set flags ADC r6, r1, r3 ;hi 1 + hi 2 + carry MOV r1, r6 MOV r2,

Mixing 32 and 64-bit Libraries in Linux (gcc)

孤人 提交于 2019-12-06 12:03:58
I have a 32-bit binary-only C .so (provided by a vendor) built for Linux (using gcc), that I need to link to a 64-bit C/C++ application (which I am developing). Is there any way to access this library from my application? I know there will need to be care taken to handle arguments and pointers to functions inside the .so, and I know that long ago it was deemed basically impossible (like this post). I'm hoping the situation has changed. It might be possible to hack together some assembler glue code to translate the function parameters and return values from one module to the other, and flip the

compile 64-bit version of lzo.dll

不羁岁月 提交于 2019-12-06 12:01:37
[Update] I've since compiled successfully and anyone else chasing these binaries can download from here I'm compiling version 2.06 of lzo by issuing the following command from the Visual Studio Command Prompt (2010) b\win64\vc_dll.bat which produces lzo2.dll without any errors, however this doesnt look like it really did produce the 64-bit dll as my 32bit C# app can still reference and call methods (successfully) How can I compile the 64bit version? some of the comments on this question may be outdated as the question changed but I since changed it back to the original question when it got

InputManager plug-ins in Snow Leopard (OS X 10.6)

风格不统一 提交于 2019-12-06 11:36:24
I'm getting conflicting reports from various places. Engadget's review says InputManager plug-ins being completely ignored (and causing strange behaviour if the application is loaded in 32-bit mode), but this mailing list thread says they will work if the 32/64-bit compatibility is right. So I have two questions: Do we get to use InputManagers in Snow Leopard? If yes, will it work the same way as in Leopard. And if no, what is good a workaround (because 1Password is apparently working on a fix)? If you really need to inject code into applications to accomplish what you're trying to do, use

From a programming point of view, what does it mean when a program is 32 or 64 bit?

断了今生、忘了曾经 提交于 2019-12-06 11:11:18
I'm a beginner programmer in my first year of Computer Science. I'm curious about the 32 bit and 64 bit systems, and how it affects developing software. When I download software I need to choose between the two, while other software only has a 32 bit version. Are there different ways of programming for a 64 bit system? Is it compiled in the same way? What are the main benefits of a separate 64 bit app? Cheers Generally speaking the main benefit of 64 bit application is that it has access to more memory. Having 32 bit pointer you can access only 4GB of memory. Most modern compilers have option

Analyze 64-bit DLL from within T4 template in Visual Studio (32-bit) using Reflection

家住魔仙堡 提交于 2019-12-06 10:51:06
问题 I would like to analyse a DLL from within a T4 template using Reflection, so that I can generate code based on the results of the reflection analysis. I know EnvDTE would be a better option, but this is not possible in my case for several reasons. The problem with reflection is that the DLL is a 64-bit DLL and if I load that within the T4 template I get a BadImageFormatException because I am trying to load a 64-bit DLL into a 32-bit process (Visual Studio 2012). Is there any way to analyse