Missing include “bits/c++config.h” when cross compiling 64 bit program on 32 bit in Ubuntu

I am running the 32bit version of Ubuntu 10.10 and trying to cross compile to a 64 bit target. Based on my research, I have installed the g++-multilib package. The program is a very simple hello world: #include <iostream> int main( int argc, char** argv ) { std::cout << “hello world” << std::endl; return 0; … Read more

Microsoft.Jet.OLEDB.4.0′ provider is not registered on the local machine

I created a windows application developed in .NET 3.5 in a 32 bit Windows 2008 server. When deployed the application in a 64 bit server it shows the error “Microsoft.Jet.OLEDB.4.0′ provider is not registered on the local machine “. So as a solution to this issue, i have changed the build property of the project … Read more

Why do 64-bit DLLs go to System32 and 32-bit DLLs to SysWoW64 on 64-bit Windows?

I would like to know when do we need to place a file under C:\Windows\System32 or C:\Windows\SysWOW64, on a 64-bits windows system. I had two DLL’s, one for 32-bit, one for 64-bit. Logically, I thought I’d place the 32-bit DLL under C:\Windows\System32, and the 64-bit DLL under C:\Windows\SysWOW64. To my surprise, it’s the other way … Read more

How can I test a Windows DLL file to determine if it is 32 bit or 64 bit? [duplicate]

This question already has answers here: How can I determine for which platform an executable is compiled? (12 answers) Closed 9 years ago. The community reviewed whether to reopen this question 4 months ago and left it closed: Original close reason(s) were not resolved I’d like to write a test script or program that asserts … Read more

Retrieving the COM class factory for component with CLSID {XXXX} failed due to the following error: 80040154

I developed a Windows service using C#.NET to generate PDF report. To generate PDF file I am using a third party dll. The application is running in my Windows XP platform. When I deployed the service in Windows Server 2008 64 bit version, I got this error: Retrieving the COM class factory for component with … Read more

Can’t start Eclipse – Java was started but returned exit code=13

I am trying to get my first taste of Android development using Eclipse. I ran into this problem when trying to run Eclipse, having installed version 4.2 only minutes ago. After first trying to start Eclipse without any parameters to specify the Java VM, I got an error message saying it couldn’t find a Java … Read more

wrong ELF class: ELFCLASS32

Based on the conversation in the other answer, it was inferred that the JVM was a 64-bit process. This was confirmed using the pflags command in Solaris. Apparently the -d32 flag passed to the JVM was being ignored. This was due to the possibility of the JVM being a 64-bit one, which was incapable of operating in the 32-bit mode. … Read more