Community discussions

MikroTik App

Search found 4 matches

by esmit61
Wed Sep 25, 2013 1:18 pm
Forum: Scripting
Topic: Another RouterOS API Delphi Client
Replies: 150
Views: 86218

Re: Another RouterOS API Delphi Client

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...
by esmit61
Wed Sep 25, 2013 12:08 am
Forum: Scripting
Topic: Another RouterOS API Delphi Client
Replies: 150
Views: 86218

Re: Another RouterOS API Delphi Client

It works with delphi 7
but it can't conncet in delphi 2013 XE4
this error appears:
"Host not found"

could you help me please?
thanks
by esmit61
Sat Sep 21, 2013 11:25 pm
Forum: Scripting
Topic: Complete DELPHI API client: update 4
Replies: 69
Views: 51397

Re: Complete DELPHI API client: update 4

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...
by esmit61
Sun Sep 15, 2013 10:01 am
Forum: Scripting
Topic: Complete DELPHI API client: update 4
Replies: 69
Views: 51397

Re: Complete DELPHI API client: update 4

Hi,
I want to disconnect a vpn user (named "test") and send this command:
/ppp/active/remove =[find name=test]

but it doesn't disconnect :(
would you please help me how should i write the command?

Regards,
esmit