Porting an app from Windows Embedded Handheld 6.5 to 8.1 - windows-embedded-compact

We have a RFID application running on Windows Embedded Handheld 6.5, but now some clients are asking to upgrade the app to run on 8.1
We have not done it yet, as from MSDN, it seems these two are built on different platforms, i.e. Windows Mobile 6.5 and Windows Phone 8.1 respectively.
So my question is whether we'll be able to port the application, or we need to re-write it on Windows Embedded Handheld 8.1 platform.

Windows Embedded Handheld 6.5 and Windows Embedded Handheld 8.1 are quite different platforms in terms of writing applications. There is no automated way available to port applications from 6.5 to 8.1. I am afraid that you have to rewrite most of code. You can copy/paste same code of common libraries but would have to review it for syntax errors.

Related

What type of component should be used to write SDK to support on windows 8.1 and windows universal devices

I have a requirement to develop a SDK(kind of class library) for Windows app supporting Windows 8.1 and Windows universal apps. Please suggest me the right type to choose for this.
At first I was thinking to use Portable class library supporting these 2 platforms but later on some researching found out Windows Runtime component(Universal apps) and read that using this would support app build using non managed code too(C++, JavaScript) which kind of seemed good for me. but when I try to refer this into a windows 8.1 app it says not supported, Do I need to build a separate windows runtime component again for this(I see Windows runtime component(portable for universal windows 8.1 template)?
Is there any chance I could build this without the need of having 2 projects for different platforms?
I've been able to successfully use a WinRT component targeting Windows 8.1 in a Windows 10 app before, but it might have changed and YMMV. Try it out.

Accessing Windows 8 libraries in VS2012 on Windows 7

Running VS2012 Pro on Windows 7 Pro, I need to develop a desktop application for a Windows 8 environment (this is NOT a metro-style interface). What I can't figure out is how to reference the Windows 8-specific libraries (for instance, Windows.Media.Capture). I've downloaded and installed the Windows 8 SDK, but when I try to add a reference to a Windows 8 library, nothing is available in either the Framework or Extensions list.
Any ideas? or am I stuck with having to move to Windows 8 on my development system?
Thanks.
You can develop a .NET 3.x or 4.x app on Windows 7 and run it on Windows 8 in desktop mode just fine. You can also create a C++ app that targets Win32 and run it on the Windows 8 desktop just fine. However, you cannot reference any assemblies on Windows 7 that have runtime dependencies on WinRT APIs. Windows.Media.Capture and the classes contained within (such as CameraCaptureUI) are WinRT APIs and cannot be used on Windows 7. Even if you had Windows 8, very very few WinRT APIs can be called from desktop applications. The Windows.Media.Capture APIs can only be used from a Windows Store (formerly Metro) app.
Dev support, design support and more awesome goodness on the way: http://bit.ly/winappsupport

Can I develop software for Microsoft Surface on Windows 7 machine

I want to develop a WinRT app for Surface.
There is one detail I cannot find anywhere. Will I be able to compile and run on the device using Windows 7 or I need to upgrade to Windows 8?
No, you can't develop an RT "Modern" style app on Windows 7. You'll need Windows 8 either installed as your main OS or hosted in a VM.
It is possible to develop with virtual machine(Win8) in windows 7 unfortunately if you want to develop without virtual machine you have to upgrade it
Not directly, no. WinRT apps require windows 8 APIs, there is no support for building them on Windows 7. You can fake the environment out by setting up a virtual machine and developing on that.
From Microsoft Surface SDK documentation:
"The Microsoft Surface 2.0 SDK provides the managed APIs and the tools you need to develop Surface applications. Applications that are built using the Surface SDK can run on devices made for Surface 2.0, and on Windows 7 computers..."
Read more here: http://msdn.microsoft.com/en-us/library/ff727815.aspx

Scope of an older version window app

I have created an app(.exe) using Win32 for window's older versions(xp,7).
But now i am having a silly doubt regarding the running environment of the app. Actually i would like to know whether i can run my app(.exe) in Windows 8 or not, which is going to be the latest version (Licensed version) of windows .
I would also like to know whether Windows 8 desktop apps will run on windows8 Phone/Tablet or not.
There are several flavors of Windows in the market and coming to the market in the fall:
Windows 7 - The 'classic' Windows; in the sense that it is a desktop OS with a Start Menu in the lower left. It runs on x86 and x64 based machines and supports Win32 based applications.
Windows 8 - The next version of Windows. It runs on x86 and x64 based machines and supports BOTH Win32 and Windows Store applications. If your application runs on Windows 7 then it should run without changes or issues on Windows 8. Windows 8 will be available on Desktops, Laptops and Tablets.
Windows RT - A version of Windows 8 targeting ARM based machines. It supports ONLY Windows store application. Windows RT will be available in both Laptop and Tablet form factors.
Windows Phone 7 - This is the current Phone platform and runs a customized version of Silverlight. It will only run applications built for Windows Phone 7.
Windows Phone 8 - This is the next version of the Phone platform. It is based on the same kernel as Windows RT. There is however very little information regarding the development model at this time. It will however run both Windows Phone 7 and Windows Phone 8 applications.
Your app(.exe) may be capable of running on Windows 8 in desktop mode. If it runs on Win7 then it should be fine but you'll need to test it. It won't run on WindowsRT devices (the ones which only run the "what-used-to-be-called-metro-style" apps).
Not that some tablet devices will have the ability to run desktop apps but some won't. It's not cut and dried.
Windows 8 apps of any sort will not run directly on Windows Phone (7 or 8).

Can applications written for windows 8 run on windows phone 8?

As Microsoft said that windows 8 and windows phone 8 share the same code base. If I use visual studio 2012 RC write an application for windows 8. I want to know whether I can install and run the same application on windows phone 8?
If the answer is yes we can prepare ourselves for windows phone 8 SDK by learning Visual Studio 2012 RC for windows 8 today!
Right now they haven't announced everything, so this is just my speculation.
I guess that you will not be able deploy the same app (xap file) to WP8 and Windows 8. This by design. Why? Because they are very different systems. Your beautiful, fast and awesome Windows Phone app will suck on Windows 8. There is no silver bullet. It's the same for HTML. You have to create separate mobile version of the web app, otherwise nobody will use it.
They share the same kernel and probably plenty of APIs. But that doesn't mean the runtime environment in which your applications run is the same. E.g. very different form factors make it necessary to adapt the app anyway. Since they never said that Windows Phone 8 has the same application programming model as Windows 8 you can at the moment safely expect not to be able to deploy the same app to both Windows 8 and Windows Phone 8.
That being said, you probably can expect to share a lot of code between both systems, especially if you're using either C# or C++ (with native apps coming to WP8 too).
Application compiled for WP8 won't just run on Windows 8, but you can share lot of code into common libraries.
There is a chapter in Windows Phone 8 SDK about targeting both Windows 8 and Windows Phone 8 development. Mostly is possible either by Portable Class Libraries, referencing common files both in W8 and WP8 projects or using Windows Runtime Components.
http://www.microsoft.com/en-us/download/details.aspx?id=35471
Many Application designed for wp8 work on windows8 also as The developer have also to decide whether it will work in both of then,usually windows8 has not enough graphic and motion control so some WP games do not run on windows8,, You can always see any app permission notice to understand whether it work on wp8 or not on other hand there were also some windows game that has as much graphics that WP could not run,,
Like if you want game like assassins creed it will run on both operating system(WP,window) but in different manner
So it's chooses by game properties that define cap package to run or not

Resources