PrabuKumar's WinCE Blog

July 19, 2013

WEC2013 Installation Troubleshoot Tips

Filed under: WEC2013,WinCE 6.0,WinCE 7 — Prabu Kumar @ 5:51 pm
Tags: , , , ,

As a continuation to my earlier post on WEC2013 installation,i like to add some of the troubleshooting tips which will help if there is any error in the installation.Please read the post here.


June 18, 2013

Windows Embedded Compact 2013(WEC2013) Platform Builder Installation and Evaluation

As we all know Microsoft has officially launched the much awaited Windows Embedded Compact 2013,let us have a hands on with the installation and evaluation of the new platform builder tools which is a plugin to the latest Visual Studio 2012.



  • Download and Install the Visual Studio Professional 2012.

  • Download and install the VS2012 Update 2.This update is an online install update which will take sometime based on your internet speed. Check out this blog post to install Update 2 offline.

  • Download and install the Application Builder for Windows Embedded Compact 2013.This installer also comes as part of the WEC2013 PB ISO file.

  • Download and install the .NET Framework 3.5 SP1 from the below link.

  • Download the Windows Embedded Compact 2013 platform builder from the below link.


Here are the screenshots of the WEC2013 platform builder installations steps.

  • Mount the ISO file which is downloaded above. Click on the Begin Install. Accept the License agreement.




  • Now enter the product key which you got from the MSDN subscription site or the Evaluation key.


  • By default the WEC2013 Platform builder tools installed in the C:\(OS default Directory).But we can change the directory of the source code install. For that we need to choose “Custom Install” and browse the directory where you want to install the development source code.


  • As we had choose “Custom Install” it will show the option of components which needs to be installed.


  • Accept the license agreement for shared source and WestTek File viewers.
  • As we are downloading the ISO file and installing this installer offline we don’t want to create a local layout copy.


  • Clicking Next will show the estimated disk size required for the installation of the WEC2013.


  • Once the installation is finished, the below screen will appear.




Now we have installed the WEC2013 successfully and we are good to go to play with it.




  • There are totally three Board Support Packages(BSPs) comes as part of the Platform Builder installation.
    • X86 Microprocessor BSPs
      • CEPC -> this BSP supports PC-based hardware, virtual machines hosted by Virtual-PC, and virtual machines hosted by Hyper-V Client or Hyper-V Server
      • Gseries ->This BSP is for the AMD G-Series processor based development kit.
    • ARM BSP
      • TI_SDP44XX-> This BSP is for TI OMAP4470(Dual Core Cortex A9 MP) Blaze Tablet 2 Development kit with the support of Symmetric Multiprocessing.


To get hands on with the tools and OS we can take CEPC BSP and deploy it on VirtualPC.


  • After installing the WEC2013 PB, open the Visual Studio 2012.Select File–>New Project–>Platform Builder–>OS Design. Avoid using spaces in the naming and path of the OSDesign.


  • We will evaluate the OS with the help of VirtualPC,so we have to select the “Generic CEPC:x86” from the BSP list.


  • Moving to the next wizard will show us the pre-defined templates which will help us to create OS design quicker. Here we can select the “Win32 and WinForms UI Device”.


  • From this WEC2013 release Microsoft had removed the “Standard shell” with the start button on the left corner of the Taskbar. Also in this WEC2013 they had given “Minimal Shell” with the source code using which we can develop our own shell.



  • Click finish and compile the OS using “Build –>Advanced Build Commands–> Sysgen” in either Checked or release mode.


During build time we can setup the VirtualPC in order to deploy the compiled nk.bin.There are few articles available online to setup the VirtualPC for WEC7.The same procedure is followed for deploying the WEC2013 OS.


After setting up VirtualPC on the Windows 7 machine,downloaded the compiled OS binary to the VirtualPC.


Here is the “Minimal Shell” screenshot of the new WEC2013 running on VirtualPC.

Compact 2013 Minimal Shell

Compact 2013 Minimal Shell


November 16, 2012

Windows Embedded Compact 2013 is a official name of WEC vNext

Filed under: WinCE 7 — Prabu Kumar @ 7:34 pm
Tags: , ,

Finally the WEC vNext had been named as Windows Embedded Compact 2013.As per the road map released before two days it is expected to be launched by Q2 of 2013. David Campbell has shared this news and as well some of the new features of this WEC 2013 release.Check out the blog post here.

July 30, 2012

OMAP35x\DM37x VRFB and Video Capture in WEC7

Filed under: WinCE 7 — Prabu Kumar @ 4:14 pm
Tags: , , , , , , ,

With OMAP35x/DM37x EVM ,we will face issue of image corruption while rendering the camera output to the screen because of presence of Virtual Rotate Frame Buffer(VRFB). But if we want to use  both VRFB and Camera preview to work together in WinCE 6.0 ,we can set the renderer of the DShow  camera application to use the GDI mode instead of the DirectDraw renderer.The code used in WinCE 6.0,


IAMVideoRendererMode::SetMode(DWORD dwMode)






But in the WEC7,there is a change in the DShow renderer (i.e., Video Mixing Renderer(VMR)),which does not support the IAMVideoRendererMode interface or method which we used in WinCE 6.0 to switch the GDI mode.


In this blog ,I will show how to fix this issue. But it will have a disadvantage of very low frame rate in the rendering because of not using the hardware overlay.


