Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / GetWritePath gives different results when debugging

Author
Message
Jambo B
15
Years of Service
User Offline
Joined: 17th Sep 2009
Location: The Pit
Posted: 29th Jul 2015 15:11
The manual says:

Quote: "The write folder (which also has read permission), is located in a platform safe location and is different depending on the device. On Windows, for example, the default write location is C:\Users\username\AppData\AGKApps\appName"


Using OpenToWrite() creates the file here as described, and GetWritePath() returns the location above as described. Fine.

When running with the debugger, however, the write path changes to:

C:\Users\username\AppData\Local\AGKApps\Windows\game name

...according to GetWritePath()

Curiously, using OpenToWrite() does not create the file here, it still appears in the original location (C:\Users\username\AppData\AGKApps\appName).

What's that all about?

- James
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 29th Jul 2015 19:24
what said GetFolder()?
before it was called current dir.

AGK 108 (B)19 + AppGameKit (Steam) V2 Beta .. : Windows 8.1 Pro 64 Bit : AMD Radeon R7 265 : Mac mini OS X 10.10 (Yosemite)

Login to post a reply

Server time is: 2024-11-25 19:44:26
Your offset time is: 2024-11-25 19:44:26