Re: ReadFile failed for a file in release directory WM6.1

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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
.



Relevant Pages

  • Re: ReadFile failed for a file in release directory WM6.1
    ... That will display the file (whose checksum is calculated) and the ... The file actually is a driver dll that I need to read. ... of WM 6.1 that they are calculating the hash for any particular driver ...
    (microsoft.public.windowsce.platbuilder)
  • hexadecimal calculating: turning on the high bit
    ... I have hardly any experience with hexadecimal calculating and 'and' ... cHex: string; ... iChecksum: integer; ... I find that the only example that doesnt compute right the checksum ...
    (alt.comp.lang.borland-delphi)
  • Re: How to show a progress bar in sheet calculation?
    ... > Although Excel can display recalculation statistics in the status bar, ... >> Thank you, Norman. ... >>> Hi Zoo, ... calculating. ...
    (microsoft.public.excel.programming)
  • Re: How Extract The Fedorecore iso cd
    ... Checksum is calculated before burning the CD to make sure the ... For calculating the sum, follow the instructions here ... the images are good and you can burn them to CDs using Nero. ... If you are downloading the DVD image, the CD images are not required. ...
    (Fedora)
  • RE: Code works in debug only
    ... Display to the user on form only. ... I didn't know you could assign a value to a label? ... However "Calculating Score" only shows on the form when I put the breakpoint ...
    (microsoft.public.access.formscoding)