<?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[Fehlermeldung eMail Programm]]></title><description><![CDATA[<p>Hey,<br />
ich habe ein Problem mit meinem Code. Ich habe 2 Formulare.<br />
Das erste Formular ist ein eMail empfangs Formular. Das auch funktioniert. Danach habe ich ein 2 Formular erstellt welches ich den Host, Benutzername, Passwort automatisch erscheinen sobald ich das Formular über einen Button öffne. Jetzt wollte ich ein Übernehmen Button einbauen. Der Übernehmen Button dient dazu das wenn ich auf Ihm Klicke die e-Mails im ersten Formular automatisch erscheinen. Allerdings habe ich ein Problem damit. Schaut es euch am besten selbst mal an. Dies ist der Code von dem Button Übernehmen aus dem 2 Formular.<br />
Kann mir vielleicht einer von euch sagen wo ich da Fehler gemacht habe.</p>
<p>void __fastcall TForm2::Button1Click(TObject *Sender)<br />
{<br />
If (Form1-&gt;NMPOP31-&gt;Connected)<br />
Form1-&gt;NMPOP31-&gt;Connect();<br />
for (int i=1; i&lt;=Form1-&gt;NMPOP31-&gt;MailCount; i++){<br />
Form1-&gt;NMPOP31-&gt;GetMailMessage(i);<br />
If (Form1-&gt;Table1-&gt;FindKey(ARRAYOFCONST((Form1-&gt;NMPOP31-&gt;MailMessage-&gt;MessageId)))){<br />
Form1-&gt;Table1-&gt;InsertRecord(ARRAYOFCONST((Form1-&gt;NMPOP31-&gt;MailMessage-&gt;Subject,NMPOP31-&gt;MailMessage-&gt;Form1,NMPOP31-&gt;MailMessage-&gt;MessageId, NMPOP31-&gt;MailMessage-&gt;Head-&gt;Text,NMPOP31-&gt;MailMessage-&gt;Body-&gt;Text)));<br />
Form1-&gt;Query1-&gt;Close();<br />
Form1-&gt;Open();<br />
}<br />
}<br />
}</p>
<p>Folgende Fehlermeldungen erhalte ich:<br />
E2268 Aufruf der undefinierten Funktion ‘funktion’<br />
E2379 Anweisung fehlt ;<br />
E2316 ‘bezeichner’ ist kein Element von 'strukt'<br />
E2379 Anweisung fehlt ;</p>
<p>MfG<br />
Mars3</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/203586/fehlermeldung-email-programm</link><generator>RSS for Node</generator><lastBuildDate>Wed, 19 Aug 2026 11:35:01 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/203586.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 24 Jan 2008 08:46:24 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Fehlermeldung eMail Programm on Thu, 24 Jan 2008 08:46:24 GMT]]></title><description><![CDATA[<p>Hey,<br />
ich habe ein Problem mit meinem Code. Ich habe 2 Formulare.<br />
Das erste Formular ist ein eMail empfangs Formular. Das auch funktioniert. Danach habe ich ein 2 Formular erstellt welches ich den Host, Benutzername, Passwort automatisch erscheinen sobald ich das Formular über einen Button öffne. Jetzt wollte ich ein Übernehmen Button einbauen. Der Übernehmen Button dient dazu das wenn ich auf Ihm Klicke die e-Mails im ersten Formular automatisch erscheinen. Allerdings habe ich ein Problem damit. Schaut es euch am besten selbst mal an. Dies ist der Code von dem Button Übernehmen aus dem 2 Formular.<br />
Kann mir vielleicht einer von euch sagen wo ich da Fehler gemacht habe.</p>
<p>void __fastcall TForm2::Button1Click(TObject *Sender)<br />
{<br />
If (Form1-&gt;NMPOP31-&gt;Connected)<br />
Form1-&gt;NMPOP31-&gt;Connect();<br />
for (int i=1; i&lt;=Form1-&gt;NMPOP31-&gt;MailCount; i++){<br />
Form1-&gt;NMPOP31-&gt;GetMailMessage(i);<br />
If (Form1-&gt;Table1-&gt;FindKey(ARRAYOFCONST((Form1-&gt;NMPOP31-&gt;MailMessage-&gt;MessageId)))){<br />
Form1-&gt;Table1-&gt;InsertRecord(ARRAYOFCONST((Form1-&gt;NMPOP31-&gt;MailMessage-&gt;Subject,NMPOP31-&gt;MailMessage-&gt;Form1,NMPOP31-&gt;MailMessage-&gt;MessageId, NMPOP31-&gt;MailMessage-&gt;Head-&gt;Text,NMPOP31-&gt;MailMessage-&gt;Body-&gt;Text)));<br />
Form1-&gt;Query1-&gt;Close();<br />
Form1-&gt;Open();<br />
}<br />
}<br />
}</p>
<p>Folgende Fehlermeldungen erhalte ich:<br />
E2268 Aufruf der undefinierten Funktion ‘funktion’<br />
E2379 Anweisung fehlt ;<br />
E2316 ‘bezeichner’ ist kein Element von 'strukt'<br />
E2379 Anweisung fehlt ;</p>
<p>MfG<br />
Mars3</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1442550</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1442550</guid><dc:creator><![CDATA[Mars3]]></dc:creator><pubDate>Thu, 24 Jan 2008 08:46:24 GMT</pubDate></item><item><title><![CDATA[Reply to Fehlermeldung eMail Programm on Thu, 24 Jan 2008 09:01:48 GMT]]></title><description><![CDATA[<p>Den Code hast du wirklich 1:1 aus deinem Programm kopiert? Und die Fehlermeldungen stammen wortwörtlich aus DIESER Funktion? (ich sehe dort nämlich kein &quot;funktion&quot;, &quot;bezeichner&quot; oder &quot;strukt&quot;)</p>
<p>Was (auf den zweiten Blick) auffällt ist, daß man &quot;if&quot; normalerweise mit kleinem i schreibt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1442558</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1442558</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Thu, 24 Jan 2008 09:01:48 GMT</pubDate></item><item><title><![CDATA[Reply to Fehlermeldung eMail Programm on Thu, 24 Jan 2008 11:28:42 GMT]]></title><description><![CDATA[<p>Hallo CStoll,<br />
denn Code habe ich wirklich 1:1 aus meinem Programm kopiert.<br />
Diese Fehlermeldungen erscheinen so wie ich es angegeben habe.<br />
Ich habe alle if Anweisungen klein geschrieben. Vielen Dank für den Hinweis.<br />
MfG<br />
Mars3</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1442664</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1442664</guid><dc:creator><![CDATA[Mars3]]></dc:creator><pubDate>Thu, 24 Jan 2008 11:28:42 GMT</pubDate></item><item><title><![CDATA[Reply to Fehlermeldung eMail Programm on Thu, 24 Jan 2008 11:39:01 GMT]]></title><description><![CDATA[<p>Also ich sehe in dieser Prozedur keine Fehler.</p>
<p>Ich gebe dir einen Vorschlag. Mache einen Doppelklick auf die Einträge im Debugger. Anschliessen springst du schön zu der Zeile, in welche der Fehler aufgetreten ist.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1442675</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1442675</guid><dc:creator><![CDATA[Deforation]]></dc:creator><pubDate>Thu, 24 Jan 2008 11:39:01 GMT</pubDate></item><item><title><![CDATA[Reply to Fehlermeldung eMail Programm on Thu, 24 Jan 2008 15:23:18 GMT]]></title><description><![CDATA[<p>Hallo Deforation,<br />
ich habe deinen Vorschlag befolgt. Der Compiler makiert die Zeile:<br />
Form1-&gt;Table1-&gt;InsertRecord(ARRAYOFCONST((Form1-&gt;NMPOP31-&gt;MailMessage-&gt;Subject,NMPOP31-&gt;MailMessage-&gt;Form1,NMPOP31-&gt;MailMessage-&gt;MessageId, NMPOP31-&gt;MailMessage-&gt;Head-&gt;Text,NMPOP31-&gt;MailMessage-&gt;Body-&gt;Text)));</p>
<p>Fehlermeldung:<br />
Undefiniertes Symbol NMPOP31</p>
<p>Alle anderen Fehlermeldungen erschienen nachdem ich die if Anweisungen also das Wort if klein geschrieben hatte nicht mehr.</p>
<p>MfG<br />
Mars3</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1442862</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1442862</guid><dc:creator><![CDATA[Mars3]]></dc:creator><pubDate>Thu, 24 Jan 2008 15:23:18 GMT</pubDate></item><item><title><![CDATA[Reply to Fehlermeldung eMail Programm on Thu, 24 Jan 2008 15:26:14 GMT]]></title><description><![CDATA[<p>&quot;Form1-&gt;NMPOP31&quot; und &quot;NMPOP31&quot; sind zwei verschiedene Objekte - und offenbar gibt es weder in der Klasse TForm2 noch lokal in dieser Methode eine Variable &quot;NMPOP31&quot;. Da müsstest du also vor <strong>alle</strong> Vorkommen das &quot;Form1-&gt;&quot; davorschreiben.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1442863</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1442863</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Thu, 24 Jan 2008 15:26:14 GMT</pubDate></item><item><title><![CDATA[Reply to Fehlermeldung eMail Programm on Thu, 24 Jan 2008 16:03:16 GMT]]></title><description><![CDATA[<p>Hallo CStoll,<br />
ich habe alles so gemacht wie du es mir geschrieben hast.<br />
Jetzt funktioniert alles Wunderbar. Vielen Dank und einen schönen Abend noch.</p>
<p>MfG<br />
Mars3</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1442902</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1442902</guid><dc:creator><![CDATA[Mars3]]></dc:creator><pubDate>Thu, 24 Jan 2008 16:03:16 GMT</pubDate></item></channel></rss>