Re: VS2005 compatibility
- From: r_z_aret@xxxxxxxxxxxx
- Date: Sat, 02 Sep 2006 10:18:08 -0500
On Fri, 1 Sep 2006 16:22:01 -0700, Long
<Long@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
I?m using Visual Studio 2005 C++ to write CE applications. Most of the
What SDK are you using?
simple programs are running OK. However, I find some my projects are
compiled successfully, but cannot run in the CE devices. For example, one of
What platform is on the devices?
my projects uses classes. I cannot use the new keyword to create an object
pointer, CMyClass* p = new CMyClass. Another one cannot use standard
template map, which is as simply as following,
#include "stdafx.h"
#include <windows.h>
#include <commctrl.h>
#include <map>
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
std::map<int, int> list;
list[0] = 0;
list[1] = 1;
return 0;
}
The compilation is no problem. It just cannot run on the target. Does
anyone have any idea?
A bit more details about the symptoms might help. What sort of error
messages do you see?
Are you using MFC? If so, are you sure the version of MFC you're
targeting matches the version of MFC on the devices?
-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).
Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 478
Boston, MA 02116
www.penfact.com
.
- Follow-Ups:
- Re: VS2005 compatibility
- From: Long
- Re: VS2005 compatibility
- Prev by Date: Re: How to Access Window Messages
- Next by Date: Re: VS2005 compatibility
- Previous by thread: Analyse audio peaks on a PocketPC
- Next by thread: Re: VS2005 compatibility
- Index(es):
Relevant Pages
|
Loading