Re: win32Lib and procedure free_console()
- Posted by ghaberek (admin) Aug 23, 2012
- 1275 views
I noticed you were peppering free_console() everywhere to try and alleviate the problem.
Just use shellExecute() instead. It's part of Win32Lib and should do exactly what you need.
shellExecute( "open", "exe2.exe", SW_SHOWNORMAL )
I tested your code with this method and the black cmd window went away.
-Greg