Jump to content

AU3_GetString


JoGa
 Share

Recommended Posts

Hi folks,

a reference to a string is handed over to a plugin like so:

au3:

Global $ptr = "myString"

getText($ptr)

In the plungin I try to get the string like so:

plugin.c

char *p;

p = AU3_GetString(&p_AU3_Params[0]):

However, I do not get the contens of the string.

Using

getText("myString")

works fine.

Any hints?

Link to comment
Share on other sites

Hi folks,

a reference to a string is handed over to a plugin like so:

au3:

Global $ptr = "myString"

getText($ptr)

In the plungin I try to get the string like so:

plugin.c

char *p;

p = AU3_GetString(&p_AU3_Params[0]):

However, I do not get the contens of the string.

Using

getText("myString")

works fine.

Any hints?

Oo - error, string is an array, please disregard.
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...