Sign in to follow this  
Followers 0
marabunta

Start Autoit Compiled exe from c++

2 posts in this topic

hello

my call from a c++ exe:

system("%temp%\\autoitfile.exe");

or

system("start \"\" %temp%\\autoitfile.exe");

wont run the autoit-file

can anyone help?

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

I'd personally use CreateProcess

you can try...

string Path = "start %temp%\\autoitfile.exe";
system(path.c_str());

If that is indeed the way of expanding variables.

Edited by JohnOne

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

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