Re: MFC application development and debugging



According to the following post, I gave static IP address and subnet mask values for my platform in the platform.reg file, and then set this same IP address in the options/devices menu to connect to the target.

http://groups.google.com/group/microsoft.public.dotnet.framework.compactframework/browse_thread/thread/5331e79b299b56f3/d406600f7ef80410?lnk=gst&q=conmanclient2#d406600f7ef80410

However, I still receive the same "device is not ready" error when I try to debug with the instance of VS 2005 which I develope the application. Any more ideas about this problem?

Selin


Selin Metin schrieb:
I'm using CE 6.0
I read the blog and also did the MS virtual lab for this subject. However, although conmanclient2.exe and cmaccept.exe run on the target, the application cannot be deployed to the target and I get the following error:
1>Device is not ready. If target is an ActiveSync device, verify whether ActiveSync connection is running.
1>
1>Connect to device failed.

And I'm not developing a managed application also, I only need the MFC libraries which come with the .NET framework dependencies.

I download the image through ethernet and KITL is active, but when I try to connect to the device with the second instance of VS2005, I receive connection errors.

Selin


Mazzo schrieb:
On Jul 7, 12:34 pm, Selin Metin <nosp...@xxxxxxxxx> wrote:
Hi,

I want to use MFC as the development method of my application. After a
research, I learned that I have to make a new SDK project and use this
new SDK as the target platform of an MFC project in VS2005.

Everything is fine until here. Now, I want to debug the OS and the
application at the same time, as I used to do with Windows CE 4.2. Also,
I want to use KITL over ethernet connection to do the debugging. I use 2
instances of VS. I download the OS image with one of the VS instances,
the system boots and I see the desktop. Then what should I do to
download the application on this system and debug through the ethernet
connection? Is there a method to build and include the application code
in the image as a subproject and debug like an api application? I
couldn't find a step-by-step explanation and I really do not want to use
ActiveSync connection.

Thanks in advance,
selin_at_heitec

Hello,

Windows CE 5.0 or Windows CE 6.0?

Maybe this will help you:
http://blogs.msdn.com/mikehall/archive/2006/10/03/CE-6.0_3A00_-Writing-a-managed-application-using-VS-2005_2E00_.aspx


Regards Mazzo
.



Relevant Pages

  • Re: MFC application development and debugging
    ... However, although conmanclient2.exe and cmaccept.exe run on the target, the application cannot be deployed to the target and I get the following error: ... If target is an ActiveSync device, verify whether ActiveSync connection is running. ... I download the image through ethernet and KITL is active, but when I try to connect to the device with the second instance of VS2005, I receive connection errors. ... Windows CE 5.0 or Windows CE 6.0? ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Trying to wrap my head around WinCE development process
    ... connection to any host required). ... Copy a couple of tools onto your target ... If the connection succeeds, you can now deploy, and debug the same as you ... This complaining about activesync is nonsense, you dont need it, I also saw ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Need Help in Debugging StandAlone WInCE 6.0 App using PB/VS 20
    ... CoreCon won't know anything about any Ethernet and won't work. ... I've never tried to debug both the operating system and a application using ... I have solid connectivity with my target via KITL debugging, ... TCP/IP connection is solid. ...
    (microsoft.public.windowsce.app.development)
  • cannot establish a debug connection
    ... creating a debug session immediataly after downloading an image. ... I just encountered a problem where the target displays "Initializing debug ... The connection is via ethernet. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: How to let windbg stop at somewhere drivers code
    ... when you have establised a connection with the target. ... Debug | go, ...
    (microsoft.public.development.device.drivers)