Jump to content

Recommended Posts

Posted

 

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

Posted

I wanna  solve  this problem   ..so  I wrote  some simple c functions  and  generated a dll  file.     I tried to call these funcs  from the dll  with python and autoit  ....  

  • Moderators
Posted

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!

Posted (edited)

@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
  • Moderators
Posted

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!

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