forex software

Create and Test Forex Strategies

forex software

Skip to forum content

Forex Forum

Forex Software, Forex Strategies, Expert Advisors Generator

You are not logged in. Please login or register.


Forex Forum → Forex Strategy Builder Professional → Using custom DLLs in FSB indis

Pages 1

You must login or register to post a reply

RSS topic feed

Posts: 1

Topic: Using custom DLLs in FSB indis

I'm trying to use custom C# DLL in Pro. But I can't get past "unable to find entry point" error.

Everything seems to be in order.

DLL code, which compiles without errors in VS10

using System;

namespace testlibr
{
    public class Class1
    {
        public int gettst(int nr)
        {
            if (nr == 5)
            {
                return 555;
            }
            return 0;
        }
    }
}

And the custom indi for Pro, which has the necessary namespace, DllImport, entry point defined, method introduced as per documentation and examples I've studied.

using System.Runtime.InteropServices;

namespace ForexStrategyBuilder.Indicators.Store
{
    public class dlltest : Indicator
    {
        [DllImport(@"C:\Documents and Settings\Administrator\Desktop\Forex Strategy Builder Pro\Versions\3.8.4.0\testlibr.dll", EntryPoint = "gettst")]
        public static extern int gettst(int nr);

And it fails... What am I doing wrong?

Posts: 1

Pages 1

You must login or register to post a reply

Forex Forum → Forex Strategy Builder Professional → Using custom DLLs in FSB indis

Similar topics in this forum