ReadFile failed for a file in release directory WM6.1



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
.