32bit-64bit

I want run my visual studio in 64 bit mode

不羁的心 提交于 2019-12-06 09:34:11
I am writing my web service in .NET 3.5, in this I have to access SharePoint 2010 data, but SharePoint requires 64-bit mode for my application. Visual Studio by default in 32-bit mode. How can I run my Visual Studio 2013 in 64-bit? This is what my task manager shows: I think I need this to be 64-bit, what should I do now? Visual Studio itself is a 32-bit application and cannot be run in "64-bit mode". However, Visual Studio can create both 32-bit and 64-bit applications and the debugger can connect to both types of executables . There is no need for Visual Studio to run in a specific mode to

Shared libraries - Java 32 bit on 64bit Ubuntu

随声附和 提交于 2019-12-06 09:30:37
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 points to /usr/lib/jvm/jdk1.8.0_x64/bin/java if the 64bit version is currently selected or /usr/lib/jvm

32bit to 64bit inline assembly porting

允我心安 提交于 2019-12-06 09:12:47
I have a piece of C++ code (compiled with g++ under a GNU/Linux environment) that load a function pointer (how it does that doesn't matter), pushes some arguments onto the stack with some inline assembly and then calls that function, the code is like : unsigned long stack[] = { 1, 23, 33, 43 }; /* save all the registers and the stack pointer */ unsigned long esp; asm __volatile__ ( "pusha" ); asm __volatile__ ( "mov %%esp, %0" :"=m" (esp)); for( i = 0; i < sizeof(stack); i++ ){ unsigned long val = stack[i]; asm __volatile__ ( "push %0" :: "m"(val) ); } unsigned long ret = function_pointer(); /

launching correct installer for 32 and 64-bit apps

喜你入骨 提交于 2019-12-06 08:12:59
问题 We have an application which, for various reasons, needs to be compiled as both a 32-bit and 64-bit app. The thing is, we want to distribute both setup files (msi) on a single CD. Is there a launch condition or autorun.inf entry that we can use to know which setup.exe to launch? Or do we need to write a separate little exe that gets called by autorun, and which determines the OS, and calls the appropriate setup.exe? 回答1: There does not appear to be any 32/64bit detection support inherent in

Double-precision operations: 32-bit vs 64-bit machines

倖福魔咒の 提交于 2019-12-06 08:09:06
Why don't we see twice better performance when executing a 64-bit operations (e.g. Double precision operation) on a 64-bit machine, compared to executing on a 32-bit machine? In a 32-bit machine, don't we need to fetch from memory twice as much? more importantly, dont we need twice as much cycles to execute a 64-bit operation? “64-bit machine” is an ambiguous term but usually means that the processor's General-Purpose Registers are 64-bit wide. Compare 8086 and 8088 , which have the same instruction set and can both be called 16-bit processors in this sense . When the phrase is used in this

How to know a process of an app is 32-bit or 64-bit programmatically in Android lollipop?

北战南征 提交于 2019-12-06 06:15:52
问题 As we all know from Android 5.0.64bit support is there. I have very simple question. Can we check programmatically in what mode any application is running i.e. 32bit or 64bit? For example: I have Facebook app running on my Nexus 9, so can I check using my android app if Facebook app's process is running in 32bit mode or 64bit mode? Thanks in advance! 回答1: Try System.getProperty("os.arch") . I haven't tried it on 64-bit android, but it must return something like 'aarch64' in case of 64 bit

Using IMAGE_FILE_LARGE_ADDRESS_AWARE 32bit - 64bit

这一生的挚爱 提交于 2019-12-06 06:12:57
I learned yesterday that in DelphiXE using the compiler directive: {$SetPEFlags IMAGE_FILE_LARGE_ADDRESS_AWARE} you can access/use 4GB address space on 64bit computers even though DelphiXE compiler produces a 32bit code. I tried today DelphiXE program on 4GB machine with Windows7 and after starting the program I really get the following result: Kbytes of physical memory: ~4.000.000KB Kbytes of free physical memory: ~3.200.000KB Percent of Memory in use: ~20% Kbytes of virtual address space: ~4.000.000KB¨ Kbytes of free virtual address space: ~4.000.000KB Each time after loading several objects

I need to access a 32bit dll from a 64bit exe

☆樱花仙子☆ 提交于 2019-12-06 06:05:52
问题 I know I read all about surrogate process, and I was able to create a surrogate COM but it either all works in 32bit or all works in 64bit. What would be the correct structure? 1) 32.dll <- 64.com <- 64.exe 2) 32.dll <- 32.com <- 64.exe I tried both of the above but I did not succeed to call the 32.dll? 回答1: I'm not too informed about the surrogate COM you refer to but I've solved this problem (Using a 32bit dll from a 64bit exe) by introducing a COM object in the middle: 32.dll <-> 32bit-out

Compiling 32-bit GTK+ Applications of 64 bit Linux

Deadly 提交于 2019-12-06 05:59:18
问题 I am having some trouble compiling 32-bit GTK+ applications on 64-bit Linux, specifically Ubuntu 10.04. Compiling 64-bit GTK+ applications works fine, and everything is set up to compile 32-bit apps as well, but it doesn't work with GTK+ I have a very simple test program that I am using for trouble shooting that is simply a gtk_init and a gtk_main, which compiles fine as -m64. I am compiling with gcc 4.6.2, calling it with: gcc -m32 gtktest.c `pkg-config --cflags gtk+-2.0` `pkg-config --libs

JVM Heapsize on 32 bit OS

帅比萌擦擦* 提交于 2019-12-06 05:16:06
I am using 32 bit win.7 and using Eclipse. Also having 4GB RAM. I want to allocate my java application a maximum heapsize of around 3 GB, but I am able to allocate maximum 1.5GB through VM arguments -Xmx1056m . What should I do? If I Install a 64 bit win.7. it would be able then to allocate 3GB heapsize to my app? A regular 32-bit Windows process can only address 2GB of memory, even if you have more memory available. You can find the memory limits for different Windows versions here . Since the VM need memory for more things than just the heap, the max heap size will be slightly less than the