<?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[Unresolved external &#x27;__fastcall Graphics::TCanvas::GetHandle()&#x27;]]></title><description><![CDATA[<p>Hallo,</p>
<p>so kann man ja normal ein Programm kompilieren, damit es auch auf Rechnern ohne Borland läuft:</p>
<p><div class="plugin-markdown"><input type="checkbox" id="checkbox326225" /><label for="checkbox326225">dynamische RTL verwenden</label></div><br />
<div class="plugin-markdown"><input type="checkbox" id="checkbox326224" /><label for="checkbox326224">mit Laufzeit Packages aktualisieren</label></div></p>
<p>leider kommt dann bei einer dll von mir folgender Fehler:</p>
<pre><code>[Linker Fehler] Unresolved external '__fastcall Graphics::TCanvas::GetHandle()' referenced from E:\EIGENE PROGRAMME\C\PROJEKTE\SPC3\SPC3\RELEASE\SOURCEBETA8\PLUGINS\INVERT.OBJ
</code></pre>
<p>die dll enthält fogenden code:</p>
<pre><code class="language-cpp">#include &lt;vcl.h&gt;
#include &lt;windows.h&gt;
#pragma hdrstop
#include &quot;..\\GfxPlugin.h&quot;

#pragma argsused

class Invert: public SPCGFXPlugIn
{
__published:
private:
public:
    void Render(TCanvas * Canvas, int iWidth, int iHeight, int iPicTyp);
};

void Invert::Render(TCanvas * Canvas, int iWidth, int iHeight, int iPicTyp)
{
    // Invert the Canvas
    HRGN PictureHRGN = CreateRectRgn(0, 0, iWidth, iHeight);
    InvertRgn(Canvas-&gt;Handle, PictureHRGN);
    return;
}

__declspec(dllexport) SPCGFXPlugIn* CreatePlugInObject()
{
    return new Invert;
}

int WINAPI DllEntryPoint(HINSTANCE hinst, unsigned long reason, void* lpReserved)
{
    return 1;
}
//---------------------------------------------------------------------------
</code></pre>
<p>woran liegt das? Kennt jemand eine Lösung?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/101170/unresolved-external-__fastcall-graphics-tcanvas-gethandle</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Jul 2026 11:08:25 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/101170.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 14 Feb 2005 05:28:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Unresolved external &#x27;__fastcall Graphics::TCanvas::GetHandle()&#x27; on Mon, 14 Feb 2005 05:28:23 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>so kann man ja normal ein Programm kompilieren, damit es auch auf Rechnern ohne Borland läuft:</p>
<p><div class="plugin-markdown"><input type="checkbox" id="checkbox326225" /><label for="checkbox326225">dynamische RTL verwenden</label></div><br />
<div class="plugin-markdown"><input type="checkbox" id="checkbox326224" /><label for="checkbox326224">mit Laufzeit Packages aktualisieren</label></div></p>
<p>leider kommt dann bei einer dll von mir folgender Fehler:</p>
<pre><code>[Linker Fehler] Unresolved external '__fastcall Graphics::TCanvas::GetHandle()' referenced from E:\EIGENE PROGRAMME\C\PROJEKTE\SPC3\SPC3\RELEASE\SOURCEBETA8\PLUGINS\INVERT.OBJ
</code></pre>
<p>die dll enthält fogenden code:</p>
<pre><code class="language-cpp">#include &lt;vcl.h&gt;
#include &lt;windows.h&gt;
#pragma hdrstop
#include &quot;..\\GfxPlugin.h&quot;

#pragma argsused

class Invert: public SPCGFXPlugIn
{
__published:
private:
public:
    void Render(TCanvas * Canvas, int iWidth, int iHeight, int iPicTyp);
};

void Invert::Render(TCanvas * Canvas, int iWidth, int iHeight, int iPicTyp)
{
    // Invert the Canvas
    HRGN PictureHRGN = CreateRectRgn(0, 0, iWidth, iHeight);
    InvertRgn(Canvas-&gt;Handle, PictureHRGN);
    return;
}

__declspec(dllexport) SPCGFXPlugIn* CreatePlugInObject()
{
    return new Invert;
}

int WINAPI DllEntryPoint(HINSTANCE hinst, unsigned long reason, void* lpReserved)
{
    return 1;
}
//---------------------------------------------------------------------------
</code></pre>
<p>woran liegt das? Kennt jemand eine Lösung?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/722679</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/722679</guid><dc:creator><![CDATA[Acidmrp]]></dc:creator><pubDate>Mon, 14 Feb 2005 05:28:23 GMT</pubDate></item><item><title><![CDATA[Reply to Unresolved external &#x27;__fastcall Graphics::TCanvas::GetHandle()&#x27; on Mon, 14 Feb 2005 06:45:11 GMT]]></title><description><![CDATA[<p>GetHandle() aus Graphics::TCanvas kann nicht aufgelöst werden.</p>
<p>Bye, TGGC (<a href="http://www.fh-merseburg.de/~roesch/piped/piped.php" rel="nofollow">Pipe my World.</a>)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/722700</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/722700</guid><dc:creator><![CDATA[TGGC]]></dc:creator><pubDate>Mon, 14 Feb 2005 06:45:11 GMT</pubDate></item><item><title><![CDATA[Reply to Unresolved external &#x27;__fastcall Graphics::TCanvas::GetHandle()&#x27; on Mon, 14 Feb 2005 10:01:46 GMT]]></title><description><![CDATA[<p>ja, ist mir klar. Aber warum? Was kann man dagegen machen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/722828</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/722828</guid><dc:creator><![CDATA[Acidmrp]]></dc:creator><pubDate>Mon, 14 Feb 2005 10:01:46 GMT</pubDate></item><item><title><![CDATA[Reply to Unresolved external &#x27;__fastcall Graphics::TCanvas::GetHandle()&#x27; on Mon, 14 Feb 2005 10:17:01 GMT]]></title><description><![CDATA[<p>Hast du schon überprüft, ob die Include- und Lib-Verzeichnisse in den Projektoptionen korrekt gesetzt sind?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/722842</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/722842</guid><dc:creator><![CDATA[Dasd]]></dc:creator><pubDate>Mon, 14 Feb 2005 10:17:01 GMT</pubDate></item><item><title><![CDATA[Reply to Unresolved external &#x27;__fastcall Graphics::TCanvas::GetHandle()&#x27; on Tue, 15 Feb 2005 18:42:42 GMT]]></title><description><![CDATA[<p>klar, die includes und alles passt. Ich kann die dll ja auch erstellen, nur<br />
wenn ich sie Borland unabhängig machen will, also damit sie auf jedem PC<br />
funktioniert, dann kommt der Fehler.</p>
<p>Graphics::TCanvas hab ich ja nicht selber programmier sondern ist Borland<br />
Standard</p>
]]></description><link>https://www.c-plusplus.net/forum/post/724264</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/724264</guid><dc:creator><![CDATA[Acidmrp]]></dc:creator><pubDate>Tue, 15 Feb 2005 18:42:42 GMT</pubDate></item><item><title><![CDATA[Reply to Unresolved external &#x27;__fastcall Graphics::TCanvas::GetHandle()&#x27; on Tue, 15 Feb 2005 19:21:29 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>hats du in dem DLL-Projekt auch die Runtime-Librarys ausgeschaltet? Siehe Standalone-Exe</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/724295</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/724295</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Tue, 15 Feb 2005 19:21:29 GMT</pubDate></item><item><title><![CDATA[Reply to Unresolved external &#x27;__fastcall Graphics::TCanvas::GetHandle()&#x27; on Tue, 15 Feb 2005 21:00:55 GMT]]></title><description><![CDATA[<p>ich hab im dll Projekt alles so eingestellt wie ich normal die Einstellungen<br />
für eine Standalone exe einstelle.</p>
<p>Ich hab das minimal Projekt auch mal hochgeladen:<br />
<a href="http://www.gsm-dev.de/SPC3PluginTest.rar" rel="nofollow">www.gsm-dev.de/SPC3PluginTest.rar</a></p>
<p>das ganze soll mal ein Plugin für <a href="http://www.gsmdev.de/index.php?c=viewprojektinfo&amp;id=33" rel="nofollow">Siemens Picture Change 3</a> werden.<br />
Wenn das ganze aber natürlich nur mit Borland funktioniert muss ich<br />
mir entweder was anderes überlegen oder den Plugin Support aus SPC3<br />
wieder entfernen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/724395</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/724395</guid><dc:creator><![CDATA[Acidmrp]]></dc:creator><pubDate>Tue, 15 Feb 2005 21:00:55 GMT</pubDate></item></channel></rss>