Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by vicknick. 06/13/24 08:51
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 1,209 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19059 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Saving and loading files under vista. #236235
11/12/08 22:59
11/12/08 22:59
Joined: Oct 2003
Posts: 130
Wollongong Australia
J
Jethro Offline OP
Member
Jethro  Offline OP
Member
J

Joined: Oct 2003
Posts: 130
Wollongong Australia
We have a game that writes and reads external files to a sub-folder of the game folder. This works perfectly under XP, however some vista systems don't like us using this sub folder, even with admin rights. We get the E1514 error which means it didn't get a file handle when try to write to the file.

What are the rules with Vista and where you can and can't write files to?

What is the safest way to do this so it will work on all systems.

I'm thinking write them to the game folder in the published version.

Thanks in advance.

Re: Saving and loading files under vista. [Re: Jethro] #236242
11/13/08 00:15
11/13/08 00:15
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
:?

it should be same, i can read write files in subfolders using vista.


3333333333
Re: Saving and loading files under vista. [Re: Quad] #236306
11/13/08 14:31
11/13/08 14:31
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
I can confirm this. File operations work under Vista 100% like on XP or older versions. You just should write the files into subfolders of the application.


Always learn from history, to be sure you make the same mistakes again...
Re: Saving and loading files under vista. [Re: Uhrwerk] #236879
11/17/08 00:04
11/17/08 00:04
Joined: Oct 2003
Posts: 130
Wollongong Australia
J
Jethro Offline OP
Member
Jethro  Offline OP
Member
J

Joined: Oct 2003
Posts: 130
Wollongong Australia
Yes, I have no problems either on my Vista system, however my Publisher was having trouble on their system, with installed version from CD Master.

I should have pointed out, this is not quite a normal setup.
My application is called from my publishers Director Project.
And it was losing admin rights in the running of my project.

Apparently thay had to write a manifest to tell Vista to run my application with administrator privileges.

Thanks for your feedback.

Jethro.


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1