32bit-64bit

modules of different CPU types were found

纵饮孤独 提交于 2019-12-02 05:21:39
问题 I am just using some dlls in my program, they are listed as: OPENCV_CORE242D.DLL OPENCV_IMPROC242D.DLL VL.DLL and they all ask for a dll called "MSVCP90D.dll", which I have downloaded and put it into 2 directories: C:\Windows\System32 and C:\Windows\SysWOW64 (because I am using a 64-bit machine), as guided. Now I am using a small gadget called "Dependency Walker" and checked the dependency, it says something like this: 回答1: This link might explain some of the red lines: http://software.intel

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

只愿长相守 提交于 2019-12-02 03:14:43
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 new PC's C:\cygwin64\usr\local\bin directory but it is not able to run it. When I run the process, it

modules of different CPU types were found

折月煮酒 提交于 2019-12-02 02:45:20
I am just using some dlls in my program, they are listed as: OPENCV_CORE242D.DLL OPENCV_IMPROC242D.DLL VL.DLL and they all ask for a dll called "MSVCP90D.dll", which I have downloaded and put it into 2 directories: C:\Windows\System32 and C:\Windows\SysWOW64 (because I am using a 64-bit machine), as guided. Now I am using a small gadget called "Dependency Walker" and checked the dependency, it says something like this: This link might explain some of the red lines: http://software.intel.com/en-us/forums/topic/393036 Version 2.2.6000 of Dependency Walker does not have this issue. Get your

Apple Mach-O Linker Error when Architectures to support 64-bit added

狂风中的少年 提交于 2019-12-02 02:01:12
问题 I've been trying to enable 64-bit in my project as this is now a requirement for submitting app to the App Store. What I've done so far to convert my app to support 64-bit is actually following others' questions/answers I've searched on StackOverflow and what I've found came down to Set Architectures to "Standard architectures (armv7, arm64)" Set Valid Architectures to "arm64 armv7 armv7s" Set Build Active Architectures Only to "No" (some mentioned this, so I just tried it out) Those above

Can 32-bit and 64-bit code be mixed? [duplicate]

假如想象 提交于 2019-12-02 01:56:51
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: Linking 32-bit library to 64-bit program One of the libraries a program uses, which needs to be statically linked, is a 32-bit one. If compiled with a 64-bit compiler, it breaks, mostly because the variable types are of different length (long being twice as long, mostly). Source code of the library is provided. The program itself works at 32 and 64 bit. Is it possible to compile the library as 32-bit and

Apple Mach-O Linker Error when Architectures to support 64-bit added

跟風遠走 提交于 2019-12-02 01:36:59
I've been trying to enable 64-bit in my project as this is now a requirement for submitting app to the App Store. What I've done so far to convert my app to support 64-bit is actually following others' questions/answers I've searched on StackOverflow and what I've found came down to Set Architectures to "Standard architectures (armv7, arm64)" Set Valid Architectures to "arm64 armv7 armv7s" Set Build Active Architectures Only to "No" (some mentioned this, so I just tried it out) Those above create errors of Apple Mach-O Linker Error . I totally got 13 errors of them. They're shown in details as

undefined reference to sync_fetch_and_add_4

会有一股神秘感。 提交于 2019-12-01 20:45:50
Whenever I try to use __sync_fetch_and_add with -m32 on a 64 bit machine, I get the following error, while it compiles fine with normal 64 bit. I am using gcc compiler 4.1.2. What can be the problem here and what is the solution? replication.cpp:(.text+0xb3b): undefined reference to `__sync_fetch_and_add_4' replication.cpp:(.text+0xb82): undefined reference to `__sync_fetch_and_add_4' replication.cpp:(.text+0xcc2): undefined reference to `__sync_fetch_and_add_4' /tmp/cc7u9FLV.o: In function `potential_barrier_leader(unsigned int, pthread_barrier_t*)': replication.cpp:(.text+0xd3f): undefined

Compile Console App as 32 bit

风格不统一 提交于 2019-12-01 20:09:28
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? 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. The target platforms are called "X64" and "X86", where "X86" is 32bit. 来源: https://stackoverflow.com/questions

List of DLLs loaded by specific process by its name

别等时光非礼了梦想. 提交于 2019-12-01 19:48:34
I'm trying to list dll(s) loaded to processe with the following code: Process[] ObjModulesList = Process.GetProcessesByName("iexplore"); foreach (Process prc in ObjModulesList) { ProcessModuleCollection ObjModules = prc.Modules; foreach (ProcessModule objModule in ObjModules) { string strModulePath = objModule.FileName.ToString(); Console.WriteLine(strModulePath); } } I'm getting error A 32 bit processes cannot access modules of a 64 bit process. I tried to run my process as administrator, and running iexplore as 64-bit and as 32-bit. None of those working. BTW, I have to compile my program to

Start process as 64 bit

感情迁移 提交于 2019-12-01 19:25:26
I will like to show the onscreen keyboard. As a result I went to the following link on stackoverflow: Calling the on-screen keyboard using a button in C# That technique works great when I am running my wpf application targeting the x64 platform. In other words it works when I set: but if I set it to 86x it does not work. I need to run my application as x86 though. How can I solve this problem? I just have an exception when running my code on a x64 bit computer... Edit I have temporary solution. What I did to solve this problem was to create a new project in Visual Studio (Console app) and