I run it from the editor and also from windows exe file Both of them face with the problem I traced it and found the problem: In delphi XE4 string type is default to WideString, but in delphi 7 it is AnsiString I changed SetVarSin and GetAddr Functions Parameters (in sswin32 file) String--> AnsiStri...
So thanks, It worked. I have another problem, RouterOs.pas works with delphi 7, but when i run it with delphi XE4 it dousn't work I get error in RouterOs.Connect. it returns False and RouterOS.LastError returns: "Host not found" !!! i can ping the host and user pass are correct. furthermor...