Monday, 18 May 2009

Free Microsoft onsite POSReady seminar in Auckland, NZ on May 26th

Hi Folks,

don’t miss the upcoming Windows Embedded POSReady onsite Seminar!

Title:
POSReady 2009 Event

Date:
Thursday, May 26th 2009, 9:30 am to 12:00 pm

Location:
Microsoft Theatre, Level 5
22 Viaduct Harbour Ave
Auckland Central
Auckland, New Zealand

Description:
9:30 Registration and Morning Tea
10:00-12:00 Seminar

Be PosReady2009 and be the POS expert in the market. Join us in this 2 hour seminar and become a POS expert, so that you can offer the best of products to your clients. Find out all about the:

-New POS version of Windows Embedded: PosReady2009
-New POS application from Microsoft: POS2009
-And the latest HW and systems suitable for your clients from POSPOS

With new product news to be unveiled, this event is not to be missed! Only 80 seats available, reserve your spot today.

Further information and registration:
http://www.microsoftembeddedseminars.com/about.aspx?seminarid=233

Overview of MS seminars offerings:
http://www.microsoftembeddedseminars.com/home.aspx

Have fun!
Read more! Post this to a friend!

Thursday, 14 May 2009

Windows CE Platform Builder Monthly Updates for April 2009 are here!

Hi all,

here are the links to the April 2009 QFEs for Windows CE Platform Builder:

  • Windows Embedded CE 6.0 Monthly Update (April 2009)

    Fixes made in this update:

    By Component:

    Component: Codecs
    090413_KB968971 - This update enables dual channel MPEG audio.

    The registry key to handle dual channel MPEG audio playback:

    [HKLM\Software\Microsoft\DirectX\DirectShow\MPEGAudio]
    "DualMode"=dword:

    Where the value is:

    0 - enable dual channel playback
    1 - left channel only
    2 - right channel only

    The default value is 1.

    Component: DirectX
    090415_KB968612 - When a device renderer supports only YV12 format, some WMV files cannot be played.

    Component: IE
    090430_KB969515 - This update addresses a number of Internet Explorer issues.

    Component: USB
    090410_KB969745 - USB Interface descriptor may be parsed incorrectly.

    The file(s) with the new source code changes for this component can be found in the directory %_WINCEROOT\:

    public\common\oak\drivers\usb\hcd\common\cdevice.cpp
    public\common\oak\drivers\usb\hcd\usb20\usb2com\cdevice.cpp

  • Windows CE 5.0 Platform Builder Monthly Update (April 2009)

    Fixes made in this update:

    By Component:

    Component: IE
    090430_KB969498 - This update addresses a number of Internet Explorer issues.

    Component: WININET
    090430_KB961887 - If a client connects to a WinInet API that uses KeepAlives, and then has their IP address change, future attempts at that WININET API will fail.

    Implement a new feature hidden behind the registry key:

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
    "EnableKillKASocketsOnAddrChange"=dword:

    Default setting is 0, which allows WININET to keep KeepAlive sockets open when IP address changes. Set to 1 allows WININET to kill all KeepAlive sockets when IP address changes.

  • Windows Embedded NavReady Monthly Update (April 2009)

    Fixes made in this update:

    By Component:

    Component: Bluetooth
    090416_KB970061 - This update addresses the following issues:

    -Adds Names (if present) to call history entries when downloading via PBAP

    -Downloads contacts via HFP port on Samsung G600 and T729 Blast

    -Relax CPBS reply parser to accept LG's less-than-spec-complaint version (and use HFP port for LG KE850 and KE970)

    -Disables sniff mode for SE W300i

    -Addresses an issue in Chfpsvcmgr that may occur when receiving malformed vCard

    -Addresses 2006 vintage issue with AT PB DL call history parser
Links to all available Windows CE updates can be found here:
http://msdn.microsoft.com/en-us/embedded/aa731256.aspx

Have fun!
Read more! Post this to a friend!

Wednesday, 13 May 2009

Upcoming free Onsite Windows Embedded Seminars in the US

Hi Folks,

Don’t miss the upcoming free Windows Embedded Seminars on Medical Devices held in the US in May and June. Register for these free Seminars and win a ZUNE Media Player!
Have fun!
Read more! Post this to a friend!

Tuesday, 12 May 2009

Living in the box ....

or developing applications with only 32MB virtual memory on Windows CE systems (before WinCE 6.0).
There are several sources about Windows CE Memory Management, my favorites are:
- Advanced Memory Management by Douglas Boling
- Virtual Memory Layout: Windows CE 5.0 vs. Windows Embedded CE 6.0 on MSDN
- What is virtual memory? by Sue Loh

