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

Re: MFC application development and debugging by Mazzo

Mazzo
Mon Jul 07 10:52:19 PDT 2008

On Jul 7, 12:34=A0pm, Selin Metin <nosp...@this.mail> 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-ma=
naged-application-using-VS-2005_2E00_.aspx

Regards Mazzo

Re: MFC application development and debugging by Selin

Selin
Tue Jul 08 02:02:15 PDT 2008

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...@this.mail> 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

Re: MFC application development and debugging by Selin

Selin
Tue Jul 08 07:36:02 PDT 2008

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...@this.mail> 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