AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

TmxResourceStore

Ein Thema von mijack · begonnen am 18. Mai 2007 · letzter Beitrag vom 18. Mai 2007
Antwort Antwort
mijack

Registriert seit: 18. Mai 2007
11 Beiträge
 
Delphi 2007 Enterprise
 
#1

TmxResourceStore

  Alt 18. Mai 2007, 11:05
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 .
  Mit Zitat antworten Zitat
Benutzerbild von Bernhard Geyer
Bernhard Geyer

Registriert seit: 13. Aug 2002
17.173 Beiträge
 
Delphi 10.4 Sydney
 
#2

Re: TmxResourceStore

  Alt 18. Mai 2007, 11:09
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.
Windows Vista - Eine neue Erfahrung in Fehlern.
  Mit Zitat antworten Zitat
Assertor

Registriert seit: 4. Feb 2006
Ort: Hamburg
1.296 Beiträge
 
Turbo C++
 
#3

Re: TmxResourceStore

  Alt 18. Mai 2007, 11:37
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
Frederik
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 10:22 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