I have written a shell replacement in Visual Studio 2005 (Native C++
code, executable and DLL). It was working generally a week ago. When
I tried it today I got two problems.
1) when the device boots it starts the calibration screen, which does
not respond to touch screen touches.
2) After pressing ESC on an attached keyboard to get out of the
calibration screen, my shell paints itself, but does not start the
application it is configured to start.

I don't think the calibration issue is related, but thought I would
mention it. I am trying to figure out if there is a way to download
the image, attach the Visual Studio debugger and debug into my Shell?

Pat O
Cognex, Corp.

Re: Debug a shell replacement by Paul

Paul
Fri Nov 02 08:33:07 PDT 2007

If you are the device vendor, you would debug from Platform Builder, which
runs as a plug-in to the VS2005 environment. If you're replacing a shell in
a device for which you can't build a DEBUG OS, then you'll have to fall back
on serial port debug messages, log files, or something like that (you can
try the attach to process sort of debugging, but I've never used that in
CE6/VS2005). The touchscreen thing sounds like the touchscreen driver isn't
working right or your HAL interrupt handler isn't working right.

Paul T.

"Pat O" <pdohara@gmail.com> wrote in message
news:1194014902.500364.84030@57g2000hsv.googlegroups.com...
>I have written a shell replacement in Visual Studio 2005 (Native C++
> code, executable and DLL). It was working generally a week ago. When
> I tried it today I got two problems.
> 1) when the device boots it starts the calibration screen, which does
> not respond to touch screen touches.
> 2) After pressing ESC on an attached keyboard to get out of the
> calibration screen, my shell paints itself, but does not start the
> application it is configured to start.
>
> I don't think the calibration issue is related, but thought I would
> mention it. I am trying to figure out if there is a way to download
> the image, attach the Visual Studio debugger and debug into my Shell?
>
> Pat O
> Cognex, Corp.
>



Re: Debug a shell replacement by Pat

Pat
Wed Nov 07 17:58:53 PST 2007

On Nov 2, 9:33 am, "Paul G. Tobey [eMVP]" <p space tobey no spam AT no
instrument no spam DOT com> wrote:
> If you are the device vendor, you would debug from Platform Builder, which
> runs as a plug-in to the VS2005 environment. If you're replacing a shell in
> a device for which you can't build a DEBUG OS, then you'll have to fall back
> on serial port debug messages, log files, or something like that (you can
> try the attach to process sort of debugging, but I've never used that in
> CE6/VS2005). The touchscreen thing sounds like the touchscreen driver isn't
> working right or your HAL interrupt handler isn't working right.
>
> Paul T.
>
> "Pat O" <pdoh...@gmail.com> wrote in message
>
> news:1194014902.500364.84030@57g2000hsv.googlegroups.com...
>
>
>
> >I have written a shell replacement in Visual Studio 2005 (Native C++
> > code, executable and DLL). It was working generally a week ago. When
> > I tried it today I got two problems.
> > 1) when the device boots it starts the calibration screen, which does
> > not respond to touch screen touches.
> > 2) After pressing ESC on an attached keyboard to get out of the
> > calibration screen, my shell paints itself, but does not start the
> > application it is configured to start.
>
> > I don't think the calibration issue is related, but thought I would
> > mention it. I am trying to figure out if there is a way to download
> > the image, attach the Visual Studio debugger and debug into my Shell?
>
> > Pat O
> > Cognex, Corp.- Hide quoted text -
>
> - Show quoted text -

The image is CE 5.0. I am the device vendor.

Pat O
Cognex, Corp.