<?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[DLL dependencies of an Element]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">The Element I am developing has dependencies to two other DLLs that are also part of my project. When I launch SAMSON, these DLLs are not found unless they are present in the PATH environment variable.</p>
<p dir="auto">How should I handle this case? Is it possible to install them automatically at some location recognized by SAMSON?</p>
<p dir="auto">And, for a later step: will it be possible to also upload them when uploading my Element to samson-connect?</p>
<p dir="auto">Best,<br />
Alain</p>
]]></description><link>https://forum.samson-connect.net/topic/45/dll-dependencies-of-an-element</link><generator>RSS for Node</generator><lastBuildDate>Wed, 16 Sep 2026 07:07:28 GMT</lastBuildDate><atom:link href="https://forum.samson-connect.net/topic/45.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 19 Apr 2018 12:07:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to DLL dependencies of an Element on Wed, 05 Sep 2018 11:04:42 GMT]]></title><description><![CDATA[<p dir="auto">From here you can solve your issue related to the dll file, what you need to do is check <a href="https://unfitpc.com/burutter-dll" rel="nofollow ugc">missing Burutter.dll</a> and copy the setting and save the dll file setting in your PC then you are able to replying of dll files.</p>
]]></description><link>https://forum.samson-connect.net/post/203</link><guid isPermaLink="true">https://forum.samson-connect.net/post/203</guid><dc:creator><![CDATA[khushbu]]></dc:creator><pubDate>Wed, 05 Sep 2018 11:04:42 GMT</pubDate></item><item><title><![CDATA[Reply to DLL dependencies of an Element on Mon, 23 Apr 2018 09:07:06 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the answer!</p>
<p dir="auto">Actually it is a total of three libraries:</p>
<ul>
<li>
<p dir="auto">the first one is a module that I load with dlopen. For this one I just implemented a solution where it is installed in the Element Resource directory from CMake, and I then fetch it with a path like <code>SB_ELEMENT_PATH + "/Resource/MyLib.dll"</code>. This works.</p>
</li>
<li>
<p dir="auto">the second one is a shared library on which the element directly depends. I fear I cannot use <code>QCoreApplication::addLibraryPath</code> because this library will be required before any code from the SAMSON Element can be executed. I will have a look if I can convert it to a static library.</p>
</li>
<li>
<p dir="auto">the third one is the dynamic library for Intel TBB. One could require the user to install Intel TBB himself. Otherwise it is the same problem as for the second library above.</p>
</li>
</ul>
]]></description><link>https://forum.samson-connect.net/post/151</link><guid isPermaLink="true">https://forum.samson-connect.net/post/151</guid><dc:creator><![CDATA[Alain]]></dc:creator><pubDate>Mon, 23 Apr 2018 09:07:06 GMT</pubDate></item><item><title><![CDATA[Reply to DLL dependencies of an Element on Fri, 20 Apr 2018 22:36:17 GMT]]></title><description><![CDATA[<p dir="auto">Hi,<br />
For the moment there is no mechanism to do that with Samson. Is it possible for you to statically link to theses dll?<br />
When Samson starts it loads all Samson dll, then it iterate to all Samson elements dlls and do a dlopen on theses libraries.<br />
We have never tried to load this kind of library.<br />
It should work if you put the library in the same folder of Samson-core.exe<br />
Maybe this function can help : void QCoreApplication::addLibraryPath(const QString &amp;path) (static)<br />
Or this one : DLL_DIRECTORY_COOKIE  WINAPI AddDllDirectory(<br />
<em>In</em> PCWSTR NewDirectory<br />
);</p>
<p dir="auto">Tell me if it solve your problem, and if yes we will think to add this possibility on Samson 0.8.0</p>
<p dir="auto">Best, Jocelyn</p>
<p dir="auto">I will try to test on a concrete example on Tuesday.</p>
]]></description><link>https://forum.samson-connect.net/post/150</link><guid isPermaLink="true">https://forum.samson-connect.net/post/150</guid><dc:creator><![CDATA[Jocelyn]]></dc:creator><pubDate>Fri, 20 Apr 2018 22:36:17 GMT</pubDate></item></channel></rss>