backwards-compatibility

Can a .Net 1.1 client call a .Net 2.0 web service? If so, how?

We have finally upgraded our web services from .Net 1.1 to .Net 2.0/3.5. One of the clients that calls these web services is run as a windows service. It is probable that the windows service will not be upgraded until some time after upgrading the server at customer sites. Is it possible to massage my .Net 2.0 web services so they will...

Is it okay to use <input type="tel"/> now?

I'm working on a mobile phone web app and I have several text fields that could benefit from iPhone's will adjust the keyboard for the user but I'm worried about breaking backwards compatability. What I'm hoping is that browsers/phone that support this can assist the user and other browser will fall back to a standard text field? Is thi...

Windows API Codepack Backwards Compatibility on Window XP

I don't have an XP machine handy. If I use the Windows API Codepack to do something new to Vista/Win7 (e.g. "TaskDialog") in C#, how does it cope with running on Windows XP machines? If I use the Codepack, have I effectively made my application only support Vista and later versions of Windows? ...

Can I use C# 4.0 in VS2008 / ASP.NET 3.5 application ?

Can I certainly do this ? If this is possible how do we do this ? What language features of C# 4.0 are tightly bound to the CLR of .net 4.0 framework if any? In case if no features are bound to CLR4.0 can we really use C#4.0 in a .Net3.5 application ? ...

why is there {Raw,Safe,}ConfigParser in Python 3

Am surprised there's 3 different forms: RawConfigParser, SafeConfigParser and ConfigParser. I read the differences but why isn't everyone using SafeConfigParser, since it seems, well, safe? I can understand that in the case for Python 2 that the other two were kept for backward compatibility. ...

Backwards compatibility when using Core Data

Could anybody shed some light as to why is my app crashing with the following error on iPhone OS 2.2.1 dyld: Symbol not found: _OBJC_CLASS_$_NSPredicate Referenced from: /var/mobile/Applications/456F243F-468A-4969-9BB7-A4DF993AE89C/AppName.app/AppName Expected in: /System/Library/Frameworks/Foundation.framework/Foundation I have w...

Can I pass an array as arguments to a method with variable arguments in Java?

I'd like to be able to create a function like: class A { private String extraVar; public String myFormat(String format, Object ... args){ return String.format(format, extraVar, args); } } The problem here is that args is treated as Object[] in the method myFormat, and thus is a single argument to String.format, while I'd lik...

One office plugin for both Office 2010 and 2007

I've developed an office VSTO3 application for MS Office 2007. Now I'm in a process of porting it for Office 2010. I've created a new project targeted for 2010 and mostly just copy-pasting the code from 2007 project. I've moved as much code as I can to external libraries but still there's quite much code in main project. I was wonderi...

Backward compatibility in dlls

I do have three dlls. a.dll - released many years ago b.dll - released not so many years c.dll - released shortly Each one contains the same function - unfortunatelly with different parameters. so I do have the following Methods aMethod(param1) aMethod(param1, param2) aMethod(param1, param2, param3) My Task is to make a new dll (o...

What does the new " Retina Display" mean for iPhone Developers?

Apple announced a higher res display for the iPhone 4, yesterday. What does this mean for developers? More detection code and image swapping? Can and should I just develop for iPhone 4 and let iphone 3 and down scale everything? EDIT: Perhaps the other way is better? ...

JDK 1.6 compatible with JDK 1.5??

Im having a compatible issue, my project is develop in JDK 1.6, but when i need to post it to a host domain, there is a issue where the host domain used JDK 1.5, how do i make my project compatible with JDK 1.5? thanks in advance ...

Alternatives to weak linking in iPhone SDK?

I'm looking to make my app compatible with older versions of iPhone OS. I did see weak linking mentioned as an option. Can I use OS version detection code to avoid code blocks that the OS can't handle? (Say iAD?) if(OS >= 4.0){ //set up iADs using "NDA code"... } If yes, what goes in place of if(OS >= 4.0)? ...

OSX Weak Linking - check if a class exists and use that class

I'm trying to create a universal iPhone app, but it uses a class defined only in a newer version of the SDK. The framework exists on older systems, but a class defined in the framework doesn't. I know I want to use some kind of weak linking, but any documentation I can find talks about runtime checks for function existence - how do I ch...

What modernizer scripts exist for the new ECMAScript 5 functions?

ECMAScript 5 has quite a few nice additions. John Resig has a good overview here. Here is a good ECMAScript 5 compatibility table. A lot of this stuff can be "faked" for browsers that don't support these functions yet. Do you know of any scripts that can do this? I'm particularly interested in Object.create. For example, Douglas Crock...

Backwards-compatible BackupAgent

I am looking into using the new Backup API that available since Android 2.2, but need to maintain backwards compatibility (to 1.5 to be exact). The docs state: The backup service and the APIs you must use are available only on devices running API Level 8 (Android 2.2) or greater, so you should also set your android:minSdkVersion att...

Object/XML Backwards-Compatibility

We store objects in XML. Sometimes we update the base objects, then we have to save more data in our files to represent the extra attributes of our objects. How to organize/implement a system to ensure backwards compatibility with old versions of our files? The complicated part comes when looking at several versions at once. Version...

Tool to verify compatibility of a public APIs

I work on a platform product which requires public compatibility between versions, so some code that was compiled against our previous build should be able to work against our new build without the need to recompile. Is there a tool that would automated this verification, all I could find was How to test binary compatibility automatical...

UITableView.backgroundColor in SDK 4.0

I have an app that has a custom background for a UITableView. Up to the SDK 3.1.3 this was done by setting the table's backgroundColor property to [UIColor clearColor] and placing the table on top of another view (a UIImageView' for example). SDK 3.2 added thebackgroundViewproperty, and the same effect could be achieved by setting it ton...

How to achieve backwards compatibility with my .NET plugin architecture

Background: I am developing an ASP.NET application with a server side plug in architecture. I define a set of interfaces in a pluginInterfaces .NET assembly. Third party developers can develop a plugin assembly against these interfaces, place their assembly in a plugin folder, and it will be dynamically loaded to offer new functionalit...

What is the best approach to supporting different versions of a propietary protocol

I have written a protocol that gets used by one of my company's applications. We've come to a point where the protocol needs to undergo some significant changes to support further development, but we require that the new implementation be backwards compatible. I would like to know the best approach to achieving this without a lot of hear...