Pregunta error 126 mt4

 

Publi

error 126 mt4

 

Publi

Resultados 1 al 2 de 2


  1. #1




    Reputación:
    Poder de reputación: 9

    Australia
    Mensajes: 3
    Créditos: 67

    error 126 mt4


    Publi
    hola alguien sabe como solucionar este error ?? pone "cannot load metasetup .dll"
    gracias de antemano, me tiene desesperado
    Foro de Forex Trading United

  2. Publi
    Publi


  3. #2
    Avatar de josemasmax



    Reputación:
    Poder de reputación: 28

    Espana
    Mensajes: 1.522
    Créditos: 15.212

    Re: error 126 mt4


    Publi
    Cita Iniciado por soro111 Ver mensaje
    hola alguien sabe como solucionar este error ?? pone "cannot load metasetup .dll"
    gracias de antemano, me tiene desesperado
    hola soro, te pogo lo que comentaron por el mismo problema, espero que te sirve,(
    Not without a little work of your own ... try

    LoadLibrary & FreeLibrary found in Kernel32.dll


    so you would do something like this in Init()


    int hmod = LoadLibrary("c:MT4LibraryDirxxx.dll ");
    if (hmod != 0 ) FreeLibrary(hmod);
    else
    Alert("xxx.DLL cannot be loaded");


    Note we should free our loading of the DLL because MT4 will have already loaded it and windows maintains a counter of the number of times the DLL is loaded by an application instance. If you dont Free our call to loadlibrary then MT4 wont let the DLL Go when the EA ends. Although I must point out that MT4 cant be relied upon to free all Dll handles when an EA completes anyway but we should at least do what we should!


    Of course this only ensures that the DLL file exists and that it is a valid DLL it does not ensure that the functions defined in your import statement actually exist. For that you should use the function GetProcAddress()

    See the MSDN docs here )

    espero que te sea útil compañero, un cordial saludo.
    Foro de Forex Trading United

This website uses cookies
Utilizamos cookies propias y de terceros para elaborar información estadística y mostrarle publicidad personalizada a través del análisis de su navegación. Si continúa navegando acepta su uso. Más información y política de cookies.
     

 

Publi


Aviso Legal
Ley Orgánica 15/1999, de 13 de diciembre, de Protección de Datos de Carácter Personal