Jump to content

returning a BinaryString from A Plugin


Recommended Posts

Hi !

I am doing my first steps in C programming. I am currently playing around with the Plugin SDK and my tests do work fine so far. Now I would like to pass a BinaryString back to AutoIT but I can't get it to work. Could some of you C/C++ guys push me in the right direction ? I guess the SDK lacks a function like AU3_SetBinaryString or should this work with the current SDK as is ?

- Daniel

Link to comment
Share on other sites

There's not really a source code I could post. Maybe I was unclear. I just want to know if passing a 'BinaryString' to AutoIT from C is possible with the given Plugin-SDK functions or not. I don't want to try the impossible :)

When I use the AU3_SetString function from the sdk, the data I pass gets truncated at the position where the first zero occurs. So I assume the SDK needs a function like AU3_SetBinaryString before I can pass Binary Data to AutoIt. But again, I am doing my very first steps in C, so I may be wrong and it should work without another sdk function.

- Daniel

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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