<?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[Not able to load dll]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I am not able to load dll. "bool okLoad = mylib.load();" is returning false.</p>
<p dir="auto">I have tried following, but none of them are working:</p>
<p dir="auto">1.)  QLibrary mylib("abc.dll");<br />
bool okLoad = mylib.load();</p>
<p dir="auto">2.)  QLibrary mylib("C:/Simulator/Package/trunk/Simu/abc.dll");<br />
bool okLoad = mylib.load();</p>
<p dir="auto">3.) I have added "LIBS += abc.dll " in .pro file too</p>
<p dir="auto">I don't know I am not able to load dll.</p>
<p dir="auto">Thanks in advance</p>
]]></description><link>https://forum.qt.io/topic/32398/not-able-to-load-dll</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 08:25:21 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/32398.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 26 Sep 2013 05:21:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Not able to load dll on Fri, 04 Oct 2013 09:59:21 GMT]]></title><description><![CDATA[<p dir="auto">Danke raven-work !<br />
Your questions solved my half of the problem. :)</p>
]]></description><link>https://forum.qt.io/post/197780</link><guid isPermaLink="true">https://forum.qt.io/post/197780</guid><dc:creator><![CDATA[AmitSingh]]></dc:creator><pubDate>Fri, 04 Oct 2013 09:59:21 GMT</pubDate></item><item><title><![CDATA[Reply to Not able to load dll on Thu, 26 Sep 2013 08:52:42 GMT]]></title><description><![CDATA[<p dir="auto">are all symbols exported by the DLL C-exported? As is said if not all symbols are C-exported the compiler (and probably some specific settings) need to match in order to successful load the library!<br />
Where did you get the DLL from?</p>
]]></description><link>https://forum.qt.io/post/196773</link><guid isPermaLink="true">https://forum.qt.io/post/196773</guid><dc:creator><![CDATA[raven-worx]]></dc:creator><pubDate>Thu, 26 Sep 2013 08:52:42 GMT</pubDate></item><item><title><![CDATA[Reply to Not able to load dll on Thu, 26 Sep 2013 08:48:48 GMT]]></title><description><![CDATA[<p dir="auto">QLibrary::errorString() returns :<br />
"Cannot load library abc.dll: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem."</p>
<p dir="auto">I can see that corresponding header file have C-exported methods.</p>
]]></description><link>https://forum.qt.io/post/196770</link><guid isPermaLink="true">https://forum.qt.io/post/196770</guid><dc:creator><![CDATA[AmitSingh]]></dc:creator><pubDate>Thu, 26 Sep 2013 08:48:48 GMT</pubDate></item><item><title><![CDATA[Reply to Not able to load dll on Thu, 26 Sep 2013 06:16:56 GMT]]></title><description><![CDATA[<p dir="auto">"LIBS += abc.dll" is nonsense, remove it.</p>
<p dir="auto">And please provide more info:<br />
What is this DLL for?<br />
Does it contain C-exported methods? If not is the compiler version the same?<br />
What does QLibrary::errorString() return after the you have called load()?</p>
]]></description><link>https://forum.qt.io/post/196734</link><guid isPermaLink="true">https://forum.qt.io/post/196734</guid><dc:creator><![CDATA[raven-worx]]></dc:creator><pubDate>Thu, 26 Sep 2013 06:16:56 GMT</pubDate></item></channel></rss>