TIapko Posted October 3, 2008 Share Posted October 3, 2008 I make my first steps in Visual C++ and i read one book, after few chapters i saw one problem, this code doesn`t works correctly WinExec("pbrush.exe", SW_SHOW);az i start my program and click on button for this action nothing hapend, why ? Can you tell me other ways to start any aplication because they mentioned som functions but i have no idea how to work with them..My PC is 64bits Link to comment Share on other sites More sharing options...
Zedna Posted October 3, 2008 Share Posted October 3, 2008 Hey man this is AutoIt forum ;-) Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Andreik Posted October 3, 2008 Share Posted October 3, 2008 I make my first steps in Visual C++ and i read one book, after few chapters i saw one problem, this code doesn`t works correctly az i start my program and click on button for this action nothing hapend, why ? Can you tell me other ways to start any aplication because they mentioned som functions but i have no idea how to work with them.. My PC is 64bits In AutoIt: Run("pbrush.exe",@SystemDir,@SW_SHOW) When the words fail... music speaks. Link to comment Share on other sites More sharing options...
Valik Posted October 3, 2008 Share Posted October 3, 2008 Throw away that book, it must be older than hell. WinExec() is a carry-over function from the 16-bit era of Windows. Starting with Windows 95 it was superseded by CreateProcess(). Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now