Running from Built-in storage. Urgent.

  • Thread starter Thread starter fhunter
  • Start date Start date
F

fhunter

Hi,
We have a .Net application that runs great on the device
(PocketPC) when installed into main memory. However, when
we install the application to built-in storage the
application throws an error:

A managed argument exception
occurred at MISC::HandleAR_0x44
MISC::HandleAR+0x44
Bimap::InitFromMemorytream+0X49
Bitmap::_InitFromStream+0X33
Resources::GetBitmap+0X1a
....

In another device we get currupted bitmap files and
eventually a crash error. Again everything works fine
when installed to Main Memory.

Has anyone come across a similar problem? Are there any
solutions?

Thank you
Francine Hunter
 
I've run .NET CF applications from Compact Flash cards with no problem at
all. What sort of device, specifically, is this?

Paul T.
 
There should NOT be a problem runnig an applicaiton from CF. The error you
get might be due to a file you try to open that does not exist in your
local path. It may also be a native DLL you are trying to load. Debug you
application and find out.

Bardak
--------------------
From: "Paul G. Tobey [eMVP]" <ptobey_no_spam@instrument_no_spam.com>
References: <[email protected]>
Subject: Re: Running from Built-in storage. Urgent.
Date: Thu, 8 Jan 2004 08:20:52 -0700
Lines: 33
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <[email protected]>
Newsgroups: microsoft.public.dotnet.framework.compactframework
NNTP-Posting-Host: s2.instrument.client.aces.net 198.182.119.2
Path: cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!cpmsftngxa09.phx.gbl!TK2MSFTNGP08.
phx.gbl!tk2msftngp13.phx.gbl
Xref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.framework.compactframework:42462
X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework

I've run .NET CF applications from Compact Flash cards with no problem at
all. What sort of device, specifically, is this?

Paul T.

fhunter said:
Hi,
We have a .Net application that runs great on the device
(PocketPC) when installed into main memory. However, when
we install the application to built-in storage the
application throws an error:

A managed argument exception
occurred at MISC::HandleAR_0x44
MISC::HandleAR+0x44
Bimap::InitFromMemorytream+0X49
Bitmap::_InitFromStream+0X33
Resources::GetBitmap+0X1a
...

In another device we get currupted bitmap files and
eventually a crash error. Again everything works fine
when installed to Main Memory.

Has anyone come across a similar problem? Are there any
solutions?

Thank you
Francine Hunter
 
A Dell Axim 3.
The Bitmaps being displayed are being currupted. We get
scrambled color pixels midway of some bitmaps, the rest
of the bitmap shows up black.
 
The Bitmaps being displayed are being currupted. We get
scrambled color pixels midway of some bitmaps, the rest
of the bitmap shows up black. So I amnot surprise to see
the application crash. This curruption can not be a
programming error.

HOw can I debug the application is it has to run from the
Built-in storage??
-----Original Message-----
There should NOT be a problem runnig an applicaiton from CF. The error you
get might be due to a file you try to open that does not exist in your
local path. It may also be a native DLL you are trying to load. Debug you
application and find out.

Bardak
--------------------
From: "Paul G. Tobey [eMVP]"
References: <[email protected]>
Subject: Re: Running from Built-in storage. Urgent.
Date: Thu, 8 Jan 2004 08:20:52 -0700
Lines: 33
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <[email protected]>
Newsgroups: microsoft.public.dotnet.framework.compactframework
NNTP-Posting-Host: s2.instrument.client.aces.net 198.182.119.2
Path: cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!
cpmsftngxa09.phx.gbl!TK2MSFTNGP08.
phx.gbl!tk2msftngp13.phx.gbl
Xref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.framework.compactframework:42462
X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework

I've run .NET CF applications from Compact Flash cards with no problem at
all. What sort of device, specifically, is this?

Paul T.

.
 
That's too weird to be obviously related to running off of built-in storage.
Write code in C/C++ to display the bitmap and see if that, also has problems
traceable to where the EXE is stored. I think it's more likely a problem
with how your program is written, but I don't see an obvious cause. How
much free space is left on the storage after you copy the EXE there? The
bitmap is a resource stored inside the EXE? Or it's an external .BMP file?
What code are you using to display the bitmaps?

Paul T.
 
Back
Top