In VMR we can control the renderer preferences using the IVMRFilterConfig::SetRenderingPrefs() method.


For this issue here is the fix, we can force the VMR to use the RenderPrefs_ForceOffscreen instead of Overlays, which is more or less the same functionality as used in the WinCE 6.0.


IVMRFilterConfig    *pVMRConfig;


hr = m_pVMRRenderer.QueryInterface(&pVMRConfig );

if(FAILED(hr) || pVMRConfig == NULL)


            FAIL(TEXT("Retrieving the IID_IVMRFilterConfig failed."));




hr = pVMRConfig->SetRenderingPrefs( RenderPrefs_ForceOffscreen| RenderPrefs_AllowOffscreen );

if ( FAILED(hr) )


FAIL( TEXT("%S: ERROR %d@%S – failed to set the rendering prefs. (0x%08x)" ), __FUNCTION__, __LINE__, __FILE__, hr );






May 30, 2012

Subscribe to Microsoft Windows Embedded Team Blog

Filed under: WinCE 6.0,WinCE 7 — Prabu Kumar @ 7:56 pm
Tags: , ,

Microsoft Windows embedded team started new blog to update about the presence of Windows Embedded in Intelligent Systems.

"The Windows Embedded Team Blog brings together a range of voices to spotlight Windows Embedded news and information and reflect the evolving world of intelligent systems and specialized devices."

"Approaching Embedded Intelligently"

Follow this blog to check updates on Microsoft Windows Embedded.

November 10, 2011

How to Get USB Camera Working in Windows Embedded Compact 7

Filed under: WinCE 7 — Prabu Kumar @ 12:22 pm
Tags: , ,

As many of you might be using the USB camera on their WinCE device, so for testing this USB camera on the wince device Microsoft had released the source code for the driver. Check in the link for the source of Windows Embedded CE 6.0 version.

To get the USB camera working under WinCE 6.0,check out my other post on the same topic.

So now in order to get the same source code working in Windows Embedded compact 7,it need few changes in the driver because of few additions in the WEC7.To see what are the changes and to get camera working under WEC7,check out my blog post in the following link.

Have fun in playing around with USB camera on WEC7.

October 14, 2011

Windows CE Boot Time

Filed under: WinCE 6.0,WinCE 7 — Prabu Kumar @ 12:04 pm
Tags: , ,

One of the waving feature of "Windows 8" is the 8 sec boot time.As they said it really boots in 8 sec in my PC.That is a cool one!!!!!!!

Since we are working in Windows Embedded OSes it raises the question.

"What is the least time for WinCE boot with some application?"

Check out the following blog post in which Windows Embedded CE 6.0 boots in 3 sec and starts streaming the camera frames live in the LCD.

Also keeping watching the e-con Systems blog in the coming weeks for interesting blogs.RSS feed for the Windows CE blog is

July 2, 2011

Building a Simple Camera DirectShow Filter graph Application in WEC7

Filed under: Article,WinCE 6.0,WinCE 7 — Prabu Kumar @ 4:34 pm
Tags: , , , ,

Many of you might have noted that your WinCE 6.0 DirectShow camera application was not working with Windows Embedded Compact 7(WEC7). The reason is "In the newly launched Windows Embedded Compact 7 OS, the Video Mixing Renderer (VMR) filter replaces the DirectShow Video renderer filter as a default video renderer".

In this post I will try to give basic idea to start writing the Simple DirectShow Camera application on WEC7 and also "How to" start with the newly added component in WEC7 (i.e., Video Mixing Renderer (VMR)).

One more important thing is Windows Embedded CE 6.0 DirectShow camera Application will not work on Windows Embedded Compact (WEC7) without the changes which I had done in this post.So check out the post here.

Also check out this codeplex project for the application source code which I mentioned in the above post.

This is the same application which I uploaded before for  post Working with display controller using DDraw APIs in WinCE / Windows Mobile with the modifications done to work on WEC7.

June 13, 2011

eImageViewer- Free Image Viewer for Windows Embedded CE 6.0

Filed under: WinCE 6.0,WinCE 7 — Prabu Kumar @ 10:47 pm
Tags: , , , ,

Hi Guys,

e-con Systems not only experts in windows CE BSP and Window CE driver development but also showcases its expertise in Image viewing software for Windows Embedded CE 6.0 R3.

eImageViewer from e-con addresses the most common requirements for image viewing is aimed at being a default image viewing application for Windows CE and Windows Embedded Compact devices. This freeware application can be ported on Windows Mobile and Windows Phone operating systems. This application helps users in contrast to the Internet Explorer on the devices which allows only the basic image viewing features and is less user-friendly.

And also check out the features video of the same on the youtube link.

It is absolutely FREE to download and use it on your device .So start download immediately and enjoy browsing your favorite photos on your Windows Embedded CE devices.eimageview_240x320

Start evaluating and throw your comments!!!!!!!!!!!

December 23, 2010

Working with display controller using DDraw APIs in WinCE / Windows Mobile

I had seen few questions in the wince newsgroups about drawing text or drawing any bitmap over the camera video stream output render.I had thought of sharing my experience for this requirement.So I wrote this article with sample demo application and I hope this will help the community who are searching for a solution.

And also take a look at the application source of the sample which is described in the article.I had also created a project for this sample application in Codeplex server.If you have any comments or issues with this application please post it in this blog comments or in codeplex project discussion page,I will try to fix it.

Next Page »

Blog at