Access Violation Error when changing the url

To add comments, please log in or register
Bilal Said
539
Bilal Said  

Hello,i've written a dll to upload file via webrequest for testing porpuses.


The dll is working fine when the url is LOCALHOST and i can see the uploaded data in my server folder.

When i change the link to test an api,using the same code,but changing only the URL i get :

 

my mql5 code is simple:

#import "IAIA.dll"
string get();
#import
void OnStart()
  {
Print(get());
  }


is there any reason that changing the URL could give us this error ?


Thank you !


obs: the dll works with any URL without error outside MT5

To add comments, please log in or register