RE: unwanted DOS window

new topic     » topic index » view thread      » older message » newer message

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

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu