Windows 7 Forums


Windows 7: 32 bit app can only read files under its own directory?

04 Jan 2010   #1

xp
 
 
32 bit app only reads files in own directory in 64 bit?

I have an exe I wrote which works fine on 32 bit OSes. However my users who run 64 bit windows 7 tell me that it's only able to read files under the directory where the exe is installed. If they use the exe to read a file anywhere else on the file system is throws an error.

I am assuming this has something to do with security but I don't know how to get 64 bit windows to pop up a screen or something to give the user a chance to give the exe permission to read files outside its own directory.

Any ideas on this?

One thing I've tried which didn't work was to copy a config xml file into the same directory as the exe called myExe.exe.config which contained the following:




<?xml version="1.0" encoding="UTF-8" standalone="yes"/>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<v3:trustInfo xmlns:v3="urn:schemas-microsoft-com:asm.v3">
<v3:security>
<v3:requestedPrivileges>
<v3:requestedExecutionLevel level="highestAvailable"/>
</v3:requestedPrivileges>
</v3:security>
</v3:trustInfo>
</assembly>


The users reported that had no effect. How can I fix this?
My System SpecsSystem Spec

04 Jan 2010   #2

Windows 7 & Windows Vista Ultimate
Upstate NY
 
 

Hi, userdude. I think you will have better luck getting help at the MSDN forums: http://social.msdn.microsoft.com/For...-US/categories
My System SpecsSystem Spec
Reply

 32 bit app can only read files under its own directory? problems?



Thread Tools



Similar help and support threads for: 32 bit app can only read files under its own directory?
Thread Forum
Solved How do I search for multiple files in a particular directory General Discussion
Solved .reg files open Notepad - do not change registry to read older files Microsoft Office
Replace files in multiple directory, from a single directory General Discussion
Can't see files recorded through game in directory. Gaming
Read-only files in My games?why can't I get read-write permission Gaming


All times are GMT -5. The time now is 07:46 AM.


Seven Forums Android App Seven Forums IOS App Follow us on Facebook

Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32