32bit-64bit

Can you run a 32 bit Cygwin application in a 64 bit installation?

耗尽温柔 提交于 2019-12-29 09:25:07
问题 Is it possible to run a 32-bit Cygwin application in a 64-bit installation? Motivation: As discussed in Where's the rxvt-native utility gone in cygwin 1.7.26 for 64bit windows?, rxvt-native , my favourite terminal emulator in Windows, is not currently available in 64 Cygwin. My hope is that just like I can run 32-bit Linux applications on 64-bit Linux distros, maybe I could run the 32-bit rxvt on 64-bit Cygwin. I have tried copying the executable from my old PC's C:\cygwin\bin directory to my

Will a Visual Basic 6 program run on a 64-bit machine?

核能气质少年 提交于 2019-12-29 07:35:17
问题 I have a program built with VB6 and using some 32-bit DLL's. Will this program run on a 64-bit machine? This page suggests that it should run fine on the Windows on Windows layer, but what about the DLL's? 回答1: Yes , both the VB 6 program and the DLLs will work just fine on a 64-bit version of Windows. Since both are 32-bit, they will run under the Windows-on-Windows 64 (WoW64) subsystem, which effectively emulates a 32-bit operating system on the 64-bit versions of Windows. I've run many

How can I call a 32-bit DLL from 64-bit code?

安稳与你 提交于 2019-12-29 07:32:06
问题 I have some 32-bit DLLs that don't have matched 64-bit DLLs. How can I invoke these DLLs from a 64-bit application written in Delphi XE2? 回答1: No, you cannot directly do this. A 64 bit process can only execute 64 bit code, and a 32 bit process can only execute 32 bit code. The trick is to use multiple processes.... (Note this can be done for non visual code, and even for GUI elements, though there can be some small but problematic behaviors for visual elements.) The most common solution is to

How to use the correct unmanaged DLL file according CPU architecture? (32 / 64 bits)

元气小坏坏 提交于 2019-12-29 06:23:14
问题 I have to use a C++ DLL file from an ASP.NET site. The site will be hosted on both 32 and 64 bits environments. I have a 32 and 64 bits version of the unmanaged DLL file. How do I import the methods from the correct one according the current server architecture? Like someone posted, this could be handled as a deployment problem. My concern is: the web application consuming this DLL file is huge, and we don't have a deployment document. No one will remember to deploy the correct DLL file, so I

Performance problem with Euler problem and recursion on Int64 types

旧街凉风 提交于 2019-12-29 05:59:10
问题 I'm currently learning Haskell using the project Euler problems as my playground. I was astound by how slow my Haskell programs turned out to be compared to similar programs written in other languages. I'm wondering if I've forseen something, or if this is the kind of performance penalties one has to expect when using Haskell. The following program in inspired by Problem 331, but I've changed it before posting so I don't spoil anything for other people. It computes the arc length of a

Performance problem with Euler problem and recursion on Int64 types

。_饼干妹妹 提交于 2019-12-29 05:58:50
问题 I'm currently learning Haskell using the project Euler problems as my playground. I was astound by how slow my Haskell programs turned out to be compared to similar programs written in other languages. I'm wondering if I've forseen something, or if this is the kind of performance penalties one has to expect when using Haskell. The following program in inspired by Problem 331, but I've changed it before posting so I don't spoil anything for other people. It computes the arc length of a

How can I control the size and position of a new process Window from a WinForms app?

时光总嘲笑我的痴心妄想 提交于 2019-12-29 05:35:12
问题 My WinForms app uses Process.Start() to open files in their native app. I want to split the screen in half, showing my WinForms app on one half and the new process on the other. I know I can use Process.MainWindowHandle to get the window handle, but how can I set its size and position? I imagine I have have to use some kind of Windows API, but which one and how? Since this is not really "in my wheelhouse", I am unsure of whether (and how) I need to use different APIs on 64bit Windows. 回答1:

how to make VBA code compatible for office 2010 - 64 bit version and older office versions

戏子无情 提交于 2019-12-29 04:55:06
问题 I have observed an issue with below function call when we migrated to office 2010-64 bit version. Private Declare Sub CopyMem Lib "kernel32" Alias "RtlMoveMemory" (Destination As Any, Source As Any, ByVal Length As Long) According to information available on http://msdn.microsoft.com/en-us/library/ee691831.aspx link. I have changed above call as below and it has been working fine on office 2010 64 bit version. Private Declare PtrSafe Sub CopyMem Lib "kernel32" Alias "RtlMoveMemory"

Installed jvm is 64 bit or 32 bit [duplicate]

三世轮回 提交于 2019-12-29 04:43:26
问题 This question already has answers here : How can I tell if I'm running in 64-bit JVM or 32-bit JVM (from within a program)? (11 answers) Closed 6 years ago . How can I identity whether the installed version of Java is 64 bit or 32 bit ? 回答1: You can get the os.arch property: String osArch = System.getProperty("os.arch"); This will tell you the architecture of the OS, so not exactly the one of the VM. Sun's JREs have the following properties (values from my machine) that may be useful: sun

32-bit Text drivers (Microsoft Access , Microsoft Excel and Text files ) from a 64 bit application on windows 7

余生长醉 提交于 2019-12-28 06:27:24
问题 Hi i have an application developed on XP with Text ODBC drivers. But when i deployed on Win 7 with office 2007, i have connection issues. <add key="SQLConnection.TextConnectionString" value="Driver={Microsoft Text Driver (*.txt; *.csv)};Dbq=c:\Data\;Extensions=asc,csv,tab,txt;Persist Security Info=False" /> ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified i have googled every solutions like installing the following http://blogs.msdn.com