Autor Beitrag
jjturbo
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 516

Win2000 prof., WinXP prof.
D4 Stand., D5 Prof, D7 Prof, D2007 Prof.
BeitragVerfasst: Fr 01.10.04 10:32 
Moin Forum,

weiß jemand, wofür in einem Delphi-Projekt die DSM-Datei benötigt wird?
In der Hilfe habe ich darüber nichts gefunden, obwohl dort alle möglichen Dateitypen erklärt werden.

Dank Euch, jjturbo

_________________
Windows XP: Für die einen nur ein Betriebssystem - für die anderen der längste Virus der Welt...
Jörg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 71

Win 2000, Win XP
Delphi 1, 3, 5, 7
BeitragVerfasst: Fr 01.10.04 10:48 
Die gibt's bei mir gar nicht. Sicher, dass die so heißt?

Jörg.
jasocul
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 6395
Erhaltene Danke: 149

Windows 7 + Windows 10
Sydney Prof + CE
BeitragVerfasst: Fr 01.10.04 11:00 
Ich habe auch gerade eine gefunden :party: . Ist aber schon von 1999.
Wenn ihr unter Tools die Umgebungsoptionen einstellt, gibt es die Option Desktop-Inhalt. Wenn ihr da Desktop und Symbole auswählt, wird die erzeugt.
jjturbo Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 516

Win2000 prof., WinXP prof.
D4 Stand., D5 Prof, D7 Prof, D2007 Prof.
BeitragVerfasst: Fr 01.10.04 11:14 
Ja, die gibt´s.
Habe mal ein wenig rumprobiert. Diese Datei wird in einem Projekt nach schließen angelegt und beim erneuten öffnen eingelesen. Wenn der Compiler diese Datei nicht findet meldet er: "Fehler beim Lesen der Symboldatei".

_________________
Windows XP: Für die einen nur ein Betriebssystem - für die anderen der längste Virus der Welt...
Jörg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 71

Win 2000, Win XP
Delphi 1, 3, 5, 7
BeitragVerfasst: Fr 01.10.04 11:27 
Hab zur Zeit nur D7 installiert und da ist von der Datei nichts zu finden.

Jörg.
jasocul
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 6395
Erhaltene Danke: 149

Windows 7 + Windows 10
Sydney Prof + CE
BeitragVerfasst: Fr 01.10.04 11:39 
Hallo Jörg und jjturbo,

ich habe den Eindruck, dass ihr meinen Beitrag nicht gelesen habt. Ich bin jetzt ein wenig beleidigt. :schmoll:
raziel
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 2453

Arch Linux
JS (WebStorm), C#, C++/CLI, C++ (VS2013)
BeitragVerfasst: Fr 01.10.04 11:48 
iirc:
DSM = Delphi Symbol Module

_________________
JSXGraph
Jörg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 71

Win 2000, Win XP
Delphi 1, 3, 5, 7
BeitragVerfasst: Fr 01.10.04 11:50 
@jasocul:

Bei mir heißt die Datei *.dsk, deswegen meine Frage, ob *.dsm richtig ist.
Hab jetzt mal alles angekreuzt, was sich speichern läßt und Delphi danach geschlossen, hab leider keine *.dsm-Datei gefunden.

Hier mal der Inhalt der *.dsk-Datei:

ausblenden volle Höhe Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
[Closed Files]
File_1=SourceModule,'c:\programme\borland\delphi7\source\rtl\common\Masks.pas',0,1,281,1,301,0,0
File_2=SourceModule,'C:\DOKUME~1\ADMINI~1\LOKALE~1\Temp\Lis00000.dfm',0,1,1,1,1,0,0
File_3=SourceModule,'D:\DPrj\src\AwPro\Listen.dfm',0,1,1,1,1,0,0
File_4=SourceModule,'D:\DPrj\src\...\Kodier...\uMain.pas',0,1,1,1,1,1,0

\Imports\...pas',0,1,1,1,1,0,0

[Modules]
Module0=D:\DPrj\src\....pas
Module1=C:\Programme\Borland\Delphi7\Imports\....pas
Count=2
EditWindowCount=1

[D:\DPrj\src\...\....pas]
ModuleType=SourceModule
FormState=1
FormOnTop=0

