- Dynamically using regsvr tool
- statically at run-time image creation
static const WCHAR g_wszName[] = L"Some Filter";
AMOVIESETUP_MEDIATYPE sudMediaTypes[] = { { &MEDIATYPE_Video, &MEDIASUBTYPE_RGB24 }, { &MEDIATYPE_Video, &MEDIASUBTYPE_RGB32 }, };
AMOVIESETUP_PIN sudOutputPin = { L"Output", // Pin string name. FALSE, // Is this pin rendered? TRUE, // Is it an output pin? FALSE, // Can the filter create zero instances? FALSE, // Does the filter create multiple instances? &GUID_NULL, // Connects to filter. NULL, // Connects to pin. 2, // Number of media types. sudMediaTypes // Pointer to media types. };
AMOVIESETUP_FILTER sudFilterReg = { &CLSID_SomeFilter, // Filter CLSID. g_wszName, // Filter name. MERIT_NORMAL, // Merit. 1, // Number of pin types. &sudPins // Pointer to pin information. }; |
CFactoryTemplate g_Templates[] = { { g_wszName, // Name. &CLSID_SomeFilter, // CLSID. CSomeFilter::CreateInstance, // Creation function. NULL, &sudFilterReg // Pointer to filter information. } }; int g_cTemplates = sizeof(g_Templates) / sizeof(g_Templates[0]); |
STDAPI DllRegisterServer() { return AMovieDllRegisterServer(); } STDAPI DllUnregisterServer() { return AMovieDllUnregisterServer(); } |
Showcase your Windows Embedded CE development skills—earn the new MCTS certification for Windows Embedded CE 6.0. Exam 70-571 validates the skills and experience of seasoned Windows Embedded CE developers, and is available now at Prometric Testing Centers worldwide.
Take 50% off : Act now to get 50% off the exam price –email mswepp@microsoft.com for a 50% off voucher. Voucher expires January 5, 2009. To find a Prometric Testing Center near you visit www.prometric.com/microsoft or call 1-800-755-3926.
New to CE: If you are new to developing for Windows Embedded CE, see below for resources to get you started.
Exam Preparation Kit: Microsoft and Windows Embedded Partner Adeneo have collaborated to create a free, downloadable Preparation Kit to help experienced CE developers prepare for the exam. The English, German, French and Simplified Chinese versions the Preparation Kit are available today. We’ll post additional versions in Japanese and Korean as they are available.
download the Preparation Kit today in a language of your choice!
Getting Started
If you are new to Windows Embedded CE 6.0 development, here are some great places to get started.
- Find an introductory class near you at a Windows Embedded Official Training Partner
- Use the Windows Embedded Developer Center on MSDN to find a wealth of articles, technical documentation, blogs, community, downloads, and more.
- If you speak Russian, please visit Quarta Technology’s Windows Embedded CE Knowledge Base.
- Books on Windows Embedded CE 6.0 Development
- English: Windows Embedded CE 6.0 Fundamentals (to purchase)
- English: Windows Embedded CE 6.0 Fundamentals (to download free online eBook)
- English: Programming Windows Embedded CE 6.0 Developer Reference, Fourth Edition
- Japanese: Windows Embedded CE 6.0 Developer – Embedded OS Development
- Russian: Introduction Windows Embedded CE 6.0
- English preview: Professional Microsoft Windows Embedded CE 6.0 – Preview the draft on Wrox’s Wiki.
Certification Specifics
Certification
Microsoft Certified Technology Specialist: Windows Embedded CE 6.0
Exam
Exam 70-571: TS: Microsoft Windows Embedded CE 6.0 Development
Languages: English, French, German, Japanese, Simplified Chinese, Korean
This exam was designed for developers with two to three years of experience in an embedded system environment, one year of experience using Windows Embedded CE, and six months of experience using Windows Embedded CE 6.0. Candidates may be an embedded developer, embedded engineer, device driver developer, board support package engineering developer, field application engineer, and/or quality assurance engineer. Candidates typically develop, implement, test, and support embedded devices. In addition, candidates should have a good understanding of Microsoft Visual Studio 2005 with Platform Builder, C, and C++. Get a full overview of the topics covered by the exam.
Write a great article for your chance to win a Microsoft Windows Mobile device valued at ~$1000 USD (or other great prizes)!
We’re looking for the best overall article about Microsoft Windows Mobile development. Entries will be largely judged by you, the mobile developer community, via The Code Project’s article voting mechanism and discussion boards. In order to qualify, articles must be submitted to the Mobile Development section of CodeProject.com between October 14, 2008 and January 14, 2009 at 11:59:59 PM US Eastern Standard Time. After the competition entry period has closed, our judges will determine the winners as follows:
- Grand prize: Overall Best Article
- This winner will receive a Microsoft Windows Mobile device valued at ~$1000 USD (such as the HTC Touch Pro)
- Judging criteria include article content, voter ratings and popularity
- Runner-up: Most Popular Article
- This winner will receive a Windows Mobile device valued at ~$300 USD (such as the HTC P3452 Touch Enhanced)
- Judging criteria include article content and popularity
- Runner-up: Most Discussed Article
- This winner will receive a Windows Mobile device valued at ~$300 USD (such as the HTC P3452 Touch Enhanced)
- Judging criteria include article content and forum discussion
Keep checking back for updated prize info once the contest gets under way! And if you're in need of ideas, some of these links might help get your juices flowing:
- Step by Step: Developing Resolution-aware and Orientation-aware Windows Mobile-based Applications in Native Code
- A Technical Comparison of Replication and Remote Data Access Features in SQL Server 2005 Mobile Edition 3.0
- Building Portable Windows Mobile-based Applications
- Step by Step: Understanding Windows Mobile Security Using the Device Security Manager
- What's New for Developers in Windows Mobile 6
- Dynamic Graphic Text Resizing
- Developing Stylus-free Windows Mobile Professional Applications
- How to Intercept Incoming Short Message System (SMS) Messages
- Establishing Network Connectivity with the Windows Mobile Connection Manager
- Application and Network Authentication with the .NET Compact Framework
- Qualifying articles must focus on Microsoft Windows Mobile-specific technologies and be submitted to the Mobile Development section of CodeProject.com.
- Platform: Win Mobile must be selected as an Article Attribute of all valid entries. This Article Attribute can be selected on the first page of the CodeProject.com article submission wizard when submitting your article online.
- The contest will begin on October 14, 2008 and end on January 14, 2009 at 11:59:59 PM US Eastern Standard Time. All entries must be submitted during this period in order to qualify.
- Our judges' decision is final and no correspondence will be entered into.
- Only those who live in jurisdictions in which this contest is legal may enter.
- Any breach of the rules will result in the prize being awarded to another entrant.
- By entering the contest you agree to the rules, conditions of entry, and agree that your name, member profile information, and article can be used for promotional purposes by The Code Project and Microsoft.
- Entries shall be deemed to be submitted by the authorized account holder of the e-mail address submitted at the time of entry unless clearly indicated otherwise. "Authorized account holder" is defined as the natural person who is assigned to an e-mail address by an internet access provider, on-line service provider, or other organization (e.g. business, educational institution, etc.) that is responsible for assigning e-mail addresses for the domain associated with the submitted e-mail address.
This competition is open to software development professionals & enthusiasts who are of the age of majority in their jurisdiction of residence. However, residents of Quebec and of the following countries are ineligible to participate due to legal constraints: Cuba, Iran, Iraq, Libya, North Korea, Sudan, and Syria. Employees (or a member of their immediate family) of The Code Project or of Microsoft or of any of their affiliates, subsidiaries, advertising or promotional agencies are also ineligible to participate. Void where prohibited by law.
Determination of WinnersAll entries must be posted in the Mobile Development section of the CodeProject.com website and possess the Article Attribute Platform: Win Mobile. All entries will be reviewed and rated by members of The Code Project community, as well as undergo the review of judges appointed by The Code Project. A winner will be determined by The Code Project's selected judges, after taking into consideration the comments and ranking of entries by members of The Code Project community, on the basis of which entry best meets the judging criteria set forth.
Judging criteria include
- Article rank and popularity on The Code Project
- How tightly an entry adheres to the conditions of entry, including article focus and scope
- Broad applicability to a wide variety of developers
- Overall article quality, coherence and structure
- Amount of discussion an entry generates in its forum area
Full conditions of entry can be found here.
This is a center from where you can download all stuff related to Windows Embedded. This place useful for new to windows embedded, professionals , commercial development.
You can download Trial version embedded CE, XP Embedded, standard embedded, Navready, latest updates, and also can apply for trial product key.
You need a Microsoft live ID to download any of these.
Downloads :
- Windows Embedded CE Download
- Windows Embedded Standard Download
- Windows XP Embedded Download
- Windows Embedded for Point of Service - Get the CD-ROM
- Windows Embedded NavReady - Download NavReady
- Windows Embedded NavReady - Windows Sideshow Device Components for WinCE 5.0
- Windows Embedded CE Updates on MSDN
- Windows XP Embedded Updates on MSDN
- Windows for Point of Service Update on MSDN
So, why will Windows Mobile be dead in a few years? Like Cringely, I think that several factors are at work here:
Windows Mobile is an awful platformNot only is it an epic fail in terms on being a cut-down version of Windows, it can also be flaky and highly unreliable. I’m not saying that all WM smartphones are rubbish (some, such as Samsung’s BlackJack were actually quite decent), but the experience between vendors was very variable. I think that developing a good WM device was expensive, hence roundabout announcement that they are exiting the high-end (read WM) phone game.
Internet Explorer for Windows MobileHello Microsoft …. was this supposed to be a joke applications or something?
There are too many competing platformsiPhone, Android, Symbian, RIM, Windows Mobile … that a crowded market.
The high-end cellphone market is only so big85% of folks out there are more than happy with a dumb handset.
Only so many developers to go aroundiPhone and Android platforms are attracting a lot of developer attention. With ready-made stores, Microsoft has nothing like this to offer developers. As much as I like the Symbian platform on my new Nokia, I have to admit that iPhone and Android have some cool apps.
Unless you’re #1 or #2, what’s the pointIs Microsoft really going to pour the money and commitment that Windows Mobile really needs if there’s no chance the platform can’t be at the #1 or #2 spot? I don’t think so.
Time for Windows Mobile to evolve or die … and I’m not holding my breath expecting to see any evolving.
Note that while building and running the filters and application directly from this distribution will work, it will not do anything interesting. Again this is template code, designed to abstract away the details of the DirectShow filter framework so developers can focus on adding the core functionality to their filters.
Download from Here
For the DirectShow Reference documentation, see
Microsoft plans to port its Zune music playing software to Windows Mobile devices, according to CEO Steve Ballmer. Zune software and services may become part of the upcoming Windows Mobile 7 operating system, though the company provided no further information.
Confirmation of the long-rumored move came during a lengthy interview with the U.K. magazine CIO. Ballmer told interviewer Martin Veitch, "What you’ll see more and more over time is that the Zune software will also be ported to and be more important not just with the hardware but on the PC, on Windows Mobile devices, etc."
"At the end of the day, one of the big trends is that all content is going digital. And if we don’t have the software and services that are useful, helpful and valuable for the consumption of music and video, we are sort of not really a player," added Ballmer.
Zune integration with Windows Mobile will apparently be a software-only gambit. Microsoft has repeatedly denied plans to brand its own "Zune phone," which would compete with the hundreds of Windows Mobile phones already being shipped.
Background
Microsoft's Zune PMP (portable media player) was first introduced in 2006, and is currently available in the five different models pictured below. Previously, the software giant has sought to distance the Zune from Windows Mobile, even though the device employs an ARM processor and uses a core operating system based on Windows CE.
The Zune's GUI (graphical user interface), called the "twist" interface by Microsoft, features typical music and playlist features, radio playback, and a "social" section that allows sharing songs and other information with other Zune owners. Like Windows Mobile's existing Windows Media Player, the Zune can play typical audio/video formats such as MP3, WMA, WMV, MPEG-4, and H.264. To this, it adds compatibility with Microsoft's Zune Marketplace file format.
Via the Zune Marketplace online store, users can purchase songs individually, either by WiFI or by syncing with a desktop computer. Additionally, a "Zune Pass" permits downloading unlimited songs to a device for a $15 monthly fee. Finally, an interesting feature added to the latest Zune software release lets users tag a song being broadcast by an FM station for automatic later purchase, according to Microsoft.
In February, an entry on the Windows Mobile team's blog revealed that Microsoft is seeking ways to better integrate the Zune and Windows Mobile. Program manager Mel Sampat posted, "I'm wondering if there are any opportunities for us to improve the experience for people who use both devices. For example, viewing your Zune Social network in Internet Explorer Mobile, converting a Zune playlist into .WMA ringtones, [or] converting Zune's artwork to Windows Mobile themes."
However, Sampat added, "I'm certainly not hinting or speculating about a converged device," to the apparent frustration of many. For example, commenter Jef Kazimer wrote, "Windows Mobile needs to be the platform, and make Zune the ecosystem that runs on that platform. Make Zune the centerpiece for its core uses (Music, Video, Photos, Podcasts) and deprecate the Windows Media Player."
Download following ZIP file, extract it and run the .EXE file. After that you can apply the theme from Desktop Properties. A sweet wallpaper is also included in the pack.
Download Official Embedded Theme for Windows XP and 2003
Thanks to vishal for finding out askvg.com
1920×1200 | 1650×1050 |
1600×1200 | 1280×1024 |
1280×800 |
Just click on the above thumbnails for which ever screen resolution you need and in Flickr - choose "All sizes" and then "Original". Right-click and download away!
These wallpapers were uploaded to Flickr using Windows Live Photo Gallery Beta - available at download.live.com.
Date : 20th September 2008 (Saturday)
Venue : IISc, CEDT Seminar Hall, Bangalore
Registration : Free for First 100 members
Time | Topic |
09:30 | What, why, who, and how of open source |
10:30 | Quick overview of the Beagle Board |
11:00 | How does Beagleboard.org help students & startups in India |
11:30 | Break |
12:00 | Q &A and Discuss lab setup to boot Linux on beagleboard |
01:00 | Lab #1 (Build and Boot Linux) |
01:45 | Lunch |
02:30 | Validation Procedure for Peripherals on Beagle Board |
03:00 | Participating and Contributing to Open Community |
04:00 | Open discussion |
Agenda:
- Enable Students in India to develop s/w on embedded devices with Open Community.
- Training students in using the embedded platform for s/w development
- Give a big picture of what’s going on in the industry with Open Platforms.
- Benefits of working with Open Community and beagleboard.org in particular.
Audience & expertise:
- Students (2nd / 3rd year preferable) with very minimal knowledge of Linux,
- Students who are passionate about Open Source Linux kernel and s/w development for embedded platforms.
Registration:
- Through mail (khasim@beagleboard.org) with subject as “[OSDB] Attendee OSD Beagleboard at IISc 20-Sept-08”.
- Please mention College and Course undergoing.
Please NOTE this event is organized for “Students ONLY”
Source : http://code.google.com/p/beagleboard/wiki/Trainings
a. Using a .cab file.
b. Manually modifying workspace files to include the driver into a platform build.
For our examples, we will assume that a fundamental knowledge of building a standard image is already known and that we are working with an existing workspace.
*Using a .cab file:
· Often times the 3rd party vender will provide the driver files and registry entries in the form of a .cab file. This allows the user to double click the .cab file to install all necessary drivers, resource files, and registry entries into their appropriate location.
a. Key Notes about .cab files:
i. Usually disappear upon implementation (make a copy!)
ii. Created using Visual Studio
iii.To use in your platform, CAB File Installer/Uninstaller must be added to the workspace in Platform builder.
*Manually adding in a 3rd party driver:
1) 3rd party vendor will provide the necessary driver .dll file, .reg file, and .bib file to be added to your workspace.
2) Once you have the necessary files from the vendor, open the workspace that will have the 3rd party driver added to it.
3) You will need to add the driver file in question into the workspace release folder (In this example we will use a touch screen driver):
Ex:\WINCE600\OSdesign\ABC\RelDir\ABC_ARMV4I_Release
(Our touch screen driver in this case will called “touch_ce.dll”)
4) Open the platform.bib file and add the following entry provided by the vendor:
touch_ce.dll $(_FLATRELEASEDIR)\touch_ce.dll NK SH
Save and exit text editor
5) Open the platform.reg file and add the following entry provided by the vendor:
[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\TOUCH] "DriverName"="Touch_CE.dll"
"CalibrationData"="2161,2497 701,1418 693,3573 3542,3545 3516,1399"
"MaxCalError"=dword:10
Save and exit text editor
6) Go back to workspace that will have the 3rd party driver added and select “Make Run-Time Image" from the Build OS drop down menu.
2) There are two ways to get the application to run depending on at what point you want the application to run.
a. Before anything else runs (ie. explorer)
b. After system has settled at the desktop.
*Before Anything else runs:
· Open platform.reg and add the following line:
"Launch50"="MyConfigurator.exe"
"Depend50"=hex:14,00,1E,
You can have multiple dependencies; for our case the dependencies will be on hex:14,00,1e,00 (Launch20 and Launch30), so both Device and GWES need to be up and running before the shell starts.
Go back to workspace that will have the Auto Run application added and select “Make Run-Time Image from the Build OS drop down menu.
* After system has settled at the desktop
· You simply need to change the code previously added in the platform.reg file to the following:
"Launch79"="MyConfigurator.exe"
"Depend79"=hex:14,00,1E,00
Download Video
Microsoft describes the online driver database as "an extensive list of device drivers supported on Windows Embedded CE from Microsoft, Windows Embedded Partners, and third-party manufacturers." According to the company, the drivers listed are divided into three types:
- PQD -- These "product quality developed" drivers were developed and distributed by Microsoft, and are incorporated into Microsoft's IDE (integrated development environment)
- Microsoft-validated -- These are third-party drivers that were submitted to Microsoft via its Windows Embedded CE validation program, and passed standard quality performance tests
- Non-validated-- These are third-party drivers that were not submitted to Microsoft for validation, but which are posted on the list "to generate product awareness"
Meanwhile, Microsoft's BSP (board support package) database provides "an extensive list of BSPs supported on Windows Embedded CE," according to the company. Pull-down menus allow searching the BSP database by Windows CE version, CPU name, processor family (such as MIPS, Xscale, or x86), and certification status, says Microsoft.
In addition, check boxes allow users of the database to narrow down their search by one or more target device categories. Device categories in the database are listed in the following order:
- GPS
- Medical systems
- VoIP
- Thin client
- Kiosk
- Printer
- Gaming
- Handheld terminal
- Datacom
- Digital media player
- Digital TV
- Projector
- DVD player
- Test and measurement
- STB (set-top box)
- POS terminal
- Digital camera
- Digital video player/recorder
- Industrial and building automation
- Other
Driver database link
What about the future, the future of Windows Embedded drawn? I have a lot of people are curious. But when the announcement OEM technical seminars twice yearly for those who just confusing, and I tried to express a picture of a beautiful chapter. This information is last week's Directions on Microsoft, announced in a magazine about a reference.
So far, and Windows Embedded OS platform is a lot of cases, the new name was used a lot of confusion caused to customers both in a series of Windows Embedded cleanup.
First, Windows CE is named Windows Embedded Compact will change. The new version is the end of 2009 or 2010 bomjjeumeuro expectations. Currently codenamed Windows Embedded "7" in progress. Meanwhile, Windows CE-based personal navigation device embedded with the new platform, Windows Embedded NavReady 2009, designed in 2008 has been announced officially in June.
Second, Microsoft's Smartphone platform, called and the next generation of Windows Mobile "7" is scheduled to announce the years of 2009. In the meantime, this version of the Windows CE 1.0 kernel when it was used to smash through integration into the kernel bulryeojin addition to the kernel and Windows Embedded CE 6.0 R2 will enable users to more easily and conveniently to improve and expand UX. Yet because the veil ssatyeojyeo OEM / ODM sa upcoming autumn comes, you can not tell you besides Preview SDK is a lot of news to tell you when the announcement is expected to pass.
All u need a hotmail account to download this.
Windows Embedded CE 6.0 Fundamentals Authors: Stanislav Pavlov and Pavel Belevsky Published: 07/30/2008 ISBN: 9780735626256 Publisher: Microsoft Press |
Contents at a Glance
1 Introduction
2 Operating System and Application Development Tools
3 Operating System Architecture
4 Build System
5 Board Support Package (BSP)
6 Driver Architecture
7 Starting the Operating System
8 Building Devices
9 Application Development
10 Testing Operating System Images
Glossary
link to download
Microsoft Press: Windows Embedded CE 6.0 Fundamentals by Stanislav Pavlov and Pavel Belevsky.
This book is intended for everyone who develops or plans the development of embedded devices based on Windows Embedded CE. If you are just learning about the Windows Embedded CE operating system, this book can serve as a starting point for further learning. If you are already familiar with Windows Embedded CE, this book provides advice and recommendations for application development.
Here's the chapter listing for the book:
- Chapter 1: Introduction
- Chapter 2: Operating System and Application
- Chapter 3: Operating System Architecture
- Chapter 4: Subsystem for Building an Operating System
- Chapter 5: Board Support Package (BSP)
- Chapter 6: Driver Architecture
- Chapter 7: Loading the Operating System
- Chapter 8: Building Devices
- Chapter 9: Application Development
Showcase your Windows Embedded CE development skills—earn the new MCTS certification for Windows Embedded CE 6.0. Exam 70-571 validates the skills and experience of seasoned Windows Embedded CE developers, and is available now at Prometric Testing Centers worldwide.
Get 50% off: The first 100 people to email a request to mswepp@microsoft.com will receive a voucher good for 50% off the exam price. One voucher per person please. Voucher expires August 30, 2008. See below for instructions on how to redeem 50% vouchers.
New to CE: If you are new to developing for Windows Embedded CE, see below for resources to get you started.
Exam Preparation Kit: Microsoft and Windows Embedded Partner Adeneo have collaborated to create a free, downloadable Preparation Kit to help experienced CE developers prepare for the exam. The English version of the Preparation Kit is available today. We’ll post additional versions in French, German, Japanese, Simplified Chinese, and Korean throughout June.
- Foreword, About the Authors – Download (English)
- Table of Contents, Introduction – Download (English)
- Chapter 01: Customizing the Operating System Design – Download (English)
- Chapter 02: Building and Deploying the Runtime Image – Download (English)
- Chapter 03: Performing System Programming – Download (English)
- Chapter 04: Debugging and Testing the System – Download (English)
- Chapter 05: Customizing a Board Support Package – Download (English)
- Chapter 06: Developing Device Drivers – Download (English)
- Glossary, Index – Download (English)
Getting Started
If you are new to Windows Embedded CE 6.0 development, here are some great places to get started.
- Find an introductory class near you at a Windows Embedded Official Training Partner
- Use the Windows Embedded Developer Center on MSDN to find a wealth of articles, technical documentation, blogs, community, downloads, and more.
- If you speak Russian, please visit Quarta Technology’s Windows Embedded CE Knowledge Base.
- Books on Windows Embedded CE 6.0 Development
- English: Programming Windows Embedded CE 6.0 Developer Reference, Fourth Edition
- Japanese: Windows Embedded CE 6.0 Developer – Embedded OS Development
- English preview: Professional Microsoft Windows Embedded CE 6.0 – Preview the draft on Wrox’s Wiki.
Certification
Microsoft Certified Technology Specialist: Windows Embedded CE 6.0
Exam
- Exam 70-571: TS: Microsoft Windows Embedded CE 6.0 Development
- Languages: English, French, German, Japanese, Simplified Chinese, Korean
- This exam was designed for developers with two to three years of experience in an embedded system environment, one year of experience using Windows Embedded CE, and six months of experience using Windows Embedded CE 6.0. Candidates may be an embedded developer, embedded engineer, device driver developer, board support package engineering developer, field application engineer, and/or quality assurance engineer. Candidates typically develop, implement, test, and support embedded devices. In addition, candidates should have a good understanding of Microsoft Visual Studio 2005 with Platform Builder, C, and C++. Get a full overview of the topics covered by the exam.
http://msdn2.microsoft.com/en-us/library/aa918430.aspx
What's new:
1. SD Bus Driver is updated to support 2.0 physical layer specification
2. SD memory driver updated to support SDHC card.
3. SD Host Controller is updated to support ADMA (Advanced DMA) (this require Hardware support in the host controller). This is a sample host controller that comes with Windows CE 6.0 R2, in x86.
A DLL can be loaded by more than one process. For every process the DLL's code segment is shared but each process gets its own data segment by default. Therefore if one process changes the value of the DLL's global variable, the other process can not get the modified value. For sharing some global variables of the DLL among several processes, we can use the shared data segment.
Example Code
// Global and static member variables that are not shared defined here.
...
// Begin the shared data segment
#pragma data_seg("SHARED")
// Define simple variables, the variable must be initialized here, otherwise it will not be shared.
int gSharedTest = 0;
// Do not define classes that require 'deep' copy constructors.
#pragma data_seg()
// End the shared data segment and default back to the normal data segment behavior.
// Tells the linker to generate the shared data segment.
#pragma comment(linker, "/section:SHARED,RWS")
Remarks
1) The upper "SHARED" is the name of the segment, you can use another name. It should be appeared both in the data_seg and comment part.
2) The address of the shared variable must lie in this data segment, so variables allocated from heap can not be shared.
3) The variable must be initialized otherwise it won't be shared.
Embedded Systems Using WinCE (eBook) by Asang Dani, Yashavant Kanetkar Windows CE (Compact Edition) is Microsoft's time-tested real-time OS for Mobile and Embedded devices. WinCE has proven itself as a robust platform for product development. Biggest challenge, however, is diversity of topics that one needs to master to harness the true power of WinCE. This training material we hope will address that need. It captures more than 3 years of experience that we have gathered while doing WinCE training and product consulting in the Asia Pacific region. Table Of Contents
|
Source : http://quest.ksetindia.com/product_info.php/Product/eBook_Embedded_Systems_Using_WinCE