Delphi-PRAXiS
Seite 2 von 3     12 3      

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Win32/Win64 API (native code) (https://www.delphipraxis.net/17-win32-win64-api-native-code/)
-   -   Delphi Änderungsdatum ändern (https://www.delphipraxis.net/120286-aenderungsdatum-aendern.html)

Larsi 8. Sep 2008 18:54

Re: Änderungsdatum ändern
 
Zitat:

Zitat von Fussball-Robby
Zitat:

Zitat von new32
Mit SetFileTime kannst du das Erstellungsdatum und das Datum des letzten Zugriffes und der letzten Änderung ändern.


Das Problem ist ja dass alle dies eine Frage dazu haben sodass ich ein Code Beispiel habe für das Änderungsdatum sind.

DeddyH 8. Sep 2008 19:12

Re: Änderungsdatum ändern
 
Zitat:

Zitat von Larsi
Das Problem ist ja dass alle dies eine Frage dazu haben sodass ich ein Code Beispiel habe für das Änderungsdatum sind.

Du müssen Beispiele in Code den anderem auch mit Datum probieren anderes aus. ^^SCNR

Die Muhkuh 8. Sep 2008 19:13

Re: Änderungsdatum ändern
 
http://msdn.microsoft.com/en-us/library/ms724933.aspx

Valle 8. Sep 2008 19:40

Re: Änderungsdatum ändern
 
Zitat:

Zitat von Valle
Bei Google suchendelphi file change time

Du preist doch selbst die Suchmaschine immer so an. :gruebel:

Ergibt: http://www.scalabium.com/faq/dct0122.htm

Wo ist das Problem?

Mit freundlichen Grüßen,

Valle

Larsi 9. Sep 2008 13:55

Re: Änderungsdatum ändern
 
Das ändert aber auch nur den das Änderungsdatum obwohl da steht Erstellungsdatum! Kennt Ihr noch ne andere möglichkeit?

Die Muhkuh 9. Sep 2008 13:55

Re: Änderungsdatum ändern
 
Zitat:

Zitat von Die Muhkuh
http://msdn.microsoft.com/en-us/library/ms724933.aspx


DeddyH 9. Sep 2008 13:59

Re: Änderungsdatum ändern
 
Das war jetzt der 4. Verweis auf SetFileTime. Müsste nun hoffentlich angekommen sein.

Die Muhkuh 9. Sep 2008 14:04

Re: Änderungsdatum ändern
 
Ich poste es auch noch mal, wenn es sein muss :zwinker:

Larsi 9. Sep 2008 14:15

Re: Änderungsdatum ändern
 
Ich habe mir das zwar angeguckt aber mein Problem ist jetzt dass ich nicht weiß wie ich DateTime zu FFileTime machen kann. Hat da jemand nen Vorschlag?

DeddyH 9. Sep 2008 14:20

Re: Änderungsdatum ändern
 
Jo, Hier im Forum suchenSetFileTime und nachsehen, wie andere das machen (DateTimeToSystemTime, SystemTimeToFileTime, ...).


Alle Zeitangaben in WEZ +1. Es ist jetzt 03:20 Uhr.
Seite 2 von 3     12 3      

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