Wrox Programmer Forums
Book: Professional Microsoft Windows Embedded CE 6.0 ISBN: 978-0-470-37733-8
This is the forum to discuss the Wrox book Professional Microsoft Windows Embedded CE 6.0 by Samuel Phung; ISBN: 9780470377338
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Book: Professional Microsoft Windows Embedded CE 6.0 ISBN: 978-0-470-37733-8 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old May 2nd, 2010, 02:18 PM
Registered User
Join Date: May 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with 'Clone Public Code to BSP'

In section 2 of Chapter 3 (Clone Public Code to BSP), when building myvga.dll you appear to assume that a MyOSDesign project has already been created and that a MyVGA.sln exists. Both of these are not the case for someone following your detailed steps from the online version of the book. This is the first mention of MyOSDesign in the book and none of the provided software installs create it either.

When I try to setup my own MyOSDesign project (not sure which device profile to use) and MyVGA.sln to build myvga.dll, I see the following build errors:

------ Build started: Project: MyOSDesign, Configuration: MyCEPCBSP X86 Release Platform Builder (_TGTCPU) ------
C:\WINCE600\PLATFORM\MyCEPCBSP\src\drivers\MyVGA\s ources
Starting Build: set WINCEREL=1&&build&&makeimg
BUILD: [Thrd:Sequence:Type ] Message
BUILD: [00:0000000000:ERRORI] Failed to initialize from CECONFIG.H.
BUILD: [00:0000000001:PROGC ] Files Warnings Errors
BUILD: [00:0000000002:PROGC ] Other 0 0 1
BUILD: [00:0000000003:PROGC ]
BUILD: [00:0000000004:PROGC ] Total 0 0 1
BUILD: [00:0000000005:PROGC ]
BUILD: [00:0000000006:PROGC ] 0 Warnings, 1 Errors
BUILD: [00:0000000007:PROGC ] GetSystemTimes (seconds): Idle: 0 Kernel: 0 User: 0
BUILD: [00:0000000008:PROGC ] Elapsed time (seconds): 0
Build for Windows CE (Release 601) (Built on Aug 17 2006 15:18:52)
File names: Build.log Build.wrn Build.err Build.dat
CEFILTER: Failed opening C:\WINCE600\OSDesigns\MyOSDesign\MyOSDesign\Wince6 00\MyCEPCBSP_x86\cesysgen\sdk\inc\ceconfig.h
C:\WINCE600\PLATFORM\MyCEPCBSP\src\drivers\MyVGA\s ources - 1 error(s), 0 warning(s)
========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========

What are the missing steps to get this to work?

I am using the latest downloads of Windows CE 6.0 R3 along with the hundreds of patches and latest QFEs required. This is of course in VS2005.
Old May 5th, 2010, 12:31 AM
Registered User
Join Date: May 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Finally built

I finally got the MyVGA.dll built. I'm not sure exactly what the fix was.

I created a new OSDesign and followed some of the steps from http://download.microsoft.com/downlo..._Reference.zip in order to setup the components and ENVs.

I also ran 'sysgen' instead of 'Build' on MyVGA. This is likely the fix because C:\WINCE600\OSDesigns\MyOSDesign\MyOSDesign\Wince6 00\MyCEPCBSP_x86\cesysgen did not exist.

Either way, this is quite an omission for someone who is reading your book to learn Win CE 6.0 R3. Up until this point the steps were clear, but this set me back 3 days.
Old September 8th, 2010, 02:00 PM
Registered User
Join Date: Sep 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

OK, just hit same problem. Seems you need to build your project BEFORE building MyVGA. Sysgen didn't help any.

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with Formal Public Indentifiers smadden BOOK: Beginning XML, 4th Ed ISBN: 978-0-470-11487-2 0 November 20th, 2009 02:02 PM
public article - public articledetails _keysersoze_ BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 0 September 8th, 2007 08:38 AM
.net remoting problem while hosting in public IIS dotnetpranker C# 3 March 19th, 2007 07:05 AM
Passing Public Variables in Code-Behind striker9 ASP.NET 2.0 Basics 7 February 11th, 2006 03:54 PM
How to reference Public Variable in Code Gino Liu Access VBA 2 June 18th, 2003 01:42 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.