Skip to Content
Professional Windows® Embedded CE 6.0
book

Professional Windows® Embedded CE 6.0

by Samuel Phung
November 2008
Intermediate to advanced
478 pages
10h 38m
English
Wrox
Content preview from Professional Windows® Embedded CE 6.0

Chapter 14. Autolaunch Applications

A Windows Embedded CE device is generally designed to perform certain designated functions, and it launches one or more applications to perform these functions during start-up.

Different methods are used to automatically launch an application when CE starts. Some applications require certain OS resources to be ready before launching. Some applications need to be launched with command-line parameters. For some CE devices, more than one application needs to be launched in sequence when CE starts.

In this chapter, we'll go through the following methods to autolaunch an application when CE starts:

  • Configure the registry to automatically launch the application when CE starts.

  • Autolaunch an application using the Windows\Startup registry.

  • Develop a utility to launch the application when CE starts.

Autolaunch with the Registry

In this section, we'll work through an exercise to configure the registry to automatically launch an application when CE starts. We'll use the AutoCoreCon OS design project from Chapter 13 exercise, you need to work through it now before continuing.

In Chapter 13, we did the following:

  • Added the autolaunch.exe utility to MyEmulatorBSP.

  • Created the AutoCoreCon OS design project.

  • Created the PBNativeApp native-code application project to generate the pbnativeapp.exe application.

  • Built the AutoCoreCon OS design project to generate the CE runtime image.

For the exercise in this section, we will exclude the autolaunch.exe utility from the OS runtime ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Professional Windows® Embedded Compact 7

Professional Windows® Embedded Compact 7

Samuel Phung, David Jones, Thierry Joubert
Windows® Embedded CE 6.0 Fundamentals

Windows® Embedded CE 6.0 Fundamentals

Stanislav Pavlov, Pavel Belevsky
Professional Visual Studio® 2008

Professional Visual Studio® 2008

Nick Randolph, David Gardner

Publisher Resources

ISBN: 9780470377338Purchase book