32bit-64bit

Powershell - Assembly binding redirect NOT found in application configuration file

对着背影说爱祢 提交于 2019-12-04 00:18:46
问题 Got a problem here... I have got a Powershell CmdLet that works when running in 32-bit mode and fails in 64-bit mode. Question is what the cause is and how it can be fixed. Situation Powershell CmdLet that references 'OutlookHelper.Common.dll'. Newest version is 2.0.0.0 The CmdLet also uses logging and references 'Logging.dll'. Logging.dll also references 'OutlookHelper.Common.dll', only was compiled against version 1.0.0.0. How I made it work, this works partially Using an assembly binding

Blend “Window is not supported in a WPF Project”

依然范特西╮ 提交于 2019-12-03 23:26:19
I am having a frustrating time with Blend reporting "Window is not supported in a Windows Presentation Foundation (WPF) project." due to unbuildable configurations but can't quite work out how to mangle my way out of it. I've worked out it is probably due to my trying to have a single solution with x86 and x64 configurations. There is no way to tell Blend 2 which is the active Solution Configuration and active Solution Platform . I think it's a bit of a weakness in the configuration system, or maybe the way I've set things up, but I have Debug64 and Debug solution configurations one of each is

How do I install both 32-bit and 64-bit versions of a COM DLL and “auto-select”?

天涯浪子 提交于 2019-12-03 20:05:22
问题 We've got a DLL (a COM server) that will compile fine in 32-bit and 64-bit, but the DLL uses the same CLSID and AppID for the 32-bit version and the 64-bit version. Is this OK or does this have to change? I'm asking this because apparently on a 64-bit machine, we can't register the 32-bit version and the 64-bit version together. It would be nice if 32-bit client applications could automatically use the 32-bit DLL, and 64-bit client applications could automatically use the 64-bit DLL. On a

matrix multiplication in swift using Accelerate framework 32 bit vs 64 bit

纵然是瞬间 提交于 2019-12-03 17:25:37
I am trying to do matrix multiplication in Swift using the Accelerate framework. Used the vDSP_mmulD. This worked perfectly in the iPhone6 , 6 plus, iPad Air simulator (all 64 bit architecture) but did not work with any of the 32 bit architecture devices. It sees like vDSP_mmulD is not recognized by the 32 bit architecture and the program does not build. Error message displayed is "use of unresolved identifier 'vDSP_mmulD'" Has anybody else seen this error? Please let me know your thoughts. I am using Xcode 6.1. Thanks. Simple solution: use cblas_dgemm instead (also part of Accelerate). It's

Find bitness (32-bit/64-bit) from Excel Application object?

老子叫甜甜 提交于 2019-12-03 16:46:39
Is it possible to determine whether Excel is running in 32-bit or 64-bit from the Microsoft.Office.Interop.Excel.ApplicationClass? Edit The solution should work for both Excel 2010 and Excel 2007 This code should give you the "bitness" of Excel. Microsoft.Office.Interop.Excel.ApplicationClass app = new Microsoft.Office.Interop.Excel.ApplicationClass(); if (System.Runtime.InteropServices.Marshal.SizeOf(app.HinstancePtr) == 8) { // excel 64-bit } else { // excel 32-bit } EDIT: here is another version that should work for previous versions of Excel as well. Just pass an ApplicationClass reference

What is PnPUtil.exe location in 64bit systems?

送分小仙女□ 提交于 2019-12-03 16:23:08
I would like to install my USB device driver [.inf file] using PnPUtil.exe utility on both 32bit and 64bit systems for Windows Vista and Windows 7. I tested on my machine [Windows 7 32bit] and everything was fine because PnpUtil.exe is located in: C:\Windows\System32\PnPUtil.exe . But in 64bit Windows 7 the utility is not in this directory. When I tried installing driver on different Windows 7 - 64bit machine I could found PnPUtil.exe in this location: C:\WIndows\winsxs\amd64_microsoft-windows-pnputil_31bf3856ad364e35_6.1.7600.16385_none_5958b438d6388d15\pnputil.exe and the test was also fine.

Build 32-bit with 64-bit llvm-gcc

强颜欢笑 提交于 2019-12-03 16:10:45
问题 I have a 64-bit version of llvm-gcc, but I want to be able to build both 32-bit and 64-bit binaries. Is there a flag for this? I tried passing -m32 (which works on the regular gcc), but I get an error message like this: [jay@andesite]$ llvm-gcc -m32 test.c -o test Warning: Generation of 64-bit code for a 32-bit processor requested. Warning: 64-bit processors all have at least SSE2. /tmp/cchzYo9t.s: Assembler messages: /tmp/cchzYo9t.s:8: Error: bad register name `%rbp' /tmp/cchzYo9t.s:9: Error

64-bit Windows API: what is the size of a C/C++ “DWORD”?

徘徊边缘 提交于 2019-12-03 15:33:28
问题 I only have 32-bit Windows installed, so I cannot verify this myself. If I understand correctly, the DWORD used in various places in the Microsoft API is in reference to the original 16-bit word, and has nothing to do with the current hardware architecture? So DWORD which seems to be 32 bits, will remain 32 bits even when I eventually compile and link my app to run in 64-bit Windows? Or will DWORD become 128 bits wide? 回答1: The only thing that changes size between 32 and 64 are pointers. So

How to deploy a desktop JavaFx 2.0 application correctly using jnlp for 32 and 64 bit?

纵饮孤独 提交于 2019-12-03 15:13:06
I have a jnlp file for deploying my javafx 2.0 application, however, how do I make sure that the users have the correct javafx runtime (32 or 64 bit depending on the jvm present on the machine) and if not, download it and run the application. Assuming that the user does not have a javafx runtime currently installed, the problems that I'm facing mostly with a 64 bit machine with either 32-bit, 64-bit or both JRE's are: 1) The Javafx swing deployment guide mentions to use the <jfx:javafx-runtime version /> tag to download the appropriate jfx runtime, but JRE below 1.7 doesn't understand this tag

Eclipse Kepler freezes on 64 bit ubuntu

烈酒焚心 提交于 2019-12-03 15:11:44
问题 I just upgraded my Ubuntu to 14.04 a few days ago and in the process switched from 32 to 64 bits. Ever since, Eclipse has gotten really unstable. After having run for a few minutes it will start randomly freezing for longer and longer periods of time, particularly on code completion (already had to disable that), but also on cut/pasting, occasionally on saving, and sometimes for no apparent reason at all. During the freezes it pumps both CPUs to 100%. Sometimes it then comes back as if