64-bit

Heap fragmentation in 64 bit land

折月煮酒 提交于 2019-12-18 19:17:39
问题 In the past, when I've worked on long-running C++ daemons I've had to deal with heap fragmentation issues. Tricks like keeping a pool of my large allocations were necessary to keep from running out of contiguous heap space. Is this still an issue with a 64 bit address space? Perf is not a concern for me, so I would prefer to simplify my code and not deal with things like buffer pools anymore. Does anyone have any experience or stories about this issue? I'm using Linux, but I imagine many of

Can a VB6 component be compiled to 64 bit?

人走茶凉 提交于 2019-12-18 19:09:22
问题 Is there a way to compile a VB6 component into 64 bits? My feeling is that the answer is "no", but I would like to confirm this. Please, if you can, paste a link to an authorative source that would confirm. 回答1: No. I hope this counts as authoritative. 64-Bit Windows Visual Basic 6.0 runtime files are 32-bit. These files ship in 64-bit Windows Operating Systems referenced in the table below. 32-bit VB6 applications and components are supported in the WOW emulation environment only. 32-bit

NUnit "could not load file or assemby 'MyTestProject'

泄露秘密 提交于 2019-12-18 18:49:37
问题 I'm setting up a new 64 bit machine to run as a build server. When I try to load my NUnit test assembly into NUnit GUI I get the following error. There is nothing obvious missing, all the dependencies seem to be present. All the DLLs are compiled for the x86 platform. Using NUnit 2.4.7. I have tried upgrading to 2.4.8 but the same error occurs. System.IO.FileNotFoundException: Could not load file or assembly 'MyTestProject' or one of it's dependencies. The system cannot find the file

How do I prepare my app for the 64 bit version for React Native?

烈酒焚心 提交于 2019-12-18 17:00:54
问题 Here is my build.gradle: apply plugin: "com.android.application" import com.android.build.OutputFile /** * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets * and bundleReleaseJsAndAssets). * These basically call `react-native bundle` with the correct arguments during the Android build * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the * bundle directly from the development server. Below you can see all

cannot load shared library that exists in /usr/local/lib (Fedora x64)

我只是一个虾纸丫 提交于 2019-12-18 15:54:10
问题 When attempting to run a program I just compiled successfully, I get the following error: ./src/sensors/laser_scan_producer: error while loading shared libraries: liblcm.so.1 : cannot open shared object file: No such file or directory ls /usr/local/lib/liblcm* yields /usr/local/lib/liblcm.la /usr/local/lib/liblcm.so /usr/local/lib/liblcm.so.1 /usr/local/lib/liblcm.so.1.2.0 I have executed sudo ldconfig several times and added /usr/local/lib to LD_LIBRARY_PATH for the sake of redundancy. This

How can I tell if I'm running on x64?

送分小仙女□ 提交于 2019-12-18 15:36:27
问题 I just got a bug report for an issue that only occurs when the program is running "on a 64-bit machine." Now, Delphi doesn't produce 64-bit code, so theoretically that shouldn't matter, but apparently it does in this case. I think I have a workaround, but it will break things on 32-bit Windows, so I need some way to tell: If I'm running on a x64 or an x86 processor and If I'm running under a 64-bit version of Windows under Win32 emulation or native Win32 on a 32-bit OS. Does anyone know how I

How can a moderately sized memory allocation fail in a 64 bit process on Mac OS X?

纵饮孤独 提交于 2019-12-18 14:54:14
问题 I'm building a photo book layout application. The application frequently decompresses JPEG images into in-memory bitmap buffers. The size of the images is constrained to 100 megapixels (while they usually do not exceed 15 megapixels). Sometimes memory allocations for these buffers fail: [[NSMutableData alloc] initWithLength:] returns nil . This seems to happen in situations where the systems's free physical memory approaches zero. My understanding of the virtual memory system in Mac OS X was

Accessing 64 bit registry from 32 bit application

眉间皱痕 提交于 2019-12-18 14:15:10
问题 I need to open a registry entry "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{26A24AE4-039D-4CA4-87B4-2F86416024FF}" in c++. It contains the java 64 bit application. The full path of that registry entry is "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{26A24AE4-039D-4CA4-87B4-2F86416024FF}" . We can view this path through regedit. I use returnStatus = RegOpenKeyEx(HKEY_LOCAL_MACHINE, TEXT("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\

Error using oracle.dataaccess.dll

岁酱吖の 提交于 2019-12-18 13:25:45
问题 I have a web application which uses Oracle.DataAccess.dll to communicate with an Oracle db. The web application deployed on 32 bit windows system works but not on windows server 2008 64 bit. I installed 10204_vista_win2k8_x64_production_db package, referenced the installed dll (version 2.102.4.0) from the project but I get the following error: Could not load file or assembly 'Oracle.DataAccess, Version=2.102.4.0, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies.

How to get Python to use Assembly

空扰寡人 提交于 2019-12-18 13:19:24
问题 I am a beginner in assembly, but a master in Python. I have just recently started to learn x86_64 NASM for windows, and I wish to combine the power of assembly, and the flexibility of Python. I have looked all over, and I have not found a way to use a NASM assembly procedure from within Python. By this I do not mean in-line assembly. I wish to write an assembly program, compile it, and then somehow extract the procedure to use in my Python program. Can someone illustrate a simple example of