Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Unable to find MFC catalog item in PB for Windows CE 6.0

9 views
Skip to first unread message

Mark

unread,
Nov 22, 2006, 6:28:03 PM11/22/06
to
Hello Fellow Creators:

The Catalog Item View for Platform Builder for Windows CE 5.0 allowed
users to select the "Microsoft Foundation Classes (MFC)" item from the
"Applications and Services Development" section.

The item does not appear in the Catalog Item View for Platform Builder
for Windows CE 6.0.

The Help files mention that this item is only available for
display-based OS designs. However, regardless of my choice of Design
Template or Board Support Package, the item never appears in the
Catalog Item View.

How can I add the MFC catalog item?

Thanks in advance !


Mark.

zyx

unread,
Nov 23, 2006, 4:18:20 AM11/23/06
to
Hi,
I too have the same prolem.I have an application which runs on wince
5.0.Now I need to port it.Since wince 6.0 doesn't support standard SDK
I was trying to create a sample sdk.I created a sample smart device mfc
application with my sample sdk.I got few build errors.when I looked
thru the catalog item for sysgen_mfc it wasnt there.Have you got any
idea.I need to run a smart devcie mfc aplication finally.How to do it.
Thanks in advance

al...@idxonline.com

unread,
Nov 23, 2006, 7:47:07 AM11/23/06
to
Have you tried manually copying the MFCCE400d.dll from your CE 5
release directory to the CE 6 windows dir?

al...@idxonline.com

unread,
Nov 23, 2006, 7:54:37 AM11/23/06
to
Obviously that won't work because your build fails due to the missing
dependency - oops. I see it is also missing from my build....if
importing a catalogue item was a straightforward affair, it might be
possible to introduce manually, but that's a whole different story by
the looks of things...

Mark

unread,
Nov 24, 2006, 6:09:40 PM11/24/06
to
Hi :

I found the information I was looking for via one of the Microsoft
Virtual Labs. Here is a quote :

"Note that the MFC runtimes are not displayed in the CE 6.0 operating
system catalog, the MFC runtime DLLs ship with Visual Studio 2005 and
would need to be added to an operating system image manually - You
have two choices for writing MFC applications, statically linked MFC
(the default option), or dynamically linked MFC - the MFC runtime
DLLs can be found in the C:\Program Files\Microsoft Visual Studio
8\VC\ce\Dll\<processor> folder."

Another pertinent quote :

"Note: Your operating system image needs a number of components in
order to support MFC application development, the simplest way to add
the required support components is to add the Compact Framework support
component (but not add the Compact Framework itself)."

For more info, check out the pdf file that is accessible when you sign
up for the following (free) online virtual lab : Windows Embedded CE
6.0 Writing MFC/Native Applications.

Here is a link : http://rss.microsoftvirtuallabs.com/WindowsCE/rss.aspx

I hope this helps.

Mark.

Marc L.

unread,
Dec 5, 2006, 1:42:03 PM12/5/06
to
Hi:

Contrary to what we are used to with PB 5, the SDK Wizard for PB for
CE6 does not allow you to select "MFC for Windows CE Applications" when
specifying the development languages you want your SDK to support.
Thusly, the SDK you generated from your CE 6 image does not include the
"Mfc" folder we are used to finding after generating an SDK (with
MFC support) from a CE 5 image.

Instead, when porting or developing an application that uses your SDK,
you have to set your Visual Studio 2005 environment to point to the MFC
files that ship with Visual Studio 2005. Assuming a default install of
Visual Studio 2005, you can find the header files here - C:\Program
Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include. This will allow
you to compile your ported project.

As far as execution is concerned, you will have to add the MFC runtime
DLLs that ship with Visual Studio 2005 to your operating system image
manually. To do this, you can use the CE 6.0 CEFileWiz tool that is
downloadable from Mike Hall's blog :

http://blogs.msdn.com/mikehall/archive/2006/11/30/ce-6-0-cefilewiz.aspx

You may also want to read the comments from that blog. Mike explains
how the process of adding files is different from PB 5.

I hope this helps.


Marc.

zyx a écrit :

0 new messages