system() in Win32 without console window
- Posted by Andy Kurnia <akur at GAMERZ.NET> Mar 02, 1998
- 732 views
How to - delete a file (del) - rename a file (ren) - move a file/directory (move) - copy one or more files (copy) - make a directory (md) - change current directory (cd) - change current drive (x:) - remove a directory (rd) - and do other everyday MS-DOS commands from a Win32 program (in Euphoria 2.0 beta) withOUT having to get a console window as a result of system()? I can't think of a better way than doing each in inlined assembly poked to somewhere etc... but wait, isn't this unsafe under Win32? If it is, I don't exactly know how to make each assembly code, etc. (Mainly because I want to have the routines support long file names.) Can anyone help? I hate the flickering console window... (I need to call some dlls so I need it to be in win32... while Euphoria 2.0 alpha gave me *one* console window for the entire process, Euphoria 2.0 beta seems to give me one console window per system(), which closes automatically after each call, which causes flickers, which is annoying.)