Re: VS2005 and Device Emulator



Hi Simon,

Thank you for your response.

The problem has been now resolved as I stated in my last post. I mentioned
in my first post that I had already installed the VS2005 SP1 as well as the
other patch, the VS2005 one for Vista.


Regards,
Neville Lang




"Simon Hart" <srhartone@xxxxxxxxx> wrote in message
news:96CF41E9-71E6-4A0B-B1A0-D268EC69666E@xxxxxxxxxxxxxxxx
Have you installed VS2005 SP1?

--
Simon Hart
http://srhartone.blogspot.com


"Neville Lang" wrote:

Hi Nino,

Thank you for the tip. My Solution contains 4 projects, 2 CF projects for
the device and 2 desktop projects. I had already changed one CF project
(the
main one) to target the "Windows Mobile 5.0 Pocket PC Device" but had not
thought about changing the other CF project - it was set to the default
(after migration) to "Pocket PC 2003 Second Edition Emulator". After
changing this CF project to target "Windows Mobile 5.0 Pocket PC Device",
the emulator now does not pop up.

Another thing I also learned when I was having trouble with some of my
Structures in my desktop Projects in this Solution, was that the SizeOf
my
structures had "doubled" in my Vista 64-bit environment. My app is
designed
for the 32-bit world (at the moment) and I found that in Vista 64-bit
that I
needed to change the "Platform Target" for these desktop apps from
"AnyCPU"
(the default) to "x86" in the Build section. It became apparent, when
AnyCPU
is set that it uses the current development computer's OS size - i.e.
64-bits, and that is why my Structure sizes had changed.

Hopefully, this information might be useful to anyone migrating their
32-bit
projects in VS2005 to Windows Vista 64-bit.

Regards,
Neville Lang



"Nino Benvenuti" <ni.no.spam@ninodotnet> wrote in message
news:%236exlBZbHHA.596@xxxxxxxxxxxxxxxxxxxxxxx
I have not experienced this before particular to Vista, but have you
switched _all_ of the projects in your solution to use the device
instead
of the emulator?

--
Nino Benvenuti
Device Application Development MVP
http://nino.net/blog


"Neville Lang" <neville@xxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:u$H9QXTbHHA.4312@xxxxxxxxxxxxxxxxxxxxxxx

I have just migrated my CF app from VS .NET 2003 to VS2005. VS2005 has
also been installed freshly onto Windows Vista 64-bit and both the
VS2005
SP1 and the Vista Update patches have been run.

In debugging my CF app, I always use a device, connected via the new
Mobile Device Center in Vista. However, when I press F5 to do a debug
session, the code not only downloads to my device and brings it up
there
for stepping through but also the Pocket PC 2003 Second Edition
Emulator
pops up too, and I always need to cancel it. My Target Device is set
to
"Windows Mobile 5.0 Pocket PC Device" so I do not know why the
emulator
has started up. Has anyone else encountered this situation on VS2005?
If
so, how do you prevent the emulator starting up.

Regards,
Neville Lang








.



Relevant Pages

  • Re: VS2005 and Device Emulator
    ... "Neville Lang" wrote: ... changing this CF project to target "Windows Mobile 5.0 Pocket PC Device", ... the emulator now does not pop up. ... structures had "doubled" in my Vista 64-bit environment. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: VS2005 and Device Emulator
    ... changing this CF project to target "Windows Mobile 5.0 Pocket PC Device", ... the emulator now does not pop up. ... structures had "doubled" in my Vista 64-bit environment. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Windows mobile 2003
    ... Pocket PC 2003 Emulator ... running Windows Mobile 2003 for Pocket PCs). ... >I have installed Microsoft Pocket PC 2003 SDK must I install Windows Mobile ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: VS2005 / Mobile APP
    ... Pocket PC 2003 template and emulator. ... Chris Tacke, Embedded MVP ... Windows Mobile 2003 Second Edition ...
    (microsoft.public.pocketpc.developer)
  • Re: Newbie here: Is there a virtual Pocket-PC for Win98SE/2000
    ... Windows Mobile 5.0 has a standalone emulator: ... The Windows Mobile 2003 emulator requires a Visual Studio or other ... Mauricio Freitas, Microsoft MVP Mobile Devices ... Software for Pocket PC and Smartphone: http://www.geekzone.co.nz/store ...
    (microsoft.public.pocketpc)