fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    Possible to insert dll import code ?

    Questions & Answers
    3
    5
    868
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      Mantadiver last edited by

      Hi,

      I am trying to insert code to import a dll, #import ...............#import.

      It needs to go directly after the #property entries at the very beginning of the code.

      Currently I have to open each compilation & manually insert it.

      Does anyone know if there is a block that allows MQL to be injected into that specific position or a cunning way around it ?

      Many thanks in advance.

      1 Reply Last reply Reply Quote 0
      • J
        JamesDaly last edited by

        I was just wondering did you ever come right with this request.

        Im trying to include the #import "wininet.dll" into my fxdreema code but im not coming right.

        1 Reply Last reply Reply Quote 0
        • M
          Mantadiver last edited by

          Not yet, sorry.

          1 Reply Last reply Reply Quote 0
          • M
            Mantadiver last edited by

            OK I have now managed to import a dll using fxdreema:

            1. Create a new CUSTOM block (click "Custom" from left hand panel).
            2. Enter a name for your block in the "new block..." field and press "create".
            3. Look down to the bottom panel on the screen with heading "Global variables,includes".
            4. Enter your import / include etc:
              #import " myDLLname.dll"
              or #include <Telegram.mqh>
            5. Press "SAVE CHANGES" at the top
            6. Refresh fxdreema browser and you should see your new block listed under Custom blocks.

            To get it to work I had to make sure the first block in OnInit is "Pass" and the next block is the DLL import block with no other blocks after it. I then started a separate "Pass" block to conduct the remaining OnInit actions.

            l'andorrà 1 Reply Last reply Reply Quote 1
            • l'andorrà
              l'andorrà @Mantadiver last edited by

              @mantadiver Thank you very much for sharing this info. Much appreciated.

              (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

              (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

              (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post

              Online Users

              N
              S
              T
              A
              Y

              34
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors