32-bit

Java 7 on 32-bit Windows 7 - Java Webstart - Unable to load resource

微笑、不失礼 提交于 2019-11-27 18:44:34
问题 Java 7 on 32-bit Windows 7 - Java Webstart - Unable to load resource I can't launch any java webstart application on a 32-bit Windows 7 system. E.g. ArgoUML - http://argouml-downloads.tigris.org/jws/argouml-latest-stable.jnlp Everything works fine with Java 6, but with Java 7 I get this kind of errors: Unable to load resource: java.io.IOException: Error writing to server or java.net.SocketException: Connection reset Java version: Java Web Start 10.7.2.11 Using JRE version 1.7.0_07-b11 Java

32 bit dll in Office 64 bit

亡梦爱人 提交于 2019-11-27 16:47:08
问题 I understand that I cannot load a 32 bit dll in a 64 bit process. I have a 32 bit dll (VB6 component), with no source code, that is loaded in an Excel automation macro. What are my options? 回答1: 32-bit add-ins are not supported on 64-bit. Microsoft recommends to use the 32-bit version of Office unless you run into the memory limitations of a 32-bit process which is only likely to happen if you need to deal with extremely large spreadsheets: The recommendations for which edition of Office 2010

How do I detect whether 32-bit Java is installed on x64 Windows, only looking at the filesystem and registry?

六眼飞鱼酱① 提交于 2019-11-27 14:33:58
问题 I need to determine whether a particular system has 32-bit Java installed. I'm doing a remote query that only gives me access to the filesystem and registry, so I cannot attempt to run java.exe, or run any Java code. I also want to make sure I detect both IBM and Sun Java, as well as any other distributions, which seem to put things in different places on the filesystem and in the registry. The best I've come up with is to check for C:\Windows\SysWOW64\java.exe. Is this a reliable way to test

What is the maximum memory available to a C++ application on 32-bit Windows?

Deadly 提交于 2019-11-27 14:25:24
Just wondering if there is a restriction on the max memory that a C++ application uses I understand that this is 2GB - Is that correct? If a C++ app tries to request more then 2GB memory does this cause a memory crash? Final question - If the machine the C++ app is running on is already low on memory and a C++ app asks for 100MB of array (ie contiguous memory) will the OS accommodate this by using virtual memory? It will cause a dynamic memory allocation failure, which usually will make the resultant application crash, but technically, an application could be written to withstand this event.

Memory alignment on a 32-bit Intel processor

谁说我不能喝 提交于 2019-11-27 13:18:19
Intel's 32-bit processors such as Pentium have 64-bit wide data bus and therefore fetch 8 bytes per access. Based on this, I'm assuming that the physical addresses that these processors emit on the address bus are always multiples of 8. Firstly, is this conclusion correct? Secondly, if it is correct, then one should align data structure members on an 8 byte boundary. But I've seen people using a 4-byte alignment instead on these processors. How can they be justified in doing so? jalf The usual rule of thumb (straight from Intels and AMD's optimization manuals) is that every data type should be

Size of pid_t, uid_t, gid_t on Linux

我的梦境 提交于 2019-11-27 12:20:55
On Linux systems (either 32- or 64-bit), what is the size of pid_t , uid_t , and gid_t ? Dave #include <stdio.h> #include <sys/types.h> int main() { printf("pid_t: %zu\n", sizeof(pid_t)); printf("uid_t: %zu\n", sizeof(uid_t)); printf("gid_t: %zu\n", sizeof(gid_t)); } EDIT: Per popular request (and because, realistically, 99% of the people coming to this question are going to be running x86 or x86_64)... On an i686 and x86_64 (so, 32-bit and 64-bit) processor running Linux >= 3.0.0, the answer is: pid_t: 4 uid_t: 4 gid_t: 4 On intel architectures, sizes are defined in /usr/include/bits

How to run 32-bit Java on Mac OSX 10.7 Lion

女生的网名这么多〃 提交于 2019-11-27 11:36:15
From my experience with Windows 7 (64-bit) and Java, a 32-bit JRE uses less memory and runs significantly faster than a 64-bit JRE (provided you don't need or benefit from having a lot of memory). I imagine the same thing is true for Mac OSX (and other platforms) as well. I am currently running OSX Lion (v10.7), and I have installed the standard Java app. Under Java Preferences, I see "Java SE 6" from "Apple Inc." for both CPU-types "32-bit" and "64-bit" version "1.6.0_26-b03-383". I have changed the preferred order to put the 32-bit version on top of the 64-bit version, hoping that this would

Check if unmanaged DLL is 32-bit or 64-bit?

白昼怎懂夜的黑 提交于 2019-11-27 10:44:26
How can I programmatically tell in C# if an unmanaged DLL file is x86 or x64? yoyoyoyosef Refer to the specifications . Here's a basic implementation: public static MachineType GetDllMachineType(string dllPath) { // See http://www.microsoft.com/whdc/system/platform/firmware/PECOFF.mspx // Offset to PE header is always at 0x3C. // The PE header starts with "PE\0\0" = 0x50 0x45 0x00 0x00, // followed by a 2-byte machine type field (see the document above for the enum). // FileStream fs = new FileStream(dllPath, FileMode.Open, FileAccess.Read); BinaryReader br = new BinaryReader(fs); fs.Seek(0x3c

Processor, OS : 32bit, 64 bit

倾然丶 夕夏残阳落幕 提交于 2019-11-27 10:13:45
I am new to programming and come from a non-CS background (no formal degree). I mostly program winforms using C#. I am confused about 32 bit and 64 bit.... I mean, have heard about 32 bit OS, 32 bit processor and based on which a program can have maximum memory. How it affects the speed of a program. There are lot more questions which keep coming to mind. I tried to go through some Computer Organization and Architecture books. But, either I am too dumb to understand what is written in there or the writers assume that the reader has some CS background. Can someone explain me these things in a

Linking 32-bit library to 64-bit program

夙愿已清 提交于 2019-11-27 09:13:23
I have a 32-bit .so binary-only library and I have to generate 64-bit program that uses it. Is there a way to wrap or convert it, so it can be used with 64-bit program? No. You can't directly link to 32bit code inside of a 64bit program. The best option is to compile a 32bit (standalone) program that can run on your 64bit platform (using ia32) , and then use a form of inter-process communication to communicate to it from your 64bit program. Zan Lynx For an example of using IPC to run 32-bit plugins from 64-bit code, look at the open source NSPluginWrapper . It is possible, but not without some