64-bit

Delphi XE2: Debug a 64 bit dll through a 64 bit app

感情迁移 提交于 2019-12-14 00:42:57
问题 Has anyone had success in debugging a 64 bit dll by running/attaching to a 64 bit application? I have Delphi code for both the application and the dll. I can debug the application in 32 bit and 64 bits. I can also debug the 32 bit dll by using Run -> Parameters to select the 32 bit version of the app. However, I cannot appear to debug my 64 bit dll by running the 64 bit app, has anyone got this to work? 回答1: As per @evdkraan's answer "Steve, there is a bug in XE2 with 64bit debugging when

Efficient Conversion of a Binary Number to Hexadecimal String [closed]

血红的双手。 提交于 2019-12-13 22:37:52
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 2 years ago . I am writing a program that converts a binary value's hexadecimal representation to a regular string. So each character in the hex representation would convert to two hexadecimal characters in the string. This means the result will be twice the size; a hexadecimal representation of 1 byte would

Purpose of “Target machine” field in Visual studio -> Linker-> Advanced Options->Target Machine

廉价感情. 提交于 2019-12-13 21:13:23
问题 I'm porting a 32-bit C++ app to 64-bit (using VS2008). I'm not sure what does this field mean in the VS2008 :: Visual studio ->Configuration Properties-> Linker-> Advanced Options->Target Machine. By default it's value is set to " Not set ". Is it compulsory to change it's value to "MACHINEx64" if I want my application to be ported to 64-bit executable. 回答1: Yes, this is a very important option. It sets the IMAGE_FILE_HEADER.Machine field in the executable file. The very first field of the

Why does Java Web Start not work with 64-bit Java environments?

两盒软妹~` 提交于 2019-12-13 17:15:28
问题 Java Web Start does not come with 64-bit builds of the JDK. Why is this? What is lacking that keeps it from building and working? 回答1: Thought you'd might want to know the new update is out: http://java.sun.com/javase/6/webnotes/6u12.html 64-Bit Browser Support for Java Plugin and Java Webstart This release supports the New Java Plugin and Java Webstart on AMD64 architecture, on Windows platforms. A Java offline installer (JRE and JDK) is provided. Note, if you use 32-bit and 64-bit browsers

What is the availability of 'vector long long'?

China☆狼群 提交于 2019-12-13 16:50:50
问题 I'm testing on an old PowerMac G5, which is a Power4 machine. The build is failing: $ make ... g++ -DNDEBUG -g2 -O3 -mcpu=power4 -maltivec -c ppc-simd.cpp ppc-crypto.h:36: error: use of 'long long' in AltiVec types is invalid make: *** [ppc-simd.o] Error 1 The failure is due to: typedef __vector unsigned long long uint64x2_p8; I'm having trouble determining when I should make the typedef available. With -mcpu=power4 -maltivec the machine reports 64-bit availability: $ gcc -mcpu=power4

“Access is denied” by executing .hta file with JScript on Windows XP x64

最后都变了- 提交于 2019-12-13 16:26:41
问题 I have a simple HTML (as HTA) application that shows strange behavior on Windows XP x64 machine. I getting periodically (not every time) error message "Access is denied." when I start the application. The same application on Windows XP 32bit runs just fine... Does somebody has any idea or explanation? Error message: Line: 18 Char: 6 Error: Access is denied. Code: 0 URL: file:///D:/test_j.hta Here is the code of my "test_j.hta": <html> <head> <title>Test J</title> <HTA:APPLICATION ID="objTestJ

Have visual studio copy x64 DLL or x86 DLL when building a C# project

你说的曾经没有我的故事 提交于 2019-12-13 16:20:01
问题 We're building a C# app that uses an external DLL for Sqlite.NET. This is a .NET dll but it embeds a C dll inside it and so it comes in x86 and x64 flavours. We add a reference to the x86 version in the project so when we build and run on x86 it's fine. Visual studio copies the dll to the bin folder and runs. On x64 it still copies the x86 version of course and then when it runs it fails to load it. We get round this by temporarily setting our project to be x86 only, but ideally we'd like to

Error “error A2009: syntax error in expression” when building OpenSSL x64 static libs

帅比萌擦擦* 提交于 2019-12-13 15:24:39
问题 I need the static libs of Openssl. I followed the instructions from here. The steps I did were as follows: Run the "Visual Studio 2008 x64 Cross Tools Command Prompt". Execute perl Configure VC-WIN64A no-shared no-idea Execute ms\do_win64a Edited ms\nt.mak and change "32" to "64" in the output dirs. Execute nmake -f ms\nt.mak After doing all this, I get an error on the 5th step: Assembling: tmp32\md5-x86_64.asm tmp32\md5-x86_64.asm(8) : error A2009: syntax error in expression tmp32\md5-x86_64

How to get a 64 bit integer hash from a string in PHP?

给你一囗甜甜゛ 提交于 2019-12-13 14:28:37
问题 I need 64 bit integer hashes of strings for something like a hash map. It seems to me like there is no native PHP hash functionality that can return 64 bit integers? I think it is possible to take the first part of a sha1 hash and convert it to an integer. However that will not bring the best performance and the conversion seems to be tricky. Of course it would be nice to use native PHP functions without installations. 回答1: I tried a lot, especially to convert a full 64 bit hex string to an

Using a 32bit COM object in a 64bit environment

人走茶凉 提交于 2019-12-13 14:06:06
问题 I'm using powershell 3 on Win7/64bit . I am trying to use .net of excel (32bit) with this command : [microsoft.office.interop.excel.xlfileformat] And I got this error: unable to find type microsoft.office.interop.excel.xlfileformat: make sure that the assembly containing this type is loaded. I didn't have this error before when I used Win7/32bit. Maybe someone know how to fix that? 回答1: You need to load the Excel interop assembly like so: Add-Type -AssemblyName Microsoft.Office.Interop.Excel