Questions tagged [compatibility]

This tag should be used to identify questions regarding compatibility issues, for example between different versions of the same software product or, development kit or library.

2979 questions
38
votes
6 answers

Do Intel and AMD processor have the same assembler?

The C language was used to write Unix to achieve portability—the same C language program compiled using different compilers produces different machine instructions. How come the Windows OS is able to run on both Intel and AMD processors?
user136281
  • 389
  • 1
  • 3
  • 4
37
votes
6 answers

How to write Python 2.x as much compatible with Python 3.x as possible?

There are many ways to include Python 3.x features in Python 2.x, so code of Python 2.x scripts could be easily converted into Python 3.x in the future. One of these examples is replacing print statement with print() function: >>> from __future__…
Tadeck
  • 132,510
  • 28
  • 152
  • 198
36
votes
4 answers

javax.xml.parsers.FactoryConfigurationError running JBoss AS 7.1 with Java 7 update 171

Upgrading Java from 7u161 to 7u171 prevents JBoss AS 7.1.1.Final from starting. I know JBoss AS 7.1.1 is EOL but for compatibility reasons, we still need to run this version. Very early in the startup, a NullPointerException occurs in some JBoss…
David Le Borgne
  • 801
  • 2
  • 9
  • 23
35
votes
5 answers

Call R (programming language) from .net

I'm working on an application that requires a great deal of stastical processing and output as images in a .net desktop application. The problems, including generating the output images, seem like a natural fit for R http://www.r-project.org/ Is…
detroitpro
  • 3,853
  • 4
  • 35
  • 64
33
votes
2 answers

Which browsers support the HTML5 History API?

Can someone point me to a compatibility chart for browsers that support/don't support the HTML5 History API? Spec: http://www.w3.org/TR/html5/history.html Tutorial: https://developer.mozilla.org/en/DOM/Manipulating_the_browser_history
Kiran Jonnalagadda
  • 2,606
  • 1
  • 30
  • 29
33
votes
5 answers

Creating a portable library to run on both linux and windows

gcc (GCC) 4.7.2 Hello, I am creating a shared library that will compile on linux and a dll that will compile on windows using the same source code. So i am creating an portable library for both linux and windows. In my header file for the library…
ant2009
  • 27,094
  • 154
  • 411
  • 609
32
votes
1 answer

What does '__COMPAT_LAYER' actually do?

Recently, i was trying to give my application administrator rights without system asking for "Do you want to give administrator rights?" and i found a way which is working perfectly. Solution I Found I created a bat file named nonadmin.bat and wrote…
Agent_Spock
  • 1,107
  • 2
  • 16
  • 44
32
votes
3 answers

GCC ABI compatibility

As far as I've understood, it is not possible to link libraries that use different versions of GCC's Application Binary Interface (ABI). Are there ABI changes to every version of GCC? Is it possible to link a library built with 4.3.1 if I use, say,…
Fredrik Ullner
  • 2,106
  • 2
  • 22
  • 28
32
votes
7 answers

How to set "Run this program as an administrator" programmatically

I'm having a problem with good ol' bdeadmin.exe in Vista. First, let's get the predictable responses out of the way: "You should not require your application to be elevated." This one does. C'est la vie. "You need to embed a manifest file." It is…
Patrick
  • 1,766
  • 1
  • 15
  • 27
31
votes
4 answers

How to deal with deprecated classes in Android to keep compatibility

I am getting back to work on an app I worked on a while ago, when I had everything built around Android 2.2 Froyo. I have updated my SDK for the latest APIs and noticed that the ClipboardManager features I was using are deprecated. I updated the…
HXCaine
  • 4,228
  • 3
  • 31
  • 36
30
votes
4 answers

What is special about the executables compiled with Visual Studio 11 which results in that the executables cannot be executed on Windows XP?

I compile my C++ source code with Visual Studio 11 Developer Preview. I statically link to the runtime library. The resulting executable cannot be executed on Windows XP. When I try to execute it on Windows XP I get the error message "[Executable…
29
votes
9 answers

Is Tahoma's font safe for the web?

Should I use Tahoma in webdesign? If I couldn't opt for anything different (i.e. because the designer used it in his design), with which fonts could I make an stack of replacement fonts in a CSS stylesheet?
eKek0
  • 23,005
  • 25
  • 91
  • 119
29
votes
3 answers

"This program might not have installed correctly" message in Windows 7 RC

I have an installer that works perfectly under NT 5.x, Vista, and Windows 7. It contains the proper manifest for UAC on NT 6.x. But starting with Windows 7 RC, every time the setup program closes, Windows produces an erroneous "This program might…
kliu
28
votes
8 answers

FragmentActivity causing ClassNotFoundException

I just used Android SDK Manager to update Android SDK Tools to revision 17, and Android Compatiblity to revision 7. Now, the program I've been running for ages crashes on startup. Narrowing down the issue, I have created a new blank project, added…
Dave
  • 2,248
  • 1
  • 21
  • 28
28
votes
10 answers

Unable to override onCreateOptionsMenu in ListFragment

I created an app that supports both phone and tablet version so i use the android-support-v4.jar library. My activity extends the ListFragment and I tried to override the onCreateOptionsMenu(Menu menu, MenuInflater inflater), as in the following…
Waza_Be
  • 39,407
  • 49
  • 186
  • 260