<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Forex Software — Using custom DLLs in FSB indis]]></title>
		<link>https://forexsb.com/forum/topic/8477/using-custom-dlls-in-fsb-indis/</link>
		<atom:link href="https://forexsb.com/forum/feed/rss/topic/8477/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Using custom DLLs in FSB indis.]]></description>
		<lastBuildDate>Tue, 07 Jul 2020 18:57:46 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Using custom DLLs in FSB indis]]></title>
			<link>https://forexsb.com/forum/post/61425/#p61425</link>
			<description><![CDATA[<p>I&#039;m trying to use custom C# DLL in Pro. But I can&#039;t get past &quot;unable to find entry point&quot; error.</p><p>Everything seems to be in order.</p><p>DLL code, which compiles without errors in VS10</p><div class="codebox"><pre><code>using System;

namespace testlibr
{
    public class Class1
    {
        public int gettst(int nr)
        {
            if (nr == 5)
            {
                return 555;
            }
            return 0;
        }
    }
}</code></pre></div><p>And the custom indi for Pro, which has the necessary namespace, DllImport, entry point defined, method introduced as per documentation and examples I&#039;ve studied.</p><div class="codebox"><pre><code>using System.Runtime.InteropServices;

namespace ForexStrategyBuilder.Indicators.Store
{
    public class dlltest : Indicator
    {
        [DllImport(@&quot;C:\Documents and Settings\Administrator\Desktop\Forex Strategy Builder Pro\Versions\3.8.4.0\testlibr.dll&quot;, EntryPoint = &quot;gettst&quot;)]
        public static extern int gettst(int nr);</code></pre></div><p>And it fails... What am I doing wrong?</p>]]></description>
			<author><![CDATA[null@example.com (footon)]]></author>
			<pubDate>Tue, 07 Jul 2020 18:57:46 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/61425/#p61425</guid>
		</item>
	</channel>
</rss>
