64-bit

How can I use a single Visual Studio solution to build both x86 and x64 at the same time?

删除回忆录丶 提交于 2020-01-09 12:18:01
问题 I've got an x86 Visual Studio solution with many project files in it. Some of the DLL files are designed to work as plug-ins to other applications on a user's system. We're expanding some of the DLL files to be able to support 64-bit applications. I'd like to set up the solution/projects so that just hitting "Build" will build both the x86 and x64 versions of those DLL files. The solution contains both C++ and C# projects. I realize that "Batch Build" is capable of building both, though it

How to install, test, convert, resize PDF using ImageMagick, Ghostscript, Windows Vista/7 x64

北战南征 提交于 2020-01-09 09:54:09
问题 I'm having trouble with getting ImageMagick and Ghostscript to work together - everything seems difficult, from installation, to testing, to actually using the software. Does anyone have any tips? 回答1: I've just spent the last three hours getting ImageMagick to play nicely with PHP for a PDF to JPG convert. Instead of documenting it myself locally, I figured I'd write it up here, with all the buzzwords and things I screwed up, so the next noob can save some time. Tested on two OSs,Windows 7

How to install, test, convert, resize PDF using ImageMagick, Ghostscript, Windows Vista/7 x64

三世轮回 提交于 2020-01-09 09:53:26
问题 I'm having trouble with getting ImageMagick and Ghostscript to work together - everything seems difficult, from installation, to testing, to actually using the software. Does anyone have any tips? 回答1: I've just spent the last three hours getting ImageMagick to play nicely with PHP for a PDF to JPG convert. Instead of documenting it myself locally, I figured I'd write it up here, with all the buzzwords and things I screwed up, so the next noob can save some time. Tested on two OSs,Windows 7

Class not registered Error

痞子三分冷 提交于 2020-01-09 07:08:27
问题 Running an application from Visual Studio 2012 on 64-bit computers, displays the following error message: Retrieving the COM class factory for component with CLSID {F2D4F4E5-EEA1-46FF-A83B-A270C92DAE4B} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) I am using Inventor packandgo dll library in visualstudio. Anyone know what is the error? 回答1: My problem and the solution I have a 32 bit third party dll which I have

Class not registered Error

我是研究僧i 提交于 2020-01-09 07:08:13
问题 Running an application from Visual Studio 2012 on 64-bit computers, displays the following error message: Retrieving the COM class factory for component with CLSID {F2D4F4E5-EEA1-46FF-A83B-A270C92DAE4B} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) I am using Inventor packandgo dll library in visualstudio. Anyone know what is the error? 回答1: My problem and the solution I have a 32 bit third party dll which I have

Netbeans and MinGW-w64

限于喜欢 提交于 2020-01-09 05:10:07
问题 I'm trying to configure my NetBeans on win7 64bit, to work with the MinGW-w64. So I put in the %PATH% variable the following paths of the compiler: C:\mingw-w64-bin_i686\mingw\bin C:\minGw-MSYS\msys\bin C:\mingw-w64-bin_i686\libexec\gcc\x86_64-w64-mingw32\4.7.0 Then I opened NetBeans and this was configured: The configuration in NetBeans I tried to compile a little test program but I received this error: g++.exe: fatal error: -fuse-linker-plugin, but liblto_plugin-0.dll not found compilation

how to use 32bit native libraries on 64 bit Android-L platform

丶灬走出姿态 提交于 2020-01-09 03:19:23
问题 I have a Android application which i compiled with AOSP(Kitkat) as android system application and it was running fine. My application is dependent on native code compiled with Android-NDK as 32 bit libraries. I am copying native libraries inside my android applications libs/armeabi folder and then building my android application in AOSP(I have also modified device.mk to copy my libs in the /system/lib folder). Everything is working fine on Android Kitkat. When i ported my application on

What is the replacement for Language Analysis framework's Morpheme analysis deprecated APIs

a 夏天 提交于 2020-01-07 04:20:32
问题 The Language Analysis framework is deprecated and its not even available in 64-bit. The documentation says - use CFStringTokenizer but the tokenizer doesn't provide functionalities available in lang analysis framework. What is the replacement for morpheme analysis APIs that lang analysis framework provided? EDIT: Though Pantong's reply helped but it doesn't work in all cases, e.g. for words with 3-4 kanji characters it returns incorrect result. (By incorrect I mean its not same as what it

linking a static(.a) library with a shared (.so) library, getting error “relocation R_X86_64_32S against a local symbol; recompile with -fPIC”

房东的猫 提交于 2020-01-06 08:13:08
问题 Compiling with g++ 64 bit in redhat using eclipse. Compile Error: ../lib-EL5-64bit/libskd3_clnt_30134500.a(skd_clnt.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC Things I have tried I added -fPIC to both the c++ compiler flags, as well as the linker flags. It already existed in the compiler flags, i just moved it to directly after the g++, and at the end of the list. I've asked the creator of the .a library to recompile

C++ crash when using OpenCV's Canny function in Windows Server 2012 R2

天涯浪子 提交于 2020-01-06 07:09:08
问题 while (true) { cap.read(frame); if (frame.empty()) { cap.release(); break; } cv::cvtColor(frame, frame, CV_BGR2GRAY); cv::GaussianBlur(frame, frame, cv::Size(3, 3), 1.8); cv::Mat edgeImage; cv::Canny(frame, edgeImage, 120, 255, 5); imshow("window", edgeImage); cv::waitKey(15); } Visual Studio 2015 with Update3. Build it x64 with OpenCV 3.4.3(x64). This is very strange error. When run this app in Windows7, It's OK. But in Windows Server 2012 R2, Not working. App crash and dead. After app crash