RE: unwanted DOS window
lpcd at CYBER.NET.PK wrote:
> Wolf ne keha, 5/3/01 5:34 AM per, ke:
>
> > If you are using win32lib ver. 0.55.1, you could use something like the
> > following:
> >
> > object jk
> > sequence current
> > current=current_dir()
> > jk=shellExecuteEx("open","notepad.exe","LogFile",current,SW_SHOWNORMAL,0)
> >
> >
> > ... no DOS window here ! ...
> >
> >
> >
>
> This is great and works well. However, it appears to work at its own
> speed
> and independently of the process which called it. Is there any way of
> having
> my program wait until the shelled process is complete?
>
> Bruce.
>
You could try creating an event object with the win api.
That's used for synchronization, and the events are 'named'
using lpcstr's that can be passed to another process.
--Al
|
Not Categorized, Please Help
|
|