<?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[FreeLibrary() Unhandled exception at 0x09975b08]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich habe eine Schnittstelle für LabVIEW programmiert, welche auf Funktionen einer DLL zugreift. Alles funktioniert reibungslos. Wenn der Code abgearbeitet ist und die DLL wieder freigeben soll kommt irgendwann im Disassembly-Fenster folgender Fehler:<br />
Unhandled exception at 0x09975b08 in LabVIEW.exe: 0xC0000005: Access violation reading location 0x09975b08.<br />
Was gast mir das nun, bzw. wie kann ich herausfinden was an der Stelle 0x09975b08 stand? Im Disassemblyfenster steht hinter dieser Zahl nur:<br />
09975b08 ???<br />
Mir ist nicht klar was ich falsch mache, da der restliche Quellcode sehr stabil und erfolgreich abgearbeitet wird.</p>
<p>THX</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/250007/freelibrary-unhandled-exception-at-0x09975b08</link><generator>RSS for Node</generator><lastBuildDate>Wed, 16 Sep 2026 02:23:25 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/250007.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 15 Sep 2009 07:55:53 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to FreeLibrary() Unhandled exception at 0x09975b08 on Tue, 15 Sep 2009 07:55:53 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich habe eine Schnittstelle für LabVIEW programmiert, welche auf Funktionen einer DLL zugreift. Alles funktioniert reibungslos. Wenn der Code abgearbeitet ist und die DLL wieder freigeben soll kommt irgendwann im Disassembly-Fenster folgender Fehler:<br />
Unhandled exception at 0x09975b08 in LabVIEW.exe: 0xC0000005: Access violation reading location 0x09975b08.<br />
Was gast mir das nun, bzw. wie kann ich herausfinden was an der Stelle 0x09975b08 stand? Im Disassemblyfenster steht hinter dieser Zahl nur:<br />
09975b08 ???<br />
Mir ist nicht klar was ich falsch mache, da der restliche Quellcode sehr stabil und erfolgreich abgearbeitet wird.</p>
<p>THX</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1778610</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1778610</guid><dc:creator><![CDATA[abrissbirne]]></dc:creator><pubDate>Tue, 15 Sep 2009 07:55:53 GMT</pubDate></item><item><title><![CDATA[Reply to FreeLibrary() Unhandled exception at 0x09975b08 on Tue, 15 Sep 2009 11:43:39 GMT]]></title><description><![CDATA[<p>Klingt nach einer Zugriffsverletzung. Ohne Code kann man nur sagen: debuggen und herausfinden in welchem Bereich die Zugriffsverletzung stattfindet. Den reduzierten Code dann bitte hier posten.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1778770</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1778770</guid><dc:creator><![CDATA[Kóyaánasqatsi]]></dc:creator><pubDate>Tue, 15 Sep 2009 11:43:39 GMT</pubDate></item><item><title><![CDATA[Reply to FreeLibrary() Unhandled exception at 0x09975b08 on Tue, 15 Sep 2009 14:25:15 GMT]]></title><description><![CDATA[<p>Kóyaánasqatsi schrieb:</p>
<blockquote>
<p>Klingt nach einer Zugriffsverletzung. Ohne Code kann man nur sagen: debuggen und herausfinden in welchem Bereich die Zugriffsverletzung stattfindet. Den reduzierten Code dann bitte hier posten.</p>
</blockquote>
<p>Beim debuggen kann ich keine Fehler feststellen. FreeLibrary() ist die letzte Funktion und wird sauber beendet. Irgendwann popt das Disassembly Fenster auf mit besagter Fehlermeldung. Wenn ich FreeLibrary() auskommentiere passiert nichts. Also müsste der Fehler in der Funktion FreeLibrary passieren, oder? Kann ich mir aber eigentlich nicht vorstellen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1778864</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1778864</guid><dc:creator><![CDATA[abrissbirne]]></dc:creator><pubDate>Tue, 15 Sep 2009 14:25:15 GMT</pubDate></item><item><title><![CDATA[Reply to FreeLibrary() Unhandled exception at 0x09975b08 on Tue, 15 Sep 2009 14:34:32 GMT]]></title><description><![CDATA[<p>dann wird es daran liegen, dass irgendein objekt am ende des scopes zerstört wird, was zuvor kopiert wurde, welches aber nicht zum kopieren gedacht war^^</p>
<p>also setz mal in alle DTors deiner Klassen nen breakpoint und wenn du dann den Übertäter hast, überlädst du dort den CopyCTor bzw op= richtig(also bei pointern, die du im dtor löschst, reicht es nicht, den pointer zu kopieren)</p>
<p>bb</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1778867</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1778867</guid><dc:creator><![CDATA[unskilled]]></dc:creator><pubDate>Tue, 15 Sep 2009 14:34:32 GMT</pubDate></item><item><title><![CDATA[Reply to FreeLibrary() Unhandled exception at 0x09975b08 on Wed, 16 Sep 2009 09:46:47 GMT]]></title><description><![CDATA[<p>unskilled schrieb:</p>
<blockquote>
<p>dann wird es daran liegen, dass irgendein objekt am ende des scopes zerstört wird, was zuvor kopiert wurde, welches aber nicht zum kopieren gedacht war^^</p>
<p>also setz mal in alle DTors deiner Klassen nen breakpoint und wenn du dann den Übertäter hast, überlädst du dort den CopyCTor bzw op= richtig(also bei pointern, die du im dtor löschst, reicht es nicht, den pointer zu kopieren)</p>
<p>bb</p>
</blockquote>
<p>Mein DTor macht bislang aber noch gar nichts. Die Speicher werden nicht im DTor freigegeben, da ich die DLL nicht komplett verlasse, sonder mich ein einer weiteren Hardware verbinden kann. Ich kann den Übeltäter nicht wirklich ausfindig machen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1779677</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1779677</guid><dc:creator><![CDATA[abrissbirne]]></dc:creator><pubDate>Wed, 16 Sep 2009 09:46:47 GMT</pubDate></item><item><title><![CDATA[Reply to FreeLibrary() Unhandled exception at 0x09975b08 on Wed, 16 Sep 2009 12:55:05 GMT]]></title><description><![CDATA[<p>dann setz breakpoint auf letzte zeile und step dich dann mit F11 durch...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1779774</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1779774</guid><dc:creator><![CDATA[unskilled]]></dc:creator><pubDate>Wed, 16 Sep 2009 12:55:05 GMT</pubDate></item><item><title><![CDATA[Reply to FreeLibrary() Unhandled exception at 0x09975b08 on Wed, 16 Sep 2009 13:36:07 GMT]]></title><description><![CDATA[<p>Ich habs mal versucht. Anbei zwei Screenshots. Bei Screenshot1 konnte ich mit F11 nicht mehr weiter und musste drübersteppen. Screenshot2 zeigt dann die Adresse und Fehlermeldung. Ich kann damit nichts anfangen. Danke schonmal.</p>
<p><a href="http://www.dlzemtipp.kilu.de/e107_images/Uploads_Foren/Screenshot1.bmp" rel="nofollow">http://www.dlzemtipp.kilu.de/e107_images/Uploads_Foren/Screenshot1.bmp</a><br />
<a href="http://www.dlzemtipp.kilu.de/e107_images/Uploads_Foren/Screenshot2.bmp" rel="nofollow">http://www.dlzemtipp.kilu.de/e107_images/Uploads_Foren/Screenshot2.bmp</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1779811</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1779811</guid><dc:creator><![CDATA[abrissbirne]]></dc:creator><pubDate>Wed, 16 Sep 2009 13:36:07 GMT</pubDate></item><item><title><![CDATA[Reply to FreeLibrary() Unhandled exception at 0x09975b08 on Wed, 16 Sep 2009 14:02:12 GMT]]></title><description><![CDATA[<p>Zeig mal bitte deinen kompletten main-Code...<br />
Erst mal nur den, weil der Rest wahrscheinlich zu viel werden würde.<br />
Und ich/wir sagen dir dann, welche Klassen/Fkt/... wir noch brauchen, um dir das zu beantworten...</p>
<p>bb</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1779840</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1779840</guid><dc:creator><![CDATA[unskilled]]></dc:creator><pubDate>Wed, 16 Sep 2009 14:02:12 GMT</pubDate></item><item><title><![CDATA[Reply to FreeLibrary() Unhandled exception at 0x09975b08 on Thu, 17 Sep 2009 06:48:33 GMT]]></title><description><![CDATA[<p>unskilled schrieb:</p>
<blockquote>
<p>Zeig mal bitte deinen kompletten main-Code...<br />
Erst mal nur den, weil der Rest wahrscheinlich zu viel werden würde.<br />
Und ich/wir sagen dir dann, welche Klassen/Fkt/... wir noch brauchen, um dir das zu beantworten...</p>
<p>bb</p>
</blockquote>
<p>Ok. Hier der Main Code.</p>
<pre><code class="language-cpp">// dllmain.cpp : Defines the entry point for the DLL application.
#include &quot;stdafx.h&quot;

Abstract_Cam_Interface *ClassPtrList[5] = {NULL};
long int IRCamIndex = 0;

IRBGrab CamOne(1, false);					
BOOL APIENTRY DllMain( HMODULE hModule,
                       DWORD  ul_reason_for_call,
                       LPVOID lpReserved )
{
switch (ul_reason_for_call)
{
	case DLL_PROCESS_ATTACH:
	{
		ClassPtrList[1] = &amp;CamOne;
		break;
	}
	case DLL_THREAD_ATTACH:
	case DLL_THREAD_DETACH:
	case DLL_PROCESS_DETACH:
	break;
}
	return TRUE;
}

#define DLL_EXPORT extern &quot;C&quot; __declspec(dllexport)

DLL_EXPORT int Connect(long int *CamIndex);
DLL_EXPORT int Disconnect();

DLL_EXPORT int Connect(long int *CamIndex)
{
	return ClassPtrList[*CamIndex]-&gt;Connect();
}

DLL_EXPORT int Disconnect()
{
	return ClassPtrList[IRCamIndex]-&gt;Disconnect();
}
</code></pre>
<p>ClassPtrList ist ein Pionterarray auf eine Abstrakte Klasse, welche Pointer der SDK Klassen aufnimmt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1780203</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1780203</guid><dc:creator><![CDATA[abrissbirne]]></dc:creator><pubDate>Thu, 17 Sep 2009 06:48:33 GMT</pubDate></item><item><title><![CDATA[Reply to FreeLibrary() Unhandled exception at 0x09975b08 on Thu, 17 Sep 2009 07:10:39 GMT]]></title><description><![CDATA[<p>Ich tippe mal auf irgendwas, dass im Dtor von <code>IRBGrab</code> gemacht wird. Der Code in der <code>DllMain</code> kann es eigentlich nicht sein.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1780215</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1780215</guid><dc:creator><![CDATA[Tachyon]]></dc:creator><pubDate>Thu, 17 Sep 2009 07:10:39 GMT</pubDate></item><item><title><![CDATA[Reply to FreeLibrary() Unhandled exception at 0x09975b08 on Thu, 17 Sep 2009 07:45:36 GMT]]></title><description><![CDATA[<p>Tachyon schrieb:</p>
<blockquote>
<p>Ich tippe mal auf irgendwas, dass im Dtor von <code>IRBGrab</code> gemacht wird. Der Code in der <code>DllMain</code> kann es eigentlich nicht sein.</p>
</blockquote>
<p>Der DTor macht noch nichts. Hier mal der Disconnect Code. In diesem wird FreeLibrary aufgerufen.</p>
<pre><code class="language-cpp">int IRBGrab::Disconnect()
{
this-&gt;GetFctAddr().CloseSource(this-&gt;GetSrcID())
delete []this-&gt;FrameInfoIn.buf;
this-&gt;IRBGrab_DisposeHandle();
this-&gt;GetLVMem()-&gt;DimSize = NULL;
this-&gt;GetLVMem()-&gt;Elements[0] = NULL;
ClearFrameStruct(this-&gt;GetFrameInfoIn);
this-&gt;IRBGrab_Delete_CriticalSection();

BOOL result = FreeLibrary(this-&gt;GetHinstLib());
return 0;	
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1780230</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1780230</guid><dc:creator><![CDATA[abrissbirne]]></dc:creator><pubDate>Thu, 17 Sep 2009 07:45:36 GMT</pubDate></item><item><title><![CDATA[Reply to FreeLibrary() Unhandled exception at 0x09975b08 on Thu, 17 Sep 2009 08:02:16 GMT]]></title><description><![CDATA[<p>In der von Dir geposteten <code>dllMain</code> wird aber nichts aufgerufen. Es wird nur ein Pointer zugewiesen. Mehr nicht.<br />
Das Einzige, wo in dem Codestück noch etwas ausgeführt werden kann, ist im Ctor und Dtor von <code>IRBGrab</code> .<br />
Es sei denn, es gibt irgendwelche exotisch überladenen Operatoren.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1780240</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1780240</guid><dc:creator><![CDATA[Tachyon]]></dc:creator><pubDate>Thu, 17 Sep 2009 08:02:16 GMT</pubDate></item><item><title><![CDATA[Reply to FreeLibrary() Unhandled exception at 0x09975b08 on Thu, 17 Sep 2009 08:14:11 GMT]]></title><description><![CDATA[<p>Tachyon schrieb:</p>
<blockquote>
<p>In der von Dir geposteten <code>dllMain</code> wird aber nichts aufgerufen. Es wird nur ein Pointer zugewiesen. Mehr nicht.<br />
Das Einzige, wo in dem Codestück noch etwas ausgeführt werden kann, ist im Ctor und Dtor von <code>IRBGrab</code> .<br />
Es sei denn, es gibt irgendwelche exotisch überladenen Operatoren.</p>
</blockquote>
<p>Hier wird die Funktion Disconnect aufgerufen. Über den Klassenpointer sucht sich die abstrakte Klasse die richtige SDK. In diesem Fall die IRBGrab SDK.</p>
<pre><code class="language-cpp">DLL_EXPORT int Disconnect()
{
	return ClassPtrList[IRCamIndex]-&gt;Disconnect();
}
</code></pre>
<p>Hier CTor und DTor:</p>
<pre><code class="language-cpp">IRBGrab::IRBGrab(unsigned int ID, bool Flags) : Abstract_Cam_Interface() 
{
SrcID = ID;
if(ObjIndex++ == 0)
	ClearFrameStruct(&amp;FrameInfoIn);
Live = Flags;
LVMem.DimSize = NULL;
LVMem.Elements[0] = NULL;
}
</code></pre>
<pre><code class="language-cpp">IRBGrab::~IRBGrab()
{
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1780246</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1780246</guid><dc:creator><![CDATA[abrissbirne]]></dc:creator><pubDate>Thu, 17 Sep 2009 08:14:11 GMT</pubDate></item><item><title><![CDATA[Reply to FreeLibrary() Unhandled exception at 0x09975b08 on Thu, 17 Sep 2009 08:21:03 GMT]]></title><description><![CDATA[<p>abrissbirne schrieb:</p>
<blockquote>
<p>...</p>
</blockquote>
<p>Nochmal: Kommt der Fehler mit der <code>dllMain</code> so, wie Du sie oben gepostet hast?<br />
Wenn ja: Da wird kein Disconnect oder sonstwas aufgerufen.<br />
Ansonsten:</p>
<pre><code class="language-cpp">DLL_EXPORT int Disconnect()
{
    //IRCamIndex ist global und 0. Hinter ClassPtrList[0] sitzt aber kein gueltiges Objekt.
    return ClassPtrList[IRCamIndex]-&gt;Disconnect();
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1780248</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1780248</guid><dc:creator><![CDATA[Tachyon]]></dc:creator><pubDate>Thu, 17 Sep 2009 08:21:03 GMT</pubDate></item><item><title><![CDATA[Reply to FreeLibrary() Unhandled exception at 0x09975b08 on Thu, 17 Sep 2009 08:21:11 GMT]]></title><description><![CDATA[<p>Tachyon schrieb:</p>
<blockquote>
<p>abrissbirne schrieb:</p>
<blockquote>
<p>...</p>
</blockquote>
<p>Nochmal: Kommt der Fehler mit der <code>dllMain</code> so, wie Du sie oben gepostet hast?<br />
Wenn ja: Da wird kein Disconnect oder sonstwas aufgerufen.</p>
</blockquote>
<p>Erstmal Disconnect() wird aufgerufen. Innerhalb dieser wird FreeLibrary aufgerufen. Die Funktion wird ohne Fehler beendet und springt in dllMain zurück. Dort wird der Rückgabewert der Funktion Disconnect zurückgeliefert, auch noch ohne Fehler. Danach erst kommt im Disassemblyfenster irgendwann die Fehlermeldung (siehe Screenshots). Deshalb weiß ich auch nicht wo ich noch debuggen soll.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1780250</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1780250</guid><dc:creator><![CDATA[abrissbirne]]></dc:creator><pubDate>Thu, 17 Sep 2009 08:21:11 GMT</pubDate></item><item><title><![CDATA[Reply to FreeLibrary() Unhandled exception at 0x09975b08 on Thu, 17 Sep 2009 08:22:52 GMT]]></title><description><![CDATA[<p>abrissbirne schrieb:</p>
<blockquote>
<p>Erstmal Disconnect() wird aufgerufen.</p>
</blockquote>
<p>Wo denn? Poste doch bitte mal den richtigen Code.<br />
Außerdem nochmal:</p>
<p>Tachyon schrieb:</p>
<blockquote>
<pre><code class="language-cpp">DLL_EXPORT int Disconnect()
{
    //IRCamIndex ist global und 0. Hinter ClassPtrList[0] sitzt aber kein gueltiges Objekt.
    return ClassPtrList[IRCamIndex]-&gt;Disconnect();
}
</code></pre>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/1780251</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1780251</guid><dc:creator><![CDATA[Tachyon]]></dc:creator><pubDate>Thu, 17 Sep 2009 08:22:52 GMT</pubDate></item><item><title><![CDATA[Reply to FreeLibrary() Unhandled exception at 0x09975b08 on Thu, 17 Sep 2009 08:59:26 GMT]]></title><description><![CDATA[<p>Also nochmal. Ich hab die Stellen kenntlich gemacht:</p>
<pre><code class="language-cpp">// dllmain.cpp : Defines the entry point for the DLL application.
#include &quot;stdafx.h&quot;

Abstract_Cam_Interface *ClassPtrList[5] = {NULL};
long int IRCamIndex = 0;

IRBGrab CamOne(1, false);					
BOOL APIENTRY DllMain( HMODULE hModule,
                       DWORD  ul_reason_for_call,
                       LPVOID lpReserved )
{
switch (ul_reason_for_call)
{
	case DLL_PROCESS_ATTACH:
	{
		ClassPtrList[1] = &amp;CamOne; // &lt;--Hier wird die Adresse der IRBGrab Klasse hinterlegt.
		break;
	}
	case DLL_THREAD_ATTACH:
	case DLL_THREAD_DETACH:
	case DLL_PROCESS_DETACH:
	break;
}
	return TRUE;
}

#define DLL_EXPORT extern &quot;C&quot; __declspec(dllexport)

DLL_EXPORT int Connect(long int *CamIndex);
DLL_EXPORT int Disconnect();

DLL_EXPORT int Connect(long int *CamIndex)
{
    IRCamIndex = *CamIndex;
	return ClassPtrList[*CamIndex]-&gt;Connect();
}

DLL_EXPORT int Disconnect()
{
	return ClassPtrList[IRCamIndex]-&gt;Disconnect(); // &lt;-- Hier wird auf den IRBGrab Pointer zugegriffen (IRCamIndex = 1) und somit die Funktion Disconnect() aufgerufen.
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1780279</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1780279</guid><dc:creator><![CDATA[abrissbirne]]></dc:creator><pubDate>Thu, 17 Sep 2009 08:59:26 GMT</pubDate></item><item><title><![CDATA[Reply to FreeLibrary() Unhandled exception at 0x09975b08 on Thu, 17 Sep 2009 11:18:08 GMT]]></title><description><![CDATA[<p>Wo wird denn <code>int Connect(long int *CamIndex)</code> und <code>int Disconnect()</code> aufgerufen? In dem Programm, welches die dll einbindet? Bist Du sicher, dass bei Connect mit den Parametern alles in Ordnung ist?<br />
Mach mal eine Ausgabe in den Dtor rein. Vielleicht gibt es Dein CamOne-Objekt gar nicht mehr, wenn Du Connect und Disconnect aufrufst.</p>
<p>Achso, <code>Abstract_Cam_Interface</code> hat einen virtuellen Dtor, ja?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1780334</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1780334</guid><dc:creator><![CDATA[Tachyon]]></dc:creator><pubDate>Thu, 17 Sep 2009 11:18:08 GMT</pubDate></item><item><title><![CDATA[Reply to FreeLibrary() Unhandled exception at 0x09975b08 on Thu, 17 Sep 2009 11:30:37 GMT]]></title><description><![CDATA[<p>Tachyon schrieb:</p>
<blockquote>
<p>Wo wird denn <code>int Connect(long int *CamIndex)</code> und <code>int Disconnect()</code> aufgerufen? In dem Programm, welches die dll einbindet?</p>
</blockquote>
<p>Genau.</p>
<p>Tachyon schrieb:</p>
<blockquote>
<p>Bist Du sicher, dass bei Connect mit den Parametern alles in Ordnung ist?<br />
Mach mal eine Ausgabe in den Dtor rein. Vielleicht gibt es Dein CamOne-Objekt gar nicht mehr, wenn Du Connect und Disconnect aufrufst.</p>
</blockquote>
<p>Hab ne MessageBox in den CTor und DTor gelegt. Das Object bleibt bestehen.</p>
<p>Tachyon schrieb:</p>
<blockquote>
<p>Achso, <code>Abstract_Cam_Interface</code> hat einen virtuellen Dtor, ja?</p>
</blockquote>
<p>Genau:</p>
<pre><code class="language-cpp">class Abstract_Cam_Interface
{
	private:
		static int ObjIndex;
	public:
		Abstract_Cam_Interface();			// Konstruktor
		virtual ~Abstract_Cam_Interface();	// Destruktor

		virtual int Connect(void)				= 0;
		virtual int Disconnect(void)			= 0;
};
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1780351</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1780351</guid><dc:creator><![CDATA[abrissbirne]]></dc:creator><pubDate>Thu, 17 Sep 2009 11:30:37 GMT</pubDate></item><item><title><![CDATA[Reply to FreeLibrary() Unhandled exception at 0x09975b08 on Thu, 17 Sep 2009 12:38:50 GMT]]></title><description><![CDATA[<p>Hmm.. Zeig mal die main.cpp in der du die Fkt nutzt, die du in der dll gebastelt hast^^</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1780433</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1780433</guid><dc:creator><![CDATA[unskilled]]></dc:creator><pubDate>Thu, 17 Sep 2009 12:38:50 GMT</pubDate></item><item><title><![CDATA[Reply to FreeLibrary() Unhandled exception at 0x09975b08 on Thu, 17 Sep 2009 12:55:00 GMT]]></title><description><![CDATA[<p>Ich hab wohl zu sehr an meinem Code gezweifelt. Nachdem ich diesen nun Zichfach durchgegangen bin, habe ich mit dem Entwickler der von mir aufgerufenen DLL telefoniert. Es gab mitlerweile einige Updates und nun funktioniert auch das Entladen dieser. Vielen Dank an alle die mir geantwortet haben.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1780459</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1780459</guid><dc:creator><![CDATA[abrissbirne]]></dc:creator><pubDate>Thu, 17 Sep 2009 12:55:00 GMT</pubDate></item><item><title><![CDATA[Reply to FreeLibrary() Unhandled exception at 0x09975b08 on Thu, 17 Sep 2009 13:01:33 GMT]]></title><description><![CDATA[<p>abrissbirne schrieb:</p>
<blockquote>
<p>Ich hab wohl zu sehr an meinem Code gezweifelt. Nachdem ich diesen nun Zichfach durchgegangen bin, habe ich mit dem Entwickler der von mir aufgerufenen DLL telefoniert. Es gab mitlerweile einige Updates und nun funktioniert auch das Entladen dieser. Vielen Dank an alle die mir geantwortet haben.</p>
</blockquote>
<p>ok : D<br />
bb ;o)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1780466</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1780466</guid><dc:creator><![CDATA[unskilled]]></dc:creator><pubDate>Thu, 17 Sep 2009 13:01:33 GMT</pubDate></item><item><title><![CDATA[Reply to FreeLibrary() Unhandled exception at 0x09975b08 on Thu, 17 Sep 2009 13:07:56 GMT]]></title><description><![CDATA[<p>unskilled schrieb:</p>
<blockquote>
<p>abrissbirne schrieb:</p>
<blockquote>
<p>Ich hab wohl zu sehr an meinem Code gezweifelt. Nachdem ich diesen nun Zichfach durchgegangen bin, habe ich mit dem Entwickler der von mir aufgerufenen DLL telefoniert. Es gab mitlerweile einige Updates und nun funktioniert auch das Entladen dieser. Vielen Dank an alle die mir geantwortet haben.</p>
</blockquote>
<p>ok : D<br />
bb ;o)</p>
</blockquote>
<p>Jo, hab das erstemal mit abstrakten Klassen gearbeitet. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /> <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1780474</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1780474</guid><dc:creator><![CDATA[abrissbirne]]></dc:creator><pubDate>Thu, 17 Sep 2009 13:07:56 GMT</pubDate></item></channel></rss>