Re: auto_ptr not recognised in smartphone project

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



tech1 wrote:
auto_ptr<int> p(new int);

It compiles fine for PPC but i get the following error for Smartphone
why?

error C2065: 'auto_ptr' : undeclared identifier

#include <memory> ?
std::auto_ptr<> ?

If both don't work, the problem is the crippled C++ implementation that
comes for CE, but this can be helped by replacing the standardlibrary with
e.g. STLport (free) or Dinkumware's ($$$).

Uli

.



Relevant Pages

  • auto_ptr not recognised in smartphone project
    ... I created a test MFC project for PocketPc and Smartphone ... It compiles fine for PPC but i get the following error for Smartphone ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: Future of PDAs
    ... any reduction in the number of Pocket PCs made. ... JASJAM - PPC ... believe it or not, a SmartPhone. ... doesn't appear to me that features are going away. ...
    (microsoft.public.windowsce.embedded)
  • Re: SmartPhone and PPC Mobile 5.0
    ... I'd be surprised if the calling times for a few additional methods ... > Second question is how far the UI of a PPC can be adapted to Smartphone? ... >> platforms easily without or at least, ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Use of the ceAppMgr
    ... The solution will be somewhat different for PPC and Smartphone. ... Obtain rapistart utility (part of Windows CE Dev powertoys) from: ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Synchronisation problem with winCE 4.20 and winMobile 5.0
    ... Thanks for the tip on the log file. ... That entry has both a key for the PPC as for the Smartphone. ... >> all appointments) and reports service code 1. ...
    (microsoft.public.pocketpc.activesync)