Jump to content

Recommended Posts

Posted (edited)

Hi

 

Can anyone recommend me of methods for IPC between AutoIt and .NET?

Any infrastructure created in AutoIt that can be used?

 

Thank you

Edited by Zohar
Posted

You could use WM_COPYDATA, see signature for implementation in AutoIt and as for C#, I have seen something on StackOverflow.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted

Let me know how you implemented in C# in the end.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted
  On 9/28/2014 at 4:46 AM, Zohar said:

I might choose something else, like Stdin and Stdout

Why? Microsoft has 9 IPC mechanisms to choose from >> http://msdn.microsoft.com/en-us/library/windows/desktop/aa365574(v=vs.85).aspx

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted

One of those 9 guinness mentioned uses the Stdin and Stdout Zohar, more specifically redirecting them via named pipes, so if you want to use that, there are _NamedPipes* UDF's you can look at in the help file for AutoIt and look for some docs regarding C#.

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Posted (edited)
  On 9/28/2014 at 6:54 AM, guinness said:

Why? Microsoft has 9 IPC mechanisms to choose from >> http://msdn.microsoft.com/en-us/library/windows/desktop/aa365574(v=vs.85).aspx

Thank you for the link - very nice content.

The answer is: why switch to another method, if it only creates more hassle, without giving any additional advantage over Stdin and Stdout?

 

 

  On 9/28/2014 at 10:50 AM, JohnOne said:

One of those 9 guinness mentioned uses the Stdin and Stdout Zohar, more specifically redirecting them via named pipes, so if you want to use that, there are _NamedPipes* UDF's you can look at in the help file for AutoIt and look for some docs regarding C#.

 

Thank you JohnOne

Is there an dvantage in using the _NamedPipe* functions over simply Stdin and Stdout read and write functions?

(StdoutRead(), StdinWrite())

Edited by Zohar

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...