Re: Install problem (previous version of windows mobile)
r_z_aret_at_pen_fact.com
Date: 01/11/05
- Next message: r_z_aret_at_pen_fact.com: "Re: Development options for remote database application?"
- Previous message: r_z_aret_at_pen_fact.com: "Re: pocket PC programming using home edition visual studio.net 2003"
- In reply to: Benjamin: "Re: Install problem (previous version of windows mobile)"
- Next in thread: Dħbek: "Re: Install problem (previous version of windows mobile)"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 11 Jan 2005 15:47:27 -0500
On Mon, 10 Jan 2005 15:45:04 -0800, "Benjamin"
<Benjamin@discussions.microsoft.com> wrote:
>Thanks for the tip. I did edit the .inf file and added the BuildMax Value
>file and made the cab files again. My application is still crashing though.
>At this point I am hesitant to say that it is because of the warning message
>on install, because that only has to do with screen rotation and my screen is
>always in the normal portrait mode. The program works fine on the 2003
>emulator, but crashes at certain spots on the 2003 Pocket PC. Is there any
>way I can figure out what is causing the problems on the device?
1) Are you sure your app can handle the screen resolution of the
Pocket PC 2003 you've been testing? The rationale for the warning
during installation is/was that most apps built for earlier
generations of Pocket PC could only handle 320x240.
2) Usual causes for intermittent crashes are bad pointers, bad array
indices, etc. Symptoms usually show far from the actual cause. I use
ASSERTs to check pointers and array indices whenever I set or use
them, so I catch such bugs much closer to the actual problem.
3) When I run programs under the Windows CE debuggers, passing
INVALID_HANDLE_VALUE (defined in windows.h) to ::IsWindow causes a
hang. I haven't noticed this under "big" Windows or when my programs
run on their on (on real devices without a debugger).
4) Two ways to narrow down the location of a bug:
a) message boxes (crude, but effective)
b) break points and the debugger
Scatter a few around your code. If a crash consistently occurs between
two markers, you can move the markers closer until you can get close
enough to step through the code reasonably.
5) I have an app that runs well on many versions of Windows CE and
"big" Windows. But it crashes on Pocket PC 2003. On both devices I've
managed to borrow. I've got many ASSERTs that have caught bugs before,
but aren't being triggered. I've run the app using BoundsChecker, and
eliminated the few new problems that cropped up in the last few
months. If I run the program under the debugger, when it crashes and I
try to break, I can't (all threads are in system calls).
>
>"r_z_aret@pen_fact.com" wrote:
>
>> On Mon, 10 Jan 2005 12:09:05 -0800, "Benjamin"
>> <Benjamin@discussions.microsoft.com> wrote:
>>
>> clip
>>
>> >I have developed a program in Microsoft Visual Studio .Net 2003 using VB.NET.
>> >sqlce.ppc3.arm.cab, and finally install my program. With the new 2003 pocket
>> >pc devices I am having problems during the installation process. I went to
>> >install netcf.core.ppc3.arm.cab (.Net Compact Framwork) and it installed but
>> >gave me a popup of: "the program you have installed may not display properly
>> >because it was designed for a previous version of windows mobile software."
>>
>> I just used google (http://groups.google.com/advanced_group_search)
>> to look up that error message (exact phrase) and got 28 hits. I took a
>> quick look, which confirmed that you will find your answer.
>>
>> clip
>> -----------------------------------------
>> To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).
>>
>> Robert E. Zaret, eMVP
>> PenFact, Inc.
>> 500 Harrison Ave., Suite 3R
>> Boston, MA 02118
>> www.penfact.com
>>
-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).
Robert E. Zaret, eMVP
PenFact, Inc.
500 Harrison Ave., Suite 3R
Boston, MA 02118
www.penfact.com
- Next message: r_z_aret_at_pen_fact.com: "Re: Development options for remote database application?"
- Previous message: r_z_aret_at_pen_fact.com: "Re: pocket PC programming using home edition visual studio.net 2003"
- In reply to: Benjamin: "Re: Install problem (previous version of windows mobile)"
- Next in thread: Dħbek: "Re: Install problem (previous version of windows mobile)"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|