Sign in to follow this  
Followers 0
JoGa

AU3_GetString

2 posts in this topic

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?

Share this post


Link to post
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.

Share this post


Link to post
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
Sign in to follow this  
Followers 0