Re: ReadFile failed for a file in release directory WM6.1
- From: tpandey02@xxxxxxxxx
- Date: Sun, 28 Sep 2008 20:00:47 -0700 (PDT)
On Sep 27, 12:44 pm, "Dean Ramsier" <ramsiernos...@xxxxxxxxxx> wrote:
Is the file you're trying to read one that is included as a MODULE in the
image? If so, you can't do it. It's not really a file anymore.
--
Dean Ramsier - eMVP
BSQUARE Corporation
<tpande...@xxxxxxxxx> wrote in message
news:b6fe33fd-d67a-4f9c-83f0-f59b25e42dea@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Sep 26, 2:04 pm, tpande...@xxxxxxxxx wrote:
On Sep 26, 1:50 pm, "Chris Tacke, eMVP" <ctacke.at.opennetcf.dot.com>
wrote:
Sure, stop trying to read files in ROM. What exactly are you trying to
accomplish? Maybe we can provide a suggestion for an alternative.
--
Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded communityhttp://community.OpenNETCF.com
<tpande...@xxxxxxxxx> wrote in message
news:33626ee1-7562-4ad5-adcb-f09df854af84@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi All,
I am trying to read a file ("\\windows\xxxx.dll") from my application.
I got the handle to the file but my read operation fails.
When I did GetLastError () I got something like 5L which says Access
Denied.
I can guess the problem is application trying to access Kernel file..
Can anybody help in this?
I will appreciate any help.
Tpandey- Hide quoted text -
- Show quoted text -
Thanks for the fast reply Chris.
My application has to read the file,calculate the checksum and then
has to display that in the dialog box against the file name.
The application is like when the device is already boot up ..you have
to browse through Start->Setting->My App and that will display the
application and its calculated checksum.
Ask me if you have any more query.
Tpandey- Hide quoted text -
- Show quoted text -
That will display the file (whose checksum is calculated) and the
checksum.
Thanks
Tpandey
Thanks Dean for the reply.
The file actually is a driver dll that I need to read.
I need to read that and calculate the checksum/hash and display that.
Is there any other way to do this coz I don't see in the source code
of WM 6.1 that they are calculating the hash for any particular driver
dll.
Appreciate any help.
Tpandey
.
- Follow-Ups:
- Re: ReadFile failed for a file in release directory WM6.1
- From: Bruce Eitman [eMVP]
- Re: ReadFile failed for a file in release directory WM6.1
- References:
- ReadFile failed for a file in release directory WM6.1
- From: tpandey02
- Re: ReadFile failed for a file in release directory WM6.1
- From: Chris Tacke, eMVP
- Re: ReadFile failed for a file in release directory WM6.1
- From: tpandey02
- Re: ReadFile failed for a file in release directory WM6.1
- From: tpandey02
- Re: ReadFile failed for a file in release directory WM6.1
- From: Dean Ramsier
- ReadFile failed for a file in release directory WM6.1
- Prev by Date: Re: Wifi reconnect
- Next by Date: RE: How to call KernelIOControl from Application
- Previous by thread: Re: ReadFile failed for a file in release directory WM6.1
- Next by thread: Re: ReadFile failed for a file in release directory WM6.1
- Index(es):
Relevant Pages
|