okay,
but how to detect, if your app is running out of "in proc" 32MB virtual memory?
Very usefull is a tool provided with the Platform Builder on the Windows CE Shell called "mi" (memory information).
You can input mi [kernel | full] to display memory information. The full parameter displays a set of tables showing the virtual memory usage for all the processes in the system.
You will receive a detailed info about virtual memory usage in the following form:

Memory usage for Process 819b5de8: 'device.exe' pid 3
Slot base 08000000 Section ptr 83fca000
08000000(1): -----r----------
08010000(0): -CCCCCCCCCCCc
08020000(0): ------------S--S
08030000(0): WWWWWWWWWWWWWWWW
08040000(0): WWWWWWWWWWWWWWWW
08050000(0): WWWWWW---------
08060000(0): ---------------S
08070000(0): ---------------S
08080000(0): ---------------S
08090000(0): ---------------S
In the memory information "--" represents the memory space is reserved but not in use. Which indicates that a virtual page is currently allocated but not mapped to any physical memory. "C" represents code pages in ROM, "S" indicates a virtual page that holds a stack, "W" indicates a virtual page that holds read-write data and "R" represents r/o data pages in ROM.
Detailed info about the "mi full" output is provided in the Platform Builde help.

The investigation of the commandline output may be hard, but you can get these information also as an image, which is easier to interpret as the commandline output.
Just take a look at the "VirtualMemory.exe" from CodeProject.

Red means, that memory block is completely empty. Blue means that the memory space has been reserved. Green means the memory space has been committed. A mixture of colors means some combination of all three.
This app allows you a very quick and detailed analysis of the usage of the virtual memory on your Windows CE system.

Then avoid memory leaks and have fun!
Read more! Post this to a friend!

Monday, 11 May 2009

Application Interrupt threads

Most of us know (or even have seen) code with the interrupt service thread (IST) running in context of an application. Up to CE5.0 this could be achieved quite easy (thanks to SetKMode + SetProcPermission).

Is this still possible with CE6.0? Most CE developers would say "no" without hesitating a second.

When I saw the following line I thought "that doesn't work, that's not possible!":

InterruptInitialize(dwSysIntr, hDriverInterruptEvent, NULL, 0);

But I have been disabused :-) It is possible to create to initialize an interrupt without the interrupt thread function parameter (i.e. NULL pointer)!

And if the driver provide a method to duplicate the interrupt event (usually via Ioctl call)

DuplicateHandle(GetCurrentProcess(),
hDriverInterruptEvent,
(HANDLE)GetCallerVMProcessId,
(LPHANDLE)pOutBuf,
FALSE, DUPLICATE_SAME_ACCESS);

you can wait for the interrupt event in an application thread.

I won't say that this is a standard driver/application architecture. But there might be situations where this way is a simple and pragmatic approach (e.g. during driver development).

Read more! Post this to a friend!

Saturday, 9 May 2009

IPV6 and .NET Micro Framework

Hello .NET Micro Framework guys,

Colin Miller from Microsoft is asking the community about possible needs of IPV6 support in the future releases of .NET Micro Framework.
What is your opinion? Is it a recommended or just a "nice to have" feature?

Give your feeback directly to Colin Miller at: http://blogs.msdn.com/netmfteam/archive/2009/04/30/when-do-you-need-ipv6.aspx#comments

Have fun!

Read more! Post this to a friend!

Friday, 8 May 2009

Windows CE Training

Windows Embedded Gold Partner EB ( Elektrobit) is now offering participants of EB's two day Windows Embedded CE 6.0 R2 Deep Dive Training a development platform as well as a copy of "Windows Embedded CE 6.0 Fundamentals" - for free!

The hardware platform - a Trizeps IV 520 MHz platform, which is used during the training - together with an evaluation version of Windows Embedded CE and the book allows participants to carry on working with the OS after the training. This is especially interesting for people who would first like to evaluate if Windows CE is the right choice for their project.


EB additionally offers an extensive and comprehensive set of Trainings around Microsoft's Embedded Operating Systems:
  • .NET Micro Framework Training
  • Windows Embedded CE (5.0 / 6.0) Training
  • Windows Embedded NavReady Training
  • Windows Embedded Standard Training
  • Microsoft Auto Training
  • Windows for Automotive Training
  • Windows Mobile Training
It goes without saying that all trainings can be fully customized to meet specific needs and be held either in German or English.

If you are interested either in the Windows Embedded CE 6.0 Deep Dive Training or any other Training you can contact EB here.

So long and thanks for all the fish!
Read more! Post this to a friend!