[C:\Programme\Borland\Delphi7\Imports\....pas]
ModuleType=SourceModule
FormState=0
FormOnTop=0

[C:\Programme\Borland\Delphi7\Projects\....bpg]
FormState=0
FormOnTop=0

[D:\DPrj\src\...\Project1.dpr]
FormState=0
FormOnTop=0

[EditWindow0]
ViewCount=2
CurrentView=0
View0=0
View1=1
CodeExplorer=CodeExplorer@EditWindow0
MessageView=MessageView@EditWindow0
Create=1
Visible=1
State=0
Left=264
Top=122
Width=1085
Height=758
MaxLeft=-1
MaxTop=-1
ClientWidth=1077
ClientHeight=731
LeftPanelSize=197
LeftPanelClients=CodeExplorer@EditWindow0,MIDEXForm
LeftPanelData=00000400010000000C000000436F64654578706C6F726572C50000000000000002DB02000000000000010000000000000000000000000100000000C5000000090000004D49444558466F726DFFFFFFFF
RightPanelSize=0
BottomPanelSize=0
BottomPanelClients=MessageView@EditWindow0
BottomPanelData=00000400010000000B0000004D657373616765566965770000000000000000000000000000000000FFFFFFFF

[View0]
Module=D:\DPrj\src\...\....pas
CursorX=67
CursorY=83
TopLine=54
LeftCol=1

...


Das zieht sich dann so weiter, z.B. werden auch Breakpoints gespeichert. Was steht denn in der dsm-Datei drin?

Jörg.
jasocul
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 6395
Erhaltene Danke: 149

Windows 7 + Windows 10
Sydney Prof + CE
BeitragVerfasst: Fr 01.10.04 11:56 
Die Datei ist leider kein Klartext. Sieht nach einem Stream aus.
Es ist die Symbol-Datei für das Projekt.

Delphi-Hilfe hat folgendes geschrieben:

Projekt-Browser: ...
Der Bereich Details (der dem Symbol-Explorer entspricht) zeigt weitere Informationen zu dem auf der linken Seite ausgewählten Element an. Er enthält je nach Art dieses Elements verschiedene Registerkarten, wie beispielsweise Bereich, Vererbung und Referenzen: ...
jjturbo Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 516

Win2000 prof., WinXP prof.
D4 Stand., D5 Prof, D7 Prof, D2007 Prof.
BeitragVerfasst: Fr 01.10.04 12:05 
Die Datei wird erzeugt, wenn man nach dem Speichern compiliert, dann das Projekt schließt.
Kann man die Datei also löschen? Hintergrund: Meine Datensicherung passt nicht auf eine DVD, da die ganzen DSM-Dateien meiner Projekte etwa 700MB verschlingen.

_________________
Windows XP: Für die einen nur ein Betriebssystem - für die anderen der längste Virus der Welt...
jasocul
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 6395
Erhaltene Danke: 149

Windows 7 + Windows 10
Sydney Prof + CE
BeitragVerfasst: Fr 01.10.04 12:11 
Das selbe Problem hatte ich auch. Daher habe ich die Speicher-Option damals umgestellt (Nur Desktop). Es hat nie Probleme gegeben.
Zur Sicherheit einfach mal die Datei woanders hinkopieren und dann das Projekt laden.
jjturbo Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 516

Win2000 prof., WinXP prof.
D4 Stand., D5 Prof, D7 Prof, D2007 Prof.
BeitragVerfasst: Fr 01.10.04 12:16 
Und was ist mit den .~pas, .~dfm usw.? Sind die auch über?

_________________
Windows XP: Für die einen nur ein Betriebssystem - für die anderen der längste Virus der Welt...
jasocul
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 6395
Erhaltene Danke: 149

Windows 7 + Windows 10
Sydney Prof + CE
BeitragVerfasst: Fr 01.10.04 12:20 
Jaaa.
Das sind Sicherungskopien. Die werden jedesmal erzeugt, wenn du eine Unit speicherst.
Überflüssig sind sie nur im Sinne der Datensicherung. Wenn du natürlich mal was falsch gemacht hast, und den letzten Speicherungszustand brauchst, dann ist das ganz praktisch. Ich habs allerdings noch nie gebraucht.