Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Object-Pascal / Delphi-Language (https://www.delphipraxis.net/32-object-pascal-delphi-language/)
-   -   Delphi TmxResourceStore (https://www.delphipraxis.net/92348-tmxresourcestore.html)

mijack 18. Mai 2007 11:05


TmxResourceStore
 
Hi every body , i use mxResourceStore to store files but what
I want is to add files at runtime , i was able to add file at runtime and all files are stored but when i close the Application and execute it again no file stored in mxResourceStore , so how can i keep these files stored .

Bernhard Geyer 18. Mai 2007 11:09

Re: TmxResourceStore
 
TmxResourceStore stores files in your Main-Application-Exe.
When you run the Exe you can't modify it. This is prohibit by Windows.

I don't know if you can configure TmxResourceStore to save the modified info's in a other Ressource-File? If so, you "only" have to find a directory where you have rights to read and write files.

Assertor 18. Mai 2007 11:37

Re: TmxResourceStore
 
What Operating System do you use? If it is Vista you may have problems with the Virtualization of the application folder.

As far as I know it is possible to change and even delete the currently running EXE file (except on Win9x) as Windows loads a copy of the executable into memory in order to execute it. The file is not locked under normal circumstances.

Just for testing I agree to Bernhard trying to have a second exe within your application's directory and see if it currently saves and loads the data.

Regards winkel79


Alle Zeitangaben in WEZ +1. Es ist jetzt 12:00 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz