Hola a todos, he creado una DLL que lee los datos en un documento de texto en el servidor y todo funciona correctamente.
Ahora quiero dividir la URL en la DLL y mover una parte de la ruta como un parámetro de entrada en mi código mql, pero no funciona.
Mi DLL es:
Código insertado extern C __declspec (dllexport) int main (std :: wstring Patc) std :: ofstream fout (Lc: \\ evaluation \\ _ test.htm); std :: wstring url = Lhttps:/misitio.com/p Parche; HINTERNET hopen = InternetOpen (LMyAppName, INTERNET_OPEN_TYPE_PRECONFIG, NULL, NULL, 0); debería (hopen) DWORD flags = INTERNET_FLAG_DONT_CACHE; if (url.find (Lhttps:/) == 0) flags devuelve 0;
Mi sugerencia Prueba Mql4 es:
Código insertado #import Dll1.dll int main (serie Patch); #import nt OnInit () Print (Serial :, main (Read.txt)); return (INIT_SUCCEEDED);