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

MFC application for Win CE 6.0

10 views
Skip to first unread message

ageisreiter

unread,
Jun 24, 2009, 8:56:01 AM6/24/09
to

I noticed that with Platform Builder for CE 6, the MFC catalog item is no
longer selectable from the Catalog View as it was with Platform Builder 5.
Now I have problems to build my MFC application with the SDK for my board. I
get the following message:

1>uafxcw.lib(viewedit.obj) : error LNK2019: unresolved external symbol
"const type_info::`vftable'" (??_7type_info@@6B@) referenced in function
"protected: virtual void __cdecl CEditView::CalcWindowRect(struct tagRECT
*,unsigned int)" (?CalcWindowRect@CEditView@@MAAXPAUtagRECT@@I@Z)
1>uafxcw.lib(docsingl.obj) : error LNK2001: unresolved external symbol
"const type_info::`vftable'" (??_7type_info@@6B@)
1>uafxcw.lib(doctempl.obj) : error LNK2001: unresolved external symbol
"const type_info::`vftable'" (??_7type_info@@6B@)

I think, that I need MFC support in my OS design. How can I add this?

And I read, that the MFC runtimes and header files are ship with Visual
Studio 2005, not with CE 6.0. Which files do I need to include to my MFC
project to build it?

Thanks,
Andreas

Paul G. Tobey [eMVP]

unread,
Jun 24, 2009, 12:13:58 PM6/24/09
to

You don't build it in. The scheme for MFC application development has
changed with CE6. Now, what Microsoft is expecting is that application
developers who use MFC will use the version that comes with Visual Studio.
That way, they don't have to keep updating the MFC in Platform Builder; you
always get the latest one that came with your version of Visual Studio.
When you create a new MFC-based application against your device SDK, you
should get the right stuff included by Visual Studio automatically. It
won't be stuff from the SDK, but from Visual Studio itself. I'll check this
out when I get a chance, but I don't have any CE6 SDKs ready-to-use...

Paul T.

"ageisreiter" <ageis...@discussions.microsoft.com> wrote in message
news:7F006B9E-A29C-4D18...@microsoft.com...

Michael Salamone

unread,
Jun 25, 2009, 10:50:16 AM6/25/09
to

Add C++ exception handling and RTTI (SYSGEN_CPP_EH_AND_RTTI). Then rebuild
your OS and SDK.

--
Michael Salamone
Entrek Software, Inc.
www.entrek.com


"ageisreiter" <ageis...@discussions.microsoft.com> wrote in message
news:7F006B9E-A29C-4D18...@microsoft.com...

0 new messages