EasyLanguage with C# DLL  [SOLVED]

Questions about MultiCharts and user contributed studies.
eto
Posts: 33
Joined: 09 May 2011
Has thanked: 13 times
Been thanked: 7 times

EasyLanguage with C# DLL

Postby eto » 09 May 2011

Hi,

I'm very new with MC and easylanguage.

Appreciate if anyone can help to provide any tutorial or sample how to produce c# dll and how to call if from easylanguage.

Thanks in advance.

rgds,
eto

User avatar
TJ
Posts: 6571
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 968 times
Been thanked: 1900 times

Re: EasyLanguage with C# DLL

Postby TJ » 09 May 2011

eto wrote:Hi,

I'm very new with MC and easylanguage.

Appreciate if anyone can help to provide any tutorial or sample how to produce c# dll and how to call if from easylanguage.

Thanks in advance.

rgds,
eto


see this thread:
viewtopic.php?f=17&t=8498
These users thanked the author TJ for the post:
Stan Bokov

eto
Posts: 33
Joined: 09 May 2011
Has thanked: 13 times
Been thanked: 7 times

Re: EasyLanguage with C# DLL

Postby eto » 09 May 2011

Thanks Tj,

Is the same to call c# dll function as c dll function?

How about the parameter will it to specified the same?

I read the dll document but the example is for C dll so a bit confuse.

rondot samuel ws
Posts: 103
Joined: 05 Sep 2007
Has thanked: 8 times
Been thanked: 6 times

Re: EasyLanguage with C# DLL

Postby rondot samuel ws » 12 May 2011

Hi,

I'm not a specialist but I can answer some things :

When you have a dll, you dont care in which language she was created. You call it on the same way.

For create a DLL, it seems Free basic is really simple (read somewhere on this forum)
So if you are not a C# or C++ specialist, think about it.

regards

Laurent

eto wrote:Thanks Tj,

Is the same to call c# dll function as c dll function?

How about the parameter will it to specified the same?

I read the dll document but the example is for C dll so a bit confuse.

radekj
Posts: 99
Joined: 28 Apr 2008
Has thanked: 18 times
Been thanked: 1 time

Re: EasyLanguage with C# DLL

Postby radekj » 16 May 2011

You cannot use menaged dll in in unmenaged program like default-dlls (C++, Delphi etc.) !

They must be called as ActiveX object or you must wrap it (C# dll) into menaged-unmenaged-mixed dll !

ciao
radekj

PS: menaged = .net, unmenaged = pure 32bit or 64bit assembler executable

eto
Posts: 33
Joined: 09 May 2011
Has thanked: 13 times
Been thanked: 7 times

Re: EasyLanguage with C# DLL  [SOLVED]

Postby eto » 17 Oct 2015

Just to update this thread.

There is a way to make ur c# called by easylanguage.

Refer here https://sites.google.com/site/robertgie ... gedexports


Return to “MultiCharts”