<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Pufferüberlaufproblem]]></title><description><![CDATA[<p>Hi!<br />
Wenn ich probiere mein Projekt zu releasen kommt immer folgende fehlermeldung:</p>
<p>&quot;Facharbeit.exe&quot;: &quot;C:\Users\Vali\Desktop\Facharbeit\Programm\Facharbeit\Release\Facharbeit.exe&quot; geladen, Symbole wurden geladen.<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\ntdll.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\kernel32.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\KernelBase.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Users\Vali\Desktop\Facharbeit\Programm\Facharbeit\Release\SDL.dll&quot; geladen, Die Binärdaten wurden nicht mit Debuginformationen erstellt.<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\advapi32.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\msvcrt.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\sechost.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\rpcrt4.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\sspicli.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\cryptbase.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\gdi32.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\user32.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\lpk.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\usp10.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\winmm.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\msvcr100.dll&quot; geladen, Symbole wurden geladen.<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\msvcp100.dll&quot; geladen, Symbole wurden geladen.<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\imm32.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\msctf.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Program Files (x86)\Kaspersky Lab\Kaspersky Internet Security 2011\mzvkbd3.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\psapi.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Program Files (x86)\Kaspersky Lab\Kaspersky Internet Security 2011\mzvkbd3.dll&quot; entladen.<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\psapi.dll&quot; entladen.<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Program Files (x86)\Kaspersky Lab\Kaspersky Internet Security 2011\sbhook.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\psapi.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\ole32.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\winsxs\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4927_none_d08a205e442db5b5\msvcr80.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Program Files (x86)\Kaspersky Lab\Kaspersky Internet Security 2011\sbhook.dll&quot; entladen.<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\winsxs\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4927_none_d08a205e442db5b5\msvcr80.dll&quot; entladen.<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\ole32.dll&quot; entladen.<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\psapi.dll&quot; entladen.<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\ddraw.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\dciman32.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\setupapi.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\cfgmgr32.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\oleaut32.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\ole32.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\devobj.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\dwmapi.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\ddraw.dll&quot; entladen.<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\dwmapi.dll&quot; entladen.<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\setupapi.dll&quot; entladen.<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\devobj.dll&quot; entladen.<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\oleaut32.dll&quot; entladen.<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\ole32.dll&quot; entladen.<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\cfgmgr32.dll&quot; entladen.<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\dciman32.dll&quot; entladen.<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\uxtheme.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Fraps\fraps32.dll&quot; geladen, Die Binärdaten wurden nicht mit Debuginformationen erstellt.<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\dwmapi.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\KBDUS.DLL&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\KBDUS.DLL&quot; entladen.<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\KBDGR.DLL&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\KBDGR.DLL&quot; entladen.<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\ole32.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\clbcatq.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\oleaut32.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\opengl32.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\glu32.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\ddraw.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\dciman32.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\setupapi.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\cfgmgr32.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\devobj.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\atiglpxx.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\atioglxx.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\version.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\atiadlxy.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\shell32.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\shlwapi.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\userenv.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\profapi.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\wtsapi32.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\psapi.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\wintrust.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\crypt32.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\msasn1.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\atigktxx.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\aticfx32.dll&quot; geladen, Cannot find or open the PDB file<br />
Durch einen Pufferüberlauf in Programm.exe wurde der interne Programmzustand beschädigt. Klicken Sie auf &quot;Unterbrechen&quot;, um das Programm zu debuggen, oder auf &quot;Weiter&quot;, um es zu beenden.</p>
<p>Weitere Informationen finden Sie im Hilfethema &quot;Gewusst wie: Debugging von Pufferüberlaufproblemen&quot;.<br />
Das Programm &quot;[5144] Programm.exe: Systemeigen&quot; wurde mit Code 0 (0x0) beendet.</p>
<p>Das mit den PDB files hat ich schon gegooglet und da hab ich rausgefunden, dass das zumindest angeblich unwichtig ist.<br />
Was mir mehr Sorgen macht ist der Pufferüberlauf.<br />
Das Programm endet jedes mal bei einer meiner Funktionen in meiner Klasse:</p>
<pre><code class="language-cpp">class CQuader {
public:
	// Deklaration der Eckpunkte als Arrays 
	int A[4];		// vorne, links, unten
	int B[4];		// vorne, rechts, unten
	int C[4];		// vorne, rechts, oben
	int D[4];		// vorne, links, oben
	int E[4];		// hinten, links, unten
	int F[4];		// hinten, rechts, unten
	int G[4];		// hinten, rechts, oben
	int H[4];		// hinten, links, oben
	void Create(int breite, int hoehe, int laenge);
	//Transformationsfunktionen:
	void Rotation(float alpha, char axis);
	void Translation(int t1, int t2, int t3);
	void Skalierung(int s);
};
</code></pre>
<p>und hier die Funktion bei der das Programm immer hängen bleibt und abstürzt(Zumindest verweist VC++2010 mich immer dahin)</p>
<pre><code class="language-cpp">void CQuader::Skalierung(int s){
	//Skalierungsmatrix erstellen
	int Sm[3][3];
	Sm[0][0] = s;
	Sm[1][1] = s;
	Sm[2][2] = s;
	Sm[3][3] = 1;
	int Reihe;
	int Spalte;
	//restlichen, leere Felder mit 0 ausfüllen
	for (int Reihe = 0; Reihe &lt;= 3; Reihe++)
	{
		for(Spalte = 0; Spalte &lt;= 3; Spalte++)
		{
			if(Sm[Reihe][Spalte] != s || Sm[Reihe][Spalte] != 1)
				Sm[Reihe][Spalte] = 0;
		}
	}
	// Matrizenmultiplikation mit A
	int Tempmatrize[3];
	for(Reihe = 0; Reihe &lt;= 3; Reihe++)
	{
		int Ergebnis = 0;
		for(Spalte = 0; Spalte &lt;= 3; Spalte++)
		{
			Ergebnis += Sm[Reihe][Spalte] * A[Spalte];  //In dieser Zeile erscheint dann immer der Pfeil, auch beim Debuggen
		}
		Tempmatrize[Reihe] = Ergebnis;
	}
	for(int i = 0; i &lt;= 3; i++)
	{
		A[i] = Tempmatrize[i];
	}
}
</code></pre>
<p>Das Programm soll zur Umsetzung von teilen der Grafikpipeline dienen. Die grafische Ausgabe hab ich vor mit OpenGL und SDL zu machen.</p>
<p>Und eine weitere Frage hät ich noch:<br />
Hat einer eine gute Idee wie ich den Abschnitt ab der Multiplikation mit den anderen Arrays einfach wiederholen lassen kann ohne ihn 8 mal hinzuschreiben? Mir ist irgendwie kein vernünftiger Algorithmus dafür eingefallen...</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/286358/pufferüberlaufproblem</link><generator>RSS for Node</generator><lastBuildDate>Thu, 20 Aug 2026 23:19:36 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/286358.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 08 May 2011 14:33:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Pufferüberlaufproblem on Sun, 08 May 2011 14:33:39 GMT]]></title><description><![CDATA[<p>Hi!<br />
Wenn ich probiere mein Projekt zu releasen kommt immer folgende fehlermeldung:</p>
<p>&quot;Facharbeit.exe&quot;: &quot;C:\Users\Vali\Desktop\Facharbeit\Programm\Facharbeit\Release\Facharbeit.exe&quot; geladen, Symbole wurden geladen.<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\ntdll.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\kernel32.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\KernelBase.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Users\Vali\Desktop\Facharbeit\Programm\Facharbeit\Release\SDL.dll&quot; geladen, Die Binärdaten wurden nicht mit Debuginformationen erstellt.<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\advapi32.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\msvcrt.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\sechost.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\rpcrt4.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\sspicli.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\cryptbase.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\gdi32.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\user32.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\lpk.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\usp10.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\winmm.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\msvcr100.dll&quot; geladen, Symbole wurden geladen.<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\msvcp100.dll&quot; geladen, Symbole wurden geladen.<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\imm32.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\msctf.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Program Files (x86)\Kaspersky Lab\Kaspersky Internet Security 2011\mzvkbd3.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\psapi.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Program Files (x86)\Kaspersky Lab\Kaspersky Internet Security 2011\mzvkbd3.dll&quot; entladen.<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\psapi.dll&quot; entladen.<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Program Files (x86)\Kaspersky Lab\Kaspersky Internet Security 2011\sbhook.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\psapi.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\ole32.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\winsxs\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4927_none_d08a205e442db5b5\msvcr80.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Program Files (x86)\Kaspersky Lab\Kaspersky Internet Security 2011\sbhook.dll&quot; entladen.<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\winsxs\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4927_none_d08a205e442db5b5\msvcr80.dll&quot; entladen.<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\ole32.dll&quot; entladen.<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\psapi.dll&quot; entladen.<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\ddraw.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\dciman32.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\setupapi.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\cfgmgr32.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\oleaut32.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\ole32.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\devobj.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\dwmapi.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\ddraw.dll&quot; entladen.<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\dwmapi.dll&quot; entladen.<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\setupapi.dll&quot; entladen.<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\devobj.dll&quot; entladen.<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\oleaut32.dll&quot; entladen.<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\ole32.dll&quot; entladen.<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\cfgmgr32.dll&quot; entladen.<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\dciman32.dll&quot; entladen.<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\uxtheme.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Fraps\fraps32.dll&quot; geladen, Die Binärdaten wurden nicht mit Debuginformationen erstellt.<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\dwmapi.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\KBDUS.DLL&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\KBDUS.DLL&quot; entladen.<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\KBDGR.DLL&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\KBDGR.DLL&quot; entladen.<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\ole32.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\clbcatq.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\oleaut32.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\opengl32.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\glu32.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\ddraw.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\dciman32.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\setupapi.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\cfgmgr32.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\devobj.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\atiglpxx.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\atioglxx.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\version.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\atiadlxy.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\shell32.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\shlwapi.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\userenv.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\profapi.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\wtsapi32.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\psapi.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\wintrust.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\crypt32.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\msasn1.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\atigktxx.dll&quot; geladen, Cannot find or open the PDB file<br />
&quot;Facharbeit.exe&quot;: &quot;C:\Windows\SysWOW64\aticfx32.dll&quot; geladen, Cannot find or open the PDB file<br />
Durch einen Pufferüberlauf in Programm.exe wurde der interne Programmzustand beschädigt. Klicken Sie auf &quot;Unterbrechen&quot;, um das Programm zu debuggen, oder auf &quot;Weiter&quot;, um es zu beenden.</p>
<p>Weitere Informationen finden Sie im Hilfethema &quot;Gewusst wie: Debugging von Pufferüberlaufproblemen&quot;.<br />
Das Programm &quot;[5144] Programm.exe: Systemeigen&quot; wurde mit Code 0 (0x0) beendet.</p>
<p>Das mit den PDB files hat ich schon gegooglet und da hab ich rausgefunden, dass das zumindest angeblich unwichtig ist.<br />
Was mir mehr Sorgen macht ist der Pufferüberlauf.<br />
Das Programm endet jedes mal bei einer meiner Funktionen in meiner Klasse:</p>
<pre><code class="language-cpp">class CQuader {
public:
	// Deklaration der Eckpunkte als Arrays 
	int A[4];		// vorne, links, unten
	int B[4];		// vorne, rechts, unten
	int C[4];		// vorne, rechts, oben
	int D[4];		// vorne, links, oben
	int E[4];		// hinten, links, unten
	int F[4];		// hinten, rechts, unten
	int G[4];		// hinten, rechts, oben
	int H[4];		// hinten, links, oben
	void Create(int breite, int hoehe, int laenge);
	//Transformationsfunktionen:
	void Rotation(float alpha, char axis);
	void Translation(int t1, int t2, int t3);
	void Skalierung(int s);
};
</code></pre>
<p>und hier die Funktion bei der das Programm immer hängen bleibt und abstürzt(Zumindest verweist VC++2010 mich immer dahin)</p>
<pre><code class="language-cpp">void CQuader::Skalierung(int s){
	//Skalierungsmatrix erstellen
	int Sm[3][3];
	Sm[0][0] = s;
	Sm[1][1] = s;
	Sm[2][2] = s;
	Sm[3][3] = 1;
	int Reihe;
	int Spalte;
	//restlichen, leere Felder mit 0 ausfüllen
	for (int Reihe = 0; Reihe &lt;= 3; Reihe++)
	{
		for(Spalte = 0; Spalte &lt;= 3; Spalte++)
		{
			if(Sm[Reihe][Spalte] != s || Sm[Reihe][Spalte] != 1)
				Sm[Reihe][Spalte] = 0;
		}
	}
	// Matrizenmultiplikation mit A
	int Tempmatrize[3];
	for(Reihe = 0; Reihe &lt;= 3; Reihe++)
	{
		int Ergebnis = 0;
		for(Spalte = 0; Spalte &lt;= 3; Spalte++)
		{
			Ergebnis += Sm[Reihe][Spalte] * A[Spalte];  //In dieser Zeile erscheint dann immer der Pfeil, auch beim Debuggen
		}
		Tempmatrize[Reihe] = Ergebnis;
	}
	for(int i = 0; i &lt;= 3; i++)
	{
		A[i] = Tempmatrize[i];
	}
}
</code></pre>
<p>Das Programm soll zur Umsetzung von teilen der Grafikpipeline dienen. Die grafische Ausgabe hab ich vor mit OpenGL und SDL zu machen.</p>
<p>Und eine weitere Frage hät ich noch:<br />
Hat einer eine gute Idee wie ich den Abschnitt ab der Multiplikation mit den anderen Arrays einfach wiederholen lassen kann ohne ihn 8 mal hinzuschreiben? Mir ist irgendwie kein vernünftiger Algorithmus dafür eingefallen...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2060460</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2060460</guid><dc:creator><![CDATA[Moerill]]></dc:creator><pubDate>Sun, 08 May 2011 14:33:39 GMT</pubDate></item><item><title><![CDATA[Reply to Pufferüberlaufproblem on Sun, 08 May 2011 14:53:50 GMT]]></title><description><![CDATA[<p>Wenn du ein Array so definierst<br />
    int Sm[3][3];<br />
Darfst du nur bis &lt;=2 gehen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2060470</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2060470</guid><dc:creator><![CDATA[manni66]]></dc:creator><pubDate>Sun, 08 May 2011 14:53:50 GMT</pubDate></item><item><title><![CDATA[Reply to Pufferüberlaufproblem on Sun, 08 May 2011 14:55:45 GMT]]></title><description><![CDATA[<p>Och nöö..<br />
Musste ja son dummer Fehler sein! <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /><br />
Aber Danke für die schnelle Antwort!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2060471</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2060471</guid><dc:creator><![CDATA[Moerill]]></dc:creator><pubDate>Sun, 08 May 2011 14:55:45 GMT</pubDate></item><item><title><![CDATA[Reply to Pufferüberlaufproblem on Sun, 08 May 2011 15:11:56 GMT]]></title><description><![CDATA[<p>Und statt &lt;= 2 ist es in Schleifen üblich &lt; 3 zu schreiben, wenn 3 die grösse eines Arrays/Vektors/... ist.</p>
<p>Moerill schrieb:</p>
<blockquote>
<p>Och nöö..<br />
Musste ja son dummer Fehler sein! <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
</blockquote>
<p>Sei doch froh dass es so schnell zu finden war <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2060475</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2060475</guid><dc:creator><![CDATA[hustbaer]]></dc:creator><pubDate>Sun, 08 May 2011 15:11:56 GMT</pubDate></item><item><title><![CDATA[Reply to Pufferüberlaufproblem on Sun, 08 May 2011 15:16:15 GMT]]></title><description><![CDATA[<p>hustbaer schrieb:</p>
<blockquote>
<p>Sei doch froh dass es so schnell zu finden war <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
</blockquote>
<p>Ja schon, aber es ärgert mich, dass ich so lang dran gesessen hab und den nicht gefunden hab <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2060476</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2060476</guid><dc:creator><![CDATA[Moerill]]></dc:creator><pubDate>Sun, 08 May 2011 15:16:15 GMT</pubDate></item></channel></rss>