Announcement

Collapse
No announcement yet.

How can I put eSignal function to (VB) DLL?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How can I put eSignal function to (VB) DLL?

    hi,

    is there a short tutorial outside, how I can easy put a eSignal function to a Visual Basic DLL or another easy DLL language with few steps?

    I saw some indicators, which works only with the functions in the dll.
    Franz

  • #2
    Hello franzmey,

    The use of the Dll Object in EFS assumes that you are familiar with the development tool used for coding the dll. eSignal does not provide support for these application development tools. To learn more about how to create a dll file with Visual Basic you will need to contact Microsoft or search their available documentation for a dll tutorial.
    Jason K.
    Project Manager
    eSignal - an Interactive Data company

    EFS KnowledgeBase
    JavaScript for EFS Video Series
    EFS Beginner Tutorial Series
    EFS Glossary
    Custom EFS Development Policy

    New User Orientation

    Comment


    • #3
      Hi Jason,

      I am familiar with Visual Basic, the only think I want to know, how to put a simple efs-function to a dll to have a save version of my indicator, if I sell it. The Protection of eSignal ist not so save like a function in a dll!
      Franz

      Comment


      • #4
        Hello franzmey,

        I'm not sure I completely understand your question. In your dll application code you can create any function you want. The base code for the EFS extensions are not available. I cannot give you that code. Please let me know if this answered your question. If not, please explain in greater detail what you are trying to accomplish.
        Jason K.
        Project Manager
        eSignal - an Interactive Data company

        EFS KnowledgeBase
        JavaScript for EFS Video Series
        EFS Beginner Tutorial Series
        EFS Glossary
        Custom EFS Development Policy

        New User Orientation

        Comment


        • #5
          maybe like that:

          Code:
          var mydll = new DLL("file.dll");
          
          mydll.addFunction("dllFunction", DLL.DOUBLE);
          
          var test = null;
          function main()
          { 	
           	test = mydll.call("dllFunction", high(0));
          	return (test);
          }
          in my file.dll I have a function (dllFunction), which works with the value (high(0)) after I call it and then return the result. so, nobody can catch or crack my function in the dll.
          Franz

          Comment


          • #6
            Hello Franz,

            Please review our reference article for the DLL Object. This will help guide you in setting up the connection to your dll properly.

            You should specify the path to your dll. As you have it now it is looking to the same folder where the EFS resides. Also, I think your addFunction() parameters are incomplete. See the last three described in the article referenced above.
            Jason K.
            Project Manager
            eSignal - an Interactive Data company

            EFS KnowledgeBase
            JavaScript for EFS Video Series
            EFS Beginner Tutorial Series
            EFS Glossary
            Custom EFS Development Policy

            New User Orientation

            Comment

            Working...
            X