32-bit

.net console app 32 vs 64 bit

大城市里の小女人 提交于 2019-12-23 07:45:51
问题 Does a application in .NET need to be built in 64 bit to take full advantage of a machine with a 64 bit OS on it, or will it take advantage of it just as a 32 bit build. Basically, we have an issue with an out of memory exception and it was suggested to run the console app on a 64 bit box which "may" solve the issue. The question is can we just spin up a 64 box and throw the current app on it or do I need to rebuild the app in a 64 bit way. 回答1: If your app is configured to build for the "Any

How did I store a BIGINT number in a 32-bit OS

倾然丶 夕夏残阳落幕 提交于 2019-12-23 06:21:22
问题 I am running a LAMP stack on a raspberry pi 3 (64-bit SoC) with 32-bit PIXEL OS (a Raspbian version). I created a new table in MySQL and I set the Primary Key as unsigned BIGINT(20). Initially I thought that the database will just truncate the overflowing digits or something but it can actually store bigger numbers than ~4 billion. To be more precise I stored the number 5201702020. How is that possible? 回答1: Looking in the MySQL source code, I found at least 4 references to BIGINT: 1) "BIGINT

32-bit or 64-bit application on 64-bit OS?

你离开我真会死。 提交于 2019-12-22 06:03:19
问题 We are developing a swing application written by Java which requires only about 128MB memory, and in the short future I don't see it will require much more memory like 4GB. Previously we provide always 3 different releases, one for 32-bit Windows, one for 32-bit Linux and another for 64-bit Linux, with an installer which has JRE included. The 64-bit version was not used by anyone until couple of weeks ago, and an OutOfMemoryException was reported because the application consumes about 40-50%

32-bit or 64-bit application on 64-bit OS?

谁说胖子不能爱 提交于 2019-12-22 06:01:33
问题 We are developing a swing application written by Java which requires only about 128MB memory, and in the short future I don't see it will require much more memory like 4GB. Previously we provide always 3 different releases, one for 32-bit Windows, one for 32-bit Linux and another for 64-bit Linux, with an installer which has JRE included. The 64-bit version was not used by anyone until couple of weeks ago, and an OutOfMemoryException was reported because the application consumes about 40-50%

Running 32-bit dll on 64-bit machine in java

主宰稳场 提交于 2019-12-22 06:01:31
问题 I am attempting to use a 3rd-party dll for a program I am writing in java. Unfortunately, it only has 32-bit support. When I attempt to load the dll in a 64-bit VM, I get the following error: Can't load IA 32-bit .dll on a AMD 64-bit platform I have tried running in a 32-bit VM, which works in eclipse, but when I export the project, I get the same error. Please help! Sincerely, Ben 回答1: You cannot use a 32-bit DLL in a 64-bit Hotspot JVM. It won't work. And I don't know of any other 64-bit

Getting Embedded with D (the programming language)

别来无恙 提交于 2019-12-20 16:59:50
问题 I like a lot of what I've read about D. Unified Documentation (That would make my job a lot easier.) Testing capability built in to the language. Debug code support in the language. Forward Declarations. (I always thought it was stupid to declare the same function twice.) Built in features to replace the Preprocessor. Modules Typedef used for proper type checking instead of aliasing. Nested functions. ( Cough PASCAL Cough ) In and Out Parameters. (How obvious is that!) Supports low level

Getting Embedded with D (the programming language)

我的未来我决定 提交于 2019-12-20 16:57:45
问题 I like a lot of what I've read about D. Unified Documentation (That would make my job a lot easier.) Testing capability built in to the language. Debug code support in the language. Forward Declarations. (I always thought it was stupid to declare the same function twice.) Built in features to replace the Preprocessor. Modules Typedef used for proper type checking instead of aliasing. Nested functions. ( Cough PASCAL Cough ) In and Out Parameters. (How obvious is that!) Supports low level

Difference between C 8 bit 16-bit 32-bit compilers [closed]

风流意气都作罢 提交于 2019-12-20 15:21:37
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . This question may be redundant, but I didn't found exact answer. What is the Difference between C 8 bit 16-bit 32-bit compilers. how

assembly system call non-effective

倖福魔咒の 提交于 2019-12-20 07:47:09
问题 I want to print AAAA with the following: BITS 32; ;write; push 0x41414141; pop ecx ; mov eax, 4 ; write is syscall 4 for Ubuntu 32-bit mov ebx, 1 ; stdout mov edx, 4 ; int 0x80 ; ;exit; mov eax, 1 ; mov ebx, 0 ; int 0x80 ; Yet, once assembled and linked this code only exits, no errors, what is wrong ? 回答1: A quick fix of your code: push 0x41414141 ; put 'AAAA' into stack memory mov ecx,esp ; pointer to the 'AAAA' mov eax, 4 ; write is syscall 4 for 32-bit Linux mov ebx, 1 ; stdout mov edx, 4

Compile Console App as 32 bit

余生颓废 提交于 2019-12-20 01:38:01
问题 I have a Windows Console Application that I need to compile as 32 bit. It's written in C# and I have all the Visual Studio 2012 updates. I've tried following several things on here, but I'm never given an option for 32 bit. How can I compile it as 32 bit? 回答1: With Visual Studio you are able to target what platform. By default it will run on "Any CPU" (read 32 or 64 bit), but you can specify if you desire. Look under Project>Properties>Build and look for the "Platform Target" property. 回答2: