<?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[ERROR LNK2001 &#x2F; FATAL ERRORLNK1120]]></title><description><![CDATA[<p>Hello again,</p>
<p>I have more one question: When compiling the programme for test I am getting the following erros:</p>
<p>error LNK2001: unresolved external symbol &quot;__declspec(dllimport) class CTheData const * __cdecl GetTheData(void)&quot; (__imp_?GetTheData@@YAPBVCGetTheData@@XZ)</p>
<p>Debug/Test_TheData.exe : fatal error LNK1120: 1 unresolved externals</p>
<p>Error executing link.exe.</p>
<p>Thanks again :p</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/188685/error-lnk2001-fatal-errorlnk1120</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 03:47:16 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/188685.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 02 Aug 2007 21:58:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ERROR LNK2001 &#x2F; FATAL ERRORLNK1120 on Thu, 02 Aug 2007 21:58:30 GMT]]></title><description><![CDATA[<p>Hello again,</p>
<p>I have more one question: When compiling the programme for test I am getting the following erros:</p>
<p>error LNK2001: unresolved external symbol &quot;__declspec(dllimport) class CTheData const * __cdecl GetTheData(void)&quot; (__imp_?GetTheData@@YAPBVCGetTheData@@XZ)</p>
<p>Debug/Test_TheData.exe : fatal error LNK1120: 1 unresolved externals</p>
<p>Error executing link.exe.</p>
<p>Thanks again :p</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1337708</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1337708</guid><dc:creator><![CDATA[IKS2007]]></dc:creator><pubDate>Thu, 02 Aug 2007 21:58:30 GMT</pubDate></item><item><title><![CDATA[Reply to ERROR LNK2001 &#x2F; FATAL ERRORLNK1120 on Fri, 03 Aug 2007 06:25:01 GMT]]></title><description><![CDATA[<p>Where did you define the requested function 'GetTheData()' (this means: where do you have its function body) - the error message tells you, that the linker didn't find this definition.</p>
<p>(ps: sorry for my poor english - I hope you understand)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1337782</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1337782</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Fri, 03 Aug 2007 06:25:01 GMT</pubDate></item><item><title><![CDATA[Reply to ERROR LNK2001 &#x2F; FATAL ERRORLNK1120 on Fri, 03 Aug 2007 19:21:31 GMT]]></title><description><![CDATA[<p>Hello CStoll,</p>
<p>Thanks for your reply and your English is very good.<br />
The function is defined in a DLL project (created as win32 dynamic link library with export functions) in cpp program as external function to be exported to another application.</p>
<p>The link error is coming up in another project win32 consel application<br />
in the test program.cpp in its main function where the function GetTheData()is<br />
called for test to debug the dll program.cpp</p>
<p>Thanks again for your help<br />
IKS</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1338373</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1338373</guid><dc:creator><![CDATA[IKS2007]]></dc:creator><pubDate>Fri, 03 Aug 2007 19:21:31 GMT</pubDate></item></channel></rss>