32bit-64bit

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

房东的猫 提交于 2019-12-10 11:14:10
问题 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 ? 回答1: 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

Shared libraries - Java 32 bit on 64bit Ubuntu

心不动则不痛 提交于 2019-12-10 10:33:21
问题 I am trying to run a Bioinformatics program for MRS spectrosopy analysis called "jMRUI". The executable for this program is a .sh with the following code: java -Xss2m -mx1200m -Djava.library.path=lib -jar lib/mrui.jar I have both the 64bit and 32bit JDK 1.8 installed on my PC at the directory /usr/lib/jvm/. 64bit found at: /usr/lib/jvm/jdk1.8.0_x64/bin/java 32bit found at: /usr/lib/jvm/jdk1.8.0_x86/bin/java The pointer symbolic link at /usr/bin/java points to /etc/alternatives/java which

Proper way to make a fat binary prefer to be 32bit on 64bit OS X 10.6?

Deadly 提交于 2019-12-10 10:24:38
问题 Suppose I ask the user "do you want to run in 32bit mode or 64bit mode" and they pick 32bit. How do I register this fact with the operating system? I've looked at the arch command, but I don't want to have to write a script that wraps the binary. I suspect there is a plist-y way to do this, but I can't find documentation (other than arch). 回答1: Try using this Info.plist key, LSArchitecturePriority: <key>LSArchitecturePriority</key> <array> <string>i386</string> <string>x86_64</string> <string

Why is %1 rarely substituted in “%1 is not a valid Win32 application.”

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-10 09:41:48
问题 I'm sure most Windows developers are familiar with this error message, usually when trying to mix 32- and 64-bit executables. In particular Python and Java can both get it. %1 is not a valid Win32 application. It's clear that %1 represents the first argument to the failing command - i.e. the executable that is trying to be loaded - but why does it not get filled in with the actual path? Is it something that the caller is doing wrong, or is it a basic failing of some Windows subsystem that

How to develop to take advantage of 64 bit systems?

早过忘川 提交于 2019-12-10 03:42:00
问题 Is there any specific sectors of Software Engineer/Computer Science where there's a marked difference when developing for 64 bit systems? I've been coding for around 10 years now, and since the break of 64 bit systems, my code hasn't changed one bit. What applications that a single coder can code as a side project require you to use 64 bit technology? 回答1: Anything that requires more than 4 GB of working and program memory would certainly qualify, since that is the maximum amount of memory

32-bit pointers with the x86-64 ISA: why not?

試著忘記壹切 提交于 2019-12-10 02:59:01
问题 The x86-64 instruction set adds more registers and other improvements to help streamline executable code. However, in many applications the increased pointer size is a burden. The extra, unused bytes in every pointer clog up the cache and might even overflow RAM. GCC, for example, builds with the -m32 flag, and I assume this is the reason. It's possible to load a 32-bit value and treat it as a pointer. This doesn't necessitate extra instructions, just load/compute the 32 bits and load from

Forcing a Cocoa application to start in 32-bit mode programatically

最后都变了- 提交于 2019-12-10 02:23:26
问题 I have a Cocoa application that usually runs in full 64-bit mode on any Mac that supports this architecture. Now I have an external API that is only available as a 32-bit plug-in to be loaded into the main program. This API is for a third-party input device that only a small percentage of my users will ever purchase, but that is important for that small percentage. My problem is that the program can only use this API if executed in 32-bit mode. The easiest thing to do is of course to:

Error code 5100 when installing .NET framework as part of a ClickOnce application deployment via Visual Studio 2010

痞子三分冷 提交于 2019-12-10 01:16:09
问题 Inside Visual Studio 2010, I've set my application to target version 4 of the .NET Framework and for "All CPUs". As some of our users are 64-bit while others are 32-bit, I assume one would choose All CPUs. Is that correct? On a particular user's 32-bit Windows 7 SP1 machine, the framework installation (via ClickOnce) is failing with an error code 5100, which according to this MSDN article, indicates that The user's computer does not meet system requirements . The user's PC is 32-bit Windows 7

Is it possible to set the install mode in Inno Setup (32 or 64 bit)?

房东的猫 提交于 2019-12-09 20:23:12
问题 I know that the directive ArchitecturesInstallIn64BitMode=x64 ia64 can be set, so that Inno Setup will decide on the processor type and install in 64 bit if its possible. But I need some [Code] section function to set the install mode (32 or 64). Is it even possible? Example: This function will return the Java installation architecture (32 or 64): function CheckJavaInstallation() According to the result I want to set Inno Setup to the correct install mode -> Selection of the correct Program

Why do I get nonsense from GetModuleFileNameEx on 64-bit Windows 8?

我的梦境 提交于 2019-12-09 18:36:38
问题 I have this function NazwaProcesu(const uchwyt: Thandle): string; var pid: DWORD; hProcess: Thandle; sciezka: array [0..MAX_PATH - 1] of char; begin GetWindowThreadProcessId(uchwyt, pid); hProcess := OpenProcess(PROCESS_QUERY_INFORMATION or PROCESS_VM_READ, FALSE, pid); if hProcess <> 0 then try GetModuleFileNameEx(hProcess, 0, sciezka, MAX_PATH) finally Result := sciezka; CloseHandle(hProcess); end; end; On windows 7 32 bit no problems. On Win 8 x64 i have this: where last 3 entries should