Jump to content

ask help: translate 3 line autoit3 to python


Recommended Posts

 

1.  the original function from dll  .


char *  combine (char * x ,char * y ){

    strcat(x ,y);
    return  x;
}

call this  in python  is easy 

x =ctypes.c_char_p("a".encode()) 

y = ctypes.c_char_p("b".encode())

c_char_p(dll.combine(x,y)).value

I how to do in autoit3

Link to comment
Share on other sites

  • Moderators

You have yet to answer Jos' question. How is this different from the last thread? Why python instead of pure AutoIt. Explain in detail what you are trying to accomplish so people can assist.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

@argumentum How is this gaming related?  

@fullheap Are you looking to call the dll function, or just replicate the string (character) concatenating function?

Edited by spudw2k
Link to comment
Share on other sites

  • Developers

@fullheap,

Do not open another topic before you properly answer the questions from the moderation team!
Merged.

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Moderators

And for the others commenting, you have two Moderators asking questions of the OP regarding the legitimacy of the thread. That should signal to you, even without it specifically being called out, to stay out of the thread for the time being.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

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...