Home | Documentation | Atomic Chat | Github

[Solved] Access Violation Exception (VS2015)


I made a button that makes a new button with the current directory as the text, but when sometimes it crashes and VS say that a “System.AccessViolationException” occured in AtomicNET.dll
Here are the details:
System.AccessViolationException was not handled.
Message=Es wurde versucht, im geschützten Speicher zu lesen oder zu schreiben. Dies ist häufig ein Hinweis darauf, dass anderer Speicher beschädigt ist.
//–german for: Somthing tried to write or read in protected memory. This is often a indicator that another memory is damaged.
bei AtomicEngine.AppBase.csb_AtomicApp_AppBase_RunFrame_4894(IntPtr self)
bei AtomicEngine.Application.Run(Type appDelegateType, String[] args) in C:\Jenkins\workspace\Atomic_EditorWin\Script\AtomicNET\AtomicNET\Application\Application.cs:Zeile 57.
bei AtomicPlayer.Program.Main(String[] args) in H:\Dokumente\AtomicProjects\Kingdoms\Project\AtomicNET\Platforms\Desktop\Program.cs:Zeile 16.

Nevermind it works now