Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Die Delphi-IDE (https://www.delphipraxis.net/62-die-delphi-ide/)
-   -   Zugriffsverletzung beim Öffnen einer neuen Unit (https://www.delphipraxis.net/206568-zugriffsverletzung-beim-oeffnen-einer-neuen-unit.html)

TigerLilly 7. Jan 2021 12:30

Zugriffsverletzung beim Öffnen einer neuen Unit
 
Der da quält mich auch eine Weile. :-/
Im Editor, wenn ich eine Unit neu öffne, die mit einer DFM verbunden ist. Nach dem OK klappt alles normal. Reine Code-Units sind kein Problem.

Kennt das wer?

Code:
---------------------------
Fehler
---------------------------
Zugriffsverletzung bei Adresse 50190DE1 in Modul 'rtl270.bpl'. Lesen von Adresse 00000004.
---------------------------
OK  Details >>  
---------------------------
Code:
[50190DE1]{rtl270.bpl } System.Classes.{System.Generics.Collections}TDictionary<System.string,System.Classes.TPersistentClass>.TPairEnumerator.MoveNext (Line 7477, "System.Generics.Collections.pas" + 1) + $3
[5015A4BF]{rtl270.bpl } System.Classes.ReportClassGroups (Line 4092, "System.Classes.pas" + 16) + $3
[1C1692D3]{bindcompfmx270.bpl} Fmx.Bind.Grid.FMX.Bind.Grid.GetClassList (Line 36, "Fmx.Bind.Grid.pas" + 3) + $3
[50060598]{rtl270.bpl } System.TMonitor.CheckOwningThread (Line 19482, "System.pas" + 2) + $0
[1C16C6ED]{bindcompfmx270.bpl} Fmx.Bind.Grid.FMX.Bind.Grid.TLinkCustomGridToDataSourceColumnFactory.GridClasses (Line 634, "Fmx.Bind.Grid.pas" + 8) + $41
[1C16C4A8]{bindcompfmx270.bpl} Fmx.Bind.Grid.FMX.Bind.Grid.TBaseLinkGridToDataSourceColumnFactory.Supports (Line 577, "Fmx.Bind.Grid.pas" + 4) + $8
[1B9AD6D1]{bindcomp270.bpl} Data.Bind.Grid.GetIsLinkGridToDataSourceControl (Line 563, "Data.Bind.Grid.pas" + 7) + $D
[1B826946]{dclbindcomp270.bpl} BindCompRelationshipsReg.TGridBindableMembersFactory.Supports (Line 4649, "BindCompRelationshipsReg.pas" + 0) + $6
[1B5A6909]{dclbindcomp270.bpl} BindCompRelationships.GetBindableMembers (Line 403, "BindCompRelationships.pas" + 11) + $7
[50068551]{rtl270.bpl } System.@IntfCopy (Line 38835, "System.pas" + 6) + $0
[1B7CB55F]{dclbindcomp270.bpl} LiveBindingsGraphHandler.TBindGraphModel.AddNode (Line 491, "LiveBindingsGraphHandler.pas" + 22) + $20
[1B741608]{dclbindcomp270.bpl} VisualizationClasses.TVGModel.AddElement (Line 2027, "VisualizationClasses.pas" + 4) + $A
[1B7DE60E]{dclbindcomp270.bpl} LiveBindingsGraphHandler.TBindGraphModule.MakeModel (Line 2234, "LiveBindingsGraphHandler.pas" + 29) + $B
[1B7DDD19]{dclbindcomp270.bpl} LiveBindingsGraphHandler.TBindGraphModule.Create (Line 2123, "LiveBindingsGraphHandler.pas" + 2) + $B
[1B7CB39B]{dclbindcomp270.bpl} LiveBindingsGraphHandler.TBindGraphHandler.CreateModule (Line 447, "LiveBindingsGraphHandler.pas" + 1) + $F
[1B73CB95]{dclbindcomp270.bpl} VisualizationClasses.TVGHandler.AddModule (Line 495, "VisualizationClasses.pas" + 3) + $1
[0ED58EBF]{VisualizationServiceIDE270.bpl} VisualizationIDE.TIDEVGHandler.AddModule (Line 1481, "VisualizationIDE.pas" + 1) + $E
[0ED5A7B4]{VisualizationServiceIDE270.bpl} VisualizationIDE.TIDEVGModuleHandler.InitHandler (Line 1735, "VisualizationIDE.pas" + 4) + $E
[0ED56C0D]{VisualizationServiceIDE270.bpl} VisualizationIDE.TVGIDEGauntletHandler.AttachHandler (Line 885, "VisualizationIDE.pas" + 15) + $8
[208D12B5]{coreide270.bpl} DocModul.TModuleHandlerGauntlet.RunGauntlet (Line 3239, "DocModul.pas" + 4) + $1E
[208CC739]{coreide270.bpl} DocModul.TDocModule.AfterConstruction (Line 959, "DocModul.pas" + 4) + $7
[206C89C7]{coreide270.bpl} SourceModule.TSourceModule.AfterConstruction (Line 787, "SourceModule.pas" + 4) + $3
[50060379]{rtl270.bpl } System.@AfterConstruction (Line 19276, "System.pas" + 2) + $5
[206C77FC]{coreide270.bpl} SourceModule.TSourceModule.Create (Line 369, "SourceModule.pas" + 6) + $25
[21D10CA7]{delphicoreide270.bpl} CommonPasReg.TPascalFileOpenHandler.FileOpen (Line 516, "CommonPasReg.pas" + 3) + $D
[208CBFAF]{coreide270.bpl} DocModul.TFilterList.OpenFile (Line 808, "DocModul.pas" + 36) + $14
[208D00AB]{coreide270.bpl} DocModul.CallDefaultOpenProc (Line 2656, "DocModul.pas" + 3) + $15
[208BACFB]{coreide270.bpl} IDEServices.TIDEServices.OpenModule (Line 3350, "IDEServices.pas" + 3) + $6
[22527621]{dotnetcoreide270.bpl} ToolsAPIWrapper.TInteropModuleServices.OpenModule (Line 2479, "ToolsAPIWrapper.pas" + 1) + $16
[0044003C]{bds.exe    } IdStack.TIdStack.IsValidIPv4MulticastGroup (Line 1057, "IdStack.pas" + 5) + $18
[2011722F]{refactoride270.bpl} RefactorCmds.GotoSymbolDeclaration (Line 675, "RefactorCmds.pas" + 12) + $6
[20762A4D]{coreide270.bpl} CodCmplt.TCodeCompletionManager.Hotlink (Line 2114, "CodCmplt.pas" + 15) + $9
[2101AB65]{designide270.bpl} Events.TEvent.Send (Line 165, "Events.pas" + 2) + $11
[2080EBA0]{coreide270.bpl} EditorControl.TCustomEditControl.MouseDown (Line 4095, "EditorControl.pas" + 155) + $C
[50CF7588]{vcl270.bpl } Vcl.Controls.TControl.DoMouseDown (Line 7619, "Vcl.Controls.pas" + 7) + $29
[50CF593F]{vcl270.bpl } Vcl.Controls.TControl.SetMouseCapture (Line 6543, "Vcl.Controls.pas" + 2) + $6
[50CF75D7]{vcl270.bpl } Vcl.Controls.TControl.WMLButtonDown (Line 7630, "Vcl.Controls.pas" + 7) + $E
[2080EDA6]{coreide270.bpl} EditorControl.TCustomEditControl.WMLButtonDown (Line 4194, "EditorControl.pas" + 3) + $4
[50CF6F46]{vcl270.bpl } Vcl.Controls.TControl.WndProc (Line 7480, "Vcl.Controls.pas" + 91) + $6
[50064530]{rtl270.bpl } System.@FinalizeRecord (Line 33034, "System.pas" + 56) + $1E
[50DF4287]{vcl270.bpl } Vcl.Themes.TStyleManager.GetStyle (Line 5636, "Vcl.Themes.pas" + 18) + $1E
[50CF8A22]{vcl270.bpl } Vcl.Controls.TControl.GetStyleName (Line 8512, "Vcl.Controls.pas" + 3) + $7
[5006016B]{rtl270.bpl } System.TObject.Dispatch (Line 18811, "System.pas" + 11) + $0
[50DF7B76]{vcl270.bpl } Vcl.Themes.TStyleHook.WndProc (Line 7397, "Vcl.Themes.pas" + 38) + $6
[50CF8A02]{vcl270.bpl } Vcl.Controls.TControl.GetStyleName (Line 8510, "Vcl.Controls.pas" + 1) + $8
[50CF8A22]{vcl270.bpl } Vcl.Controls.TControl.GetStyleName (Line 8512, "Vcl.Controls.pas" + 3) + $7
[50DF7343]{vcl270.bpl } Vcl.Themes.TStyleHook.HandleMessage (Line 7093, "Vcl.Themes.pas" + 3) + $6
[50CFB5A4]{vcl270.bpl } Vcl.Controls.TWinControl.ControlAtPos (Line 10168, "Vcl.Controls.pas" + 1) + $4
[50CFB615]{vcl270.bpl } Vcl.Controls.TWinControl.IsControlMouseMsg (Line 10184, "Vcl.Controls.pas" + 9) + $2A
[50DF4334]{vcl270.bpl } Vcl.Themes.TStyleManager.HandleMessage (Line 5665, "Vcl.Themes.pas" + 11) + $11
[50CFBE5B]{vcl270.bpl } Vcl.Controls.TWinControl.WndProc (Line 10424, "Vcl.Controls.pas" + 169) + $6
[50DF4287]{vcl270.bpl } Vcl.Themes.TStyleManager.GetStyle (Line 5636, "Vcl.Themes.pas" + 18) + $1E
[50DF71E8]{vcl270.bpl } Vcl.Themes.TStyleHook.CallDefaultProc (Line 7037, "Vcl.Themes.pas" + 6) + $6
[50E611E9]{vcl270.bpl } Vcl.Forms.TScrollingStyleHook.WMLButtonDown (Line 14377, "Vcl.Forms.pas" + 1) + $2
[50DF7B76]{vcl270.bpl } Vcl.Themes.TStyleHook.WndProc (Line 7397, "Vcl.Themes.pas" + 38) + $6
[50DF7D6C]{vcl270.bpl } Vcl.Themes.TMouseTrackControlStyleHook.WndProc (Line 7505, "Vcl.Themes.pas" + 0) + $0
[50E61384]{vcl270.bpl } Vcl.Forms.TScrollingStyleHook.WndProc (Line 14446, "Vcl.Forms.pas" + 0) + $0
[095FBBB4]{themeloader270.bpl} Idetheme.Idestylehooks.TEditControlIDEStyleHook.WndProc + $0
[50DF739A]{vcl270.bpl } Vcl.Themes.TStyleHook.HandleMessage (Line 7110, "Vcl.Themes.pas" + 20) + $6
[50F4D79A]{vcl270.bpl } Vcl.Styles.TStyleEngine.HandleMessage (Line 3598, "Vcl.Styles.pas" + 22) + $B
[50DF4334]{vcl270.bpl } Vcl.Themes.TStyleManager.HandleMessage (Line 5665, "Vcl.Themes.pas" + 11) + $11
[50CFA147]{vcl270.bpl } Vcl.Controls.TWinControl.DoHandleStyleMessage (Line 9344, "Vcl.Controls.pas" + 0) + $F
[50CFB832]{vcl270.bpl } Vcl.Controls.TWinControl.WndProc (Line 10256, "Vcl.Controls.pas" + 1) + $53
[50CFB3B0]{vcl270.bpl } Vcl.Controls.TWinControl.MainWndProc (Line 10113, "Vcl.Controls.pas" + 3) + $6
[50181450]{rtl270.bpl } System.Classes.StdWndProc (Line 18021, "System.Classes.pas" + 8) + $0
[50E5B23F]{vcl270.bpl } Vcl.Forms.TApplication.ProcessMessage (Line 11028, "Vcl.Forms.pas" + 23) + $1
[50E5B282]{vcl270.bpl } Vcl.Forms.TApplication.HandleMessage (Line 11058, "Vcl.Forms.pas" + 1) + $4
[50E5B5B5]{vcl270.bpl } Vcl.Forms.TApplication.Run (Line 11196, "Vcl.Forms.pas" + 26) + $3
[0051E178]{bds.exe    } bds.bds (Line 222, "" + 13) + $2

rokli 7. Jan 2021 12:40

AW: Zugriffsverletzung beim Öffnen einer neuen Unit
 
Liste der Anhänge anzeigen (Anzahl: 1)
Hallo TigerLilly,

bei mir kommt dieser Fehler immer dann, wenn ich ein Projekt schließe - und zwar mehrmals. Wahrscheinlich immer sooft, wie ich Formen geändert habe. Siehe Anlage.

Aus dem Grund beende ich die IDE jedes mal, wenn ich ein Projekt schließe.

Ich habe daher kurz vor Weihnachten auf dem Kunden-PC, auf dem ich für den Kunden programmiere, kurz vor Weihnachten deinstalliert / neu-installiert - leider ohne Erfolg! Jetzt überlege ich, ob ich die "vcl270.bpl" / "rtl270.bl" mal von meinem Notebook rüber kopiere, denn dort besteht das Problem bei gleicher Delphi Version nicht.

TigerLilly 7. Jan 2021 16:51

AW: Zugriffsverletzung beim Öffnen einer neuen Unit
 
Weiß nicht recht. Dem Log nach zu urteilen, passt irgendwas beim LiveBinding nicht, aber das wird hier gar nicht verwendet.

Der schöne Günther 7. Jan 2021 18:51

AW: Zugriffsverletzung beim Öffnen einer neuen Unit
 
Ich hatte immer ähnliche Fehler, allerdings speziell wenn ich eine neue Unit anlegen wollte. Ich habe schließlich Delphi nur noch in virtuellen Maschinen benutzt und immer wenn etwas anfängt herumzuspacken setze ich die VM wieder auf den Zustand von vor ein paar Monaten zurück und der Fehler ist verschwunden.

rokli 8. Jan 2021 08:03

AW: Zugriffsverletzung beim Öffnen einer neuen Unit
 
Hallo,

ich habe nun die rtl270.bpl und die vcl270.bpl auf dem Kunden-PC gegen die beiden Dateien von meinem Notebook ausgetauscht.

Ein erster, mini, mini Test lief fehlerfrei. Im Laufe des Tages werde ich mal weiter testen, ob das so gut bleibt.

Ergänzung: Ganz interessant, ich hatte die Original-Dateien umbenannt, damit diese für später noch zur Verfügung stehen - aber die hat das System beim ersten Start der IDE gelöscht.

TigerLilly 8. Jan 2021 08:30

AW: Zugriffsverletzung beim Öffnen einer neuen Unit
 
Hast du die BPLs verglichen? Größe/Datum/Zeit/Version?

rokli 8. Jan 2021 09:28

AW: Zugriffsverletzung beim Öffnen einer neuen Unit
 
Liste der Anhänge anzeigen (Anzahl: 1)
So, wenn man die Suchkriterien richtig anlegt, dann findet man auch die alten Dateien wieder - also die IDE löscht da nix!

In der Anlage einmal die Liste aus meinem BIN Verzeichnis (ich hab das bisher nur in BIN und nicht in BIN64 gemacht!).
Beim Vergleich der Eigenschaften der Dateien konnte man sehen, dass die neuen Dateien (vom NB) etwa 10 KB größer sind, wie die alten.

Auf dem Bild sind oben die beiden neuen Datei markiert und unten die beiden alten Dateien mit "defekt" bezeichnet.

Grüße

Uwe Raabe 8. Jan 2021 10:23

AW: Zugriffsverletzung beim Öffnen einer neuen Unit
 
Könnte es sein, dass du auf dem einen System ein Update oder Patch installiert hast und auf dem anderen nicht?

rokli 8. Jan 2021 14:56

AW: Zugriffsverletzung beim Öffnen einer neuen Unit
 
ich noch mal!

@Uwe: Da schließe ich im Moment aus, wobei ich beide Systeme neu installiert habe und nicht 100% sicher bin, ob es die gleiche installations-quelle war.

Ansonsten habe ich heute keine Fehlermeldungen der besprochenen Art gehabt.

Solong

himitsu 9. Jan 2021 07:34

AW: Zugriffsverletzung beim Öffnen einer neuen Unit
 
Zitat:

Zitat von TigerLilly (Beitrag 1480467)
Im Editor, wenn ich eine Unit neu öffne, die mit einer DFM verbunden ist.

Zitat:

RefactorCmds.GotoSymbolDeclaration
Passiert der Fehler nur, wenn du die Unit über's "Deklaration-Suchen" öffnest, oder auch bei anderen Varianten?
* Strg+Linksklick
* Strg+Enter
* Kontextmenü
* rechts über den Proktmanager
* Datei offnen
* zuletzt verwendet
* ...

Sind eigene Komponenten oder Fremdkomponenten auf der Form? oder sonstwelche IDE-Plugins installiert?



Bei den Patches auch aufpassen, dass die in der richtigen Reihenfolge gemacht und nichts vergessen wurde.
Es wäre auch zu einfach gewesen bei den Patches im GetIt die Abhängigkeiten zu setzen. (im 10.4.1 gibt es noch nicht so viel, aber im 10.4.0 hatte ich mir damit erstmal was zerschossen und musste nochmal alles neu machen)


Da es beim Livebinding knallt und du es nicht benutzt, kannst du im Notfall auch einfach mal dessen Packages deaktivieren und schauen ob es dann geht.
bindcomp270.bpl und bindcompfmx270.bpl (siehe dein Stacktrace)
bzw. die dclbindcomp270.bpl und dclbindcompfmx270.bpl
oder alle dclbind***270.bpl

vielleicht auch noch
VisualizationServiceIDE270.bpl

TigerLilly 9. Jan 2021 10:01

AW: Zugriffsverletzung beim Öffnen einer neuen Unit
 
Passiert immer, egal wie die Unit geöffnet wird + egal, was auf ihr drauf ist - auch wenn es nur ein leerer Form oder Datenmodul ist. Ohne DFM aber kein Problem.

Alle Plugins habe ich auch mal dekativiert - no success.

Das Deaktivieren der Plugins versuche ich mal.

NoGAD 25. Mai 2021 19:35

AW: Zugriffsverletzung beim Öffnen einer neuen Unit
 
Hallo, ich hänge mich mal dran.

Seit gestern passiert das bei mir auch sporadisch:

Code:
[50E52F55]{vcl270.bpl } Vcl.Forms.TCustomForm.DefocusControl (Line 6125, "Vcl.Forms.pas" + 4) + $10
[50E52F33]{vcl270.bpl } Vcl.Forms.TCustomForm.DefocusControl (Line 6124, "Vcl.Forms.pas" + 3) + $8
[50CFA13B]{vcl270.bpl } Vcl.Controls.TWinControl.RemoveFocus (Line 9392, "Vcl.Controls.pas" + 2) + $8
[50CF8E3E]{vcl270.bpl } Vcl.Controls.TWinControl.Destroy (Line 8735, "Vcl.Controls.pas" + 17) + $4
[500601FE]{rtl270.bpl } System.@ClassDestroy (Line 19047, "System.pas" + 0) + $2
[50E4DF4B]{vcl270.bpl } Vcl.Forms.TScrollingWinControl.Destroy (Line 3267, "Vcl.Forms.pas" + 3) + $6
[50E4F3DC]{vcl270.bpl } Vcl.Forms.TCustomForm.Destroy (Line 3972, "Vcl.Forms.pas" + 33) + $A
[210554C4]{designide270.bpl} Proxies.DestroyHook (Line 281, "Proxies.pas" + 2) + $6
[5005FA2C]{rtl270.bpl } System.TObject.Free (Line 17683, "System.pas" + 1) + $4
[528A1B8E]{vcldesigner270.bpl} VCLFormDesigner.TVCLRootDesigner.FreeRoot (Line 581, "VCLFormDesigner.pas" + 0) + $2
[210920AF]{designide270.bpl} ComponentDesigner.TComponentRoot.InternalDeinitializeDesigner (Line 4979, "ComponentDesigner.pas" + 24) + $B
[21094CD9]{designide270.bpl} ComponentDesigner.TComponentRoot.Close (Line 5914, "ComponentDesigner.pas" + 5) + $5
[21D69CDC]{delphicoreide270.bpl} DelphiModule.TPascalCodeMgrModHandler.GetActiveProject (Line 768, "DelphiModule.pas" + 2) + $2D
[208CD259]{coreide270.bpl} DocModul.TCodeIDocModule.NotifyDestroyed (Line 2446, "DocModul.pas" + 2) + $5
[21067FC9]{designide270.bpl} ToolUtils.ForEach (Line 100, "ToolUtils.pas" + 5) + $F
[208CD1CA]{coreide270.bpl} DocModul.TCodeIDocModule.NotifyDestruction (Line 2430, "DocModul.pas" + 2) + $B
[208CA214]{coreide270.bpl} DocModul.TDocModule.BeforeDestruction (Line 1001, "DocModul.pas" + 16) + $0
[5006025D]{rtl270.bpl } System.@BeforeDestruction (Line 19087, "System.pas" + 10) + $0
[206C660A]{coreide270.bpl} SourceModule.TSourceModule.Destroy (Line 434, "SourceModule.pas" + 0) + $2
[5005FA2C]{rtl270.bpl } System.TObject.Free (Line 17683, "System.pas" + 1) + $4
[208CB41A]{coreide270.bpl} DocModul.WalkDependencies (Line 1638, "DocModul.pas" + 9) + $2
[208CB465]{coreide270.bpl} DocModul.TDocModule.WalkDependencies (Line 1647, "DocModul.pas" + 1) + $1
[208CA53F]{coreide270.bpl} DocModul.TDocModule.Close (Line 1113, "DocModul.pas" + 12) + $F
[20622DD8]{coreide270.bpl} ProjectModule.TBaseProject.BeforeDestruction (Line 1100, "ProjectModule.pas" + 37) + $6
[21CD40B1]{delphicoreide270.bpl} BaseDelphiProject.TBaseDelphiProject.PerformModuleCleanup (Line 4015, "BaseDelphiProject.pas" + 0) + $9
[5006025D]{rtl270.bpl } System.@BeforeDestruction (Line 19087, "System.pas" + 10) + $0
[21CC2FA3]{delphicoreide270.bpl} BaseDelphiProject.TBaseDelphiProject.Destroy (Line 979, "BaseDelphiProject.pas" + 0) + $7
[5005FA2C]{rtl270.bpl } System.TObject.Free (Line 17683, "System.pas" + 1) + $4
[2055A0EE]{coreide270.bpl} ProjectGroup.TProjectGroup.BeforeDestruction (Line 966, "ProjectGroup.pas" + 52) + $2
[5006025D]{rtl270.bpl } System.@BeforeDestruction (Line 19087, "System.pas" + 10) + $0
[20559E56]{coreide270.bpl} ProjectGroup.TProjectGroup.Destroy (Line 899, "ProjectGroup.pas" + 0) + $2
[5005FA2C]{rtl270.bpl } System.TObject.Free (Line 17683, "System.pas" + 1) + $4
[205606B6]{coreide270.bpl} ProjectGroup.TProjectGroupWrapper.Close (Line 2834, "ProjectGroup.pas" + 2) + $5
[004ABE8F]{bds.exe    } AppMain.TAppBuilder.DestroyProjectGroup (Line 2664, "AppMain.pas" + 15) + $9
[004AF3FC]{bds.exe    } AppMain.TAppBuilder.WindowCloseQuery (Line 3946, "AppMain.pas" + 47) + $3
[50E55581]{vcl270.bpl } Vcl.Forms.TCustomForm.CloseQuery (Line 7462, "Vcl.Forms.pas" + 8) + $14
[50E554A9]{vcl270.bpl } Vcl.Forms.TCustomForm.Close (Line 7434, "Vcl.Forms.pas" + 4) + $4
[50E54274]{vcl270.bpl } Vcl.Forms.TCustomForm.WMClose (Line 6764, "Vcl.Forms.pas" + 0) + $0
[50CF6DBE]{vcl270.bpl } Vcl.Controls.TControl.WndProc (Line 7480, "Vcl.Controls.pas" + 91) + $6
[50064541]{rtl270.bpl } System.@FinalizeArray (Line 32995, "System.pas" + 24) + $6
[500643D8]{rtl270.bpl } System.@FinalizeRecord (Line 32811, "System.pas" + 56) + $1E
[50DF39AF]{vcl270.bpl } Vcl.Themes.TStyleManager.GetStyle (Line 5633, "Vcl.Themes.pas" + 18) + $1E
[50F4C237]{vcl270.bpl } Vcl.Styles.TCustomStyle.SourceLoaded (Line 3310, "Vcl.Styles.pas" + 1) + $F
[5005FF43]{rtl270.bpl } System.TObject.Dispatch (Line 18563, "System.pas" + 11) + $0
[50DF729E]{vcl270.bpl } Vcl.Themes.TStyleHook.WndProc (Line 7394, "Vcl.Themes.pas" + 38) + $6
[50DF7494]{vcl270.bpl } Vcl.Themes.TMouseTrackControlStyleHook.WndProc (Line 7502, "Vcl.Themes.pas" + 0) + $0
[50DF6AC2]{vcl270.bpl } Vcl.Themes.TStyleHook.HandleMessage (Line 7107, "Vcl.Themes.pas" + 20) + $6
[50F4CA16]{vcl270.bpl } Vcl.Styles.TStyleEngine.HandleMessage (Line 3598, "Vcl.Styles.pas" + 22) + $7
[50DF3A5C]{vcl270.bpl } Vcl.Themes.TStyleManager.HandleMessage (Line 5662, "Vcl.Themes.pas" + 11) + $11
[50CF9FBF]{vcl270.bpl } Vcl.Controls.TWinControl.DoHandleStyleMessage (Line 9344, "Vcl.Controls.pas" + 0) + $F
[50CFBCAF]{vcl270.bpl } Vcl.Controls.TWinControl.WndProc (Line 10424, "Vcl.Controls.pas" + 169) + $6
[50CF9FBF]{vcl270.bpl } Vcl.Controls.TWinControl.DoHandleStyleMessage (Line 9344, "Vcl.Controls.pas" + 0) + $F
[50CFBCAF]{vcl270.bpl } Vcl.Controls.TWinControl.WndProc (Line 10424, "Vcl.Controls.pas" + 169) + $6
[50E50439]{vcl270.bpl } Vcl.Forms.TCustomForm.WndProc (Line 4572, "Vcl.Forms.pas" + 1) + $37
[50E50A85]{vcl270.bpl } Vcl.Forms.TCustomForm.WndProc (Line 4784, "Vcl.Forms.pas" + 213) + $5
[50CFB228]{vcl270.bpl } Vcl.Controls.TWinControl.MainWndProc (Line 10120, "Vcl.Controls.pas" + 3) + $6
[50181184]{rtl270.bpl } System.Classes.StdWndProc (Line 17989, "System.Classes.pas" + 8) + $0
[21895A87]{vclactnband270.bpl} Vcl.ActnMenus.CallWindowHook (Line 759, "Vcl.ActnMenus.pas" + 20) + $F
[50CFBDBA]{vcl270.bpl } Vcl.Controls.TWinControl.DefaultHandler (Line 10465, "Vcl.Controls.pas" + 30) + $19
[50E52E1E]{vcl270.bpl } Vcl.Forms.TCustomForm.DefaultHandler (Line 6088, "Vcl.Forms.pas" + 11) + $4
[50CFDE39]{vcl270.bpl } Vcl.Controls.TWinControl.WMSysCommand (Line 11679, "Vcl.Controls.pas" + 20) + $7
[50E54345]{vcl270.bpl } Vcl.Forms.TCustomForm.WMSysCommand (Line 6815, "Vcl.Forms.pas" + 14) + $4
[207C7828]{coreide270.bpl} WorkFrm.TWorkForm.WMSysCommand (Line 71, "WorkFrm.pas" + 27) + $4
[207C8216]{coreide270.bpl} MainWorkFrm.TMainWorkForm.WMSysCommand (Line 128, "MainWorkFrm.pas" + 2) + $4
[50CF6DBE]{vcl270.bpl } Vcl.Controls.TControl.WndProc (Line 7480, "Vcl.Controls.pas" + 91) + $6
[50064541]{rtl270.bpl } System.@FinalizeArray (Line 32995, "System.pas" + 24) + $6
[500643D8]{rtl270.bpl } System.@FinalizeRecord (Line 32811, "System.pas" + 56) + $1E
[50DF39AF]{vcl270.bpl } Vcl.Themes.TStyleManager.GetStyle (Line 5633, "Vcl.Themes.pas" + 18) + $1E
[50F4C237]{vcl270.bpl } Vcl.Styles.TCustomStyle.SourceLoaded (Line 3310, "Vcl.Styles.pas" + 1) + $F
[08CF4B64]{themeloader270.bpl} Idetheme.Vclstylehooks.TCustomFormIDEStyleHook.WMSysCommand + $C
[50DF729E]{vcl270.bpl } Vcl.Themes.TStyleHook.WndProc (Line 7394, "Vcl.Themes.pas" + 38) + $6
[50DF7494]{vcl270.bpl } Vcl.Themes.TMouseTrackControlStyleHook.WndProc (Line 7502, "Vcl.Themes.pas" + 0) + $0
[50DF6AC2]{vcl270.bpl } Vcl.Themes.TStyleHook.HandleMessage (Line 7107, "Vcl.Themes.pas" + 20) + $6
[50F4CA16]{vcl270.bpl } Vcl.Styles.TStyleEngine.HandleMessage (Line 3598, "Vcl.Styles.pas" + 22) + $7
[50DF3A5C]{vcl270.bpl } Vcl.Themes.TStyleManager.HandleMessage (Line 5662, "Vcl.Themes.pas" + 11) + $11
[50CF9FBF]{vcl270.bpl } Vcl.Controls.TWinControl.DoHandleStyleMessage (Line 9344, "Vcl.Controls.pas" + 0) + $F
[50CFBCAF]{vcl270.bpl } Vcl.Controls.TWinControl.WndProc (Line 10424, "Vcl.Controls.pas" + 169) + $6
[50E50439]{vcl270.bpl } Vcl.Forms.TCustomForm.WndProc (Line 4572, "Vcl.Forms.pas" + 1) + $37
[50E50A85]{vcl270.bpl } Vcl.Forms.TCustomForm.WndProc (Line 4784, "Vcl.Forms.pas" + 213) + $5
[50CD6F9B]{vcl270.bpl } Vcl.Graphics.FreeMemoryContexts (Line 7278, "Vcl.Graphics.pas" + 12) + $8
[50CFB228]{vcl270.bpl } Vcl.Controls.TWinControl.MainWndProc (Line 10120, "Vcl.Controls.pas" + 3) + $6
[50181184]{rtl270.bpl } System.Classes.StdWndProc (Line 17989, "System.Classes.pas" + 8) + $0
[50E5A7CF]{vcl270.bpl } Vcl.Forms.TApplication.ProcessMessage (Line 11005, "Vcl.Forms.pas" + 23) + $1
[50E5A812]{vcl270.bpl } Vcl.Forms.TApplication.HandleMessage (Line 11035, "Vcl.Forms.pas" + 1) + $4
[50E5AB45]{vcl270.bpl } Vcl.Forms.TApplication.Run (Line 11173, "Vcl.Forms.pas" + 26) + $3
[0051E104]{bds.exe    } bds.bds (Line 222, "" + 13) + $2
Kann hier jemand anhand des Logfiles etwas erkennen?

berens 26. Mai 2021 18:59

AW: Zugriffsverletzung beim Öffnen einer neuen Unit
 
Liste der Anhänge anzeigen (Anzahl: 1)
Hatte mal das gleiche Problem. Es konnte sich damals lösen lassen, indem die betroffene Unit im UTF-8 Format gespeichert wurde (zur Not in einem externen Programm wie Notepad++). Siehe Anlage.

NoGAD 26. Mai 2021 22:10

AW: Zugriffsverletzung beim Öffnen einer neuen Unit
 
Danke für den Tipp, probiere ich morgen aus. 😀👋🏻

LG Mathias


Alle Zeitangaben in WEZ +1. Es ist jetzt 14:01 Uhr